Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski <kuba@xxxxxxxxxx>: On Thu, 4 Apr 2024 20:27:38 +0000 you wrote: > syzbot reported an illegal copy in xsk_setsockopt() [1] > > Make sure to validate setsockopt() @optlen parameter. > > [1] > > BUG: KASAN: slab-out-of-bounds in copy_from_sockptr_offset include/linux/sockptr.h:49 [inline] > BUG: KASAN: slab-out-of-bounds in copy_from_sockptr include/linux/sockptr.h:55 [inline] > BUG: KASAN: slab-out-of-bounds in xsk_setsockopt+0x909/0xa40 net/xdp/xsk.c:1420 > Read of size 4 at addr ffff888028c6cde3 by task syz-executor.0/7549 > > [...] Here is the summary with links: - [net] xsk: validate user input for XDP_{UMEM|COMPLETION}_FILL_RING https://git.kernel.org/netdev/net/c/237f3cf13b20 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html