Re: [PATCH 0/3] xfrm/compat: syzbot-found fixes

From: Steffen Klassert
Date: Mon Nov 02 2020 - 03:21:31 EST


On Fri, Oct 30, 2020 at 02:25:57AM +0000, Dmitry Safonov wrote:
> 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

Can you please add 'Fixes' tags to all the patches.

Thanks!