Re: [PATCH 4.14 053/118] Revert "Revert "xfrm: Fix stack-out-of-bounds read in xfrm_state_find.""

From: Steffen Klassert
Date: Mon Jan 15 2018 - 08:23:48 EST


On Mon, Jan 15, 2018 at 01:34:40PM +0100, Greg Kroah-Hartman wrote:
> 4.14-stable review patch. If anyone has any objections, please let me know.
>
> ------------------
>
> From: "David S. Miller" <davem@xxxxxxxxxxxxx>
>
>
> This reverts commit 94802151894d482e82c324edf2c658f8e6b96508.
>
> It breaks transport mode when the policy template has
> wildcard addresses configured.
>
> Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>
> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

Hm, this seems to be one revert too much.

commit 94802151894d482e82c324edf2c658f8e6b96508 reverted already
the buggy commit. Reverting the revert will bring the bug back.