Re: [PATCH v2 0/3] xfrm/compat: syzbot-found fixes
From: Steffen Klassert
Date: Tue Nov 10 2020 - 01:36:09 EST
On Mon, Nov 02, 2020 at 04:14:44PM +0000, Dmitry Safonov wrote:
> 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 <steffen.klassert@xxxxxxxxxxx>
> Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
> Cc: Jakub Kicinski <kuba@xxxxxxxxxx>
> Cc: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
> Cc: Hillf Danton <hdanton@xxxxxxxx>
> Cc: netdev@xxxxxxxxxxxxxxx
>
> 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
Series applied, thanks a lot Dmitry!