Skip to content
Commit 4479ff76 authored by Steffen Klassert's avatar Steffen Klassert
Browse files

xfrm: Fix replay size checking on async events



We pass the wrong netlink attribute to xfrm_replay_verify_len().
It should be XFRMA_REPLAY_ESN_VAL and not XFRMA_REPLAY_VAL as
we currently doing. This causes memory corruptions if the
replay esn attribute has incorrect length. Fix this by passing
the right attribute to xfrm_replay_verify_len().

Reported-by: default avatarMichael Rossberg <michael.rossberg@tu-ilmenau.de>
Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
parent 73a695f8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment