Skip to content

xfrm/compat: syzbot-found fixes

Dmitry Safonov lkml netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyIn review
  2. v13 patches 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3xfrm/compat: Translate by copying XFRMA_UNSPEC attributenet/xfrm/xfrm_compat.c+1 -00 replies
2/3xfrm/compat: memset(0) 64-bit padding at right placenet/xfrm/xfrm_compat.c+1 -10 replies
3/3xfrm/compat: Don't allocate memory with __GFP_ZEROnet/xfrm/xfrm_compat.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] xfrm/compat: syzbot-found fixes

v2: Added "Fixes" tags to the patches.

WARN_ON() for XFRMA_UNSPEC translation which likely no-one except syzkaller uses; properly zerofy tail-padding for 64-bit attribute; don't use __GFP_ZERO as the memory is initialized during translation.

Cc Steffen Klassert <[email protected]>
Cc "David S. Miller" <[email protected]>
Cc Jakub Kicinski <[email protected]>
Cc Herbert Xu <[email protected]>
Cc Hillf Danton <[email protected]>

Thanks,
Dmitry

Dmitry Safonov (3):
xfrm/compat: Translate by copying XFRMA_UNSPEC attribute xfrm/compat: memset(0) 64-bit padding at right place xfrm/compat: Don't allocate memory with __GFP_ZERO

 net/xfrm/xfrm_compat.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

base-commit: 3cea11cd5e3b00d91caf0b4730194039b45c5891

Signature · 1 line
2.28.0