summaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_user.c
diff options
context:
space:
mode:
authorAntony Antony <antony@phenome.org>2017-12-07 21:54:27 +0100
committerSteffen Klassert <steffen.klassert@secunet.com>2017-12-08 07:39:30 +0100
commit75bf50f4aaa1c78d769d854ab3d975884909e4fb (patch)
tree70ac8bc601abebba2d004cf27e91830fbaf7401f /net/xfrm/xfrm_user.c
parentxfrm: Fix stack-out-of-bounds read on socket policy lookup. (diff)
downloadlinux-75bf50f4aaa1c78d769d854ab3d975884909e4fb.tar.xz
linux-75bf50f4aaa1c78d769d854ab3d975884909e4fb.zip
xfrm: fix xfrm_do_migrate() with AEAD e.g(AES-GCM)
copy geniv when cloning the xfrm state. x->geniv was not copied to the new state and migration would fail. xfrm_do_migrate .. xfrm_state_clone() .. .. esp_init_aead() crypto_alloc_aead() crypto_alloc_tfm() crypto_find_alg() return EAGAIN and failed Signed-off-by: Antony Antony <antony@phenome.org> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/xfrm/xfrm_user.c')
0 files changed, 0 insertions, 0 deletions