[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<171238382921.24936.7626242183115948286.git-patchwork-notify@kernel.org>
Date: Sat, 06 Apr 2024 06:10:29 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Eric Dumazet <edumazet@...gle.com>
Cc: davem@...emloft.net, kuba@...nel.org, pabeni@...hat.com,
netdev@...r.kernel.org, eric.dumazet@...il.com, syzkaller@...glegroups.com,
bjorn@...nel.org, magnus.karlsson@...el.com, maciej.fijalkowski@...el.com,
jonathan.lemon@...il.com, bpf@...r.kernel.org
Subject: Re: [PATCH net] xsk: validate user input for
XDP_{UMEM|COMPLETION}_FILL_RING
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
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
Powered by blists - more mailing lists