Thread (14 messages) flat view 14 messages, 7 authors, 2024-07-29

Re: [PATCH net] tun: Add missing bpf_net_ctx_clear() in do_xdp_generic()

From: patchwork-bot+netdevbpf@kernel.org
Date: 2024-07-29 10:08:06
Also in: bpf, lkml

Hello:

This patch was applied to netdev/net.git (main)
by David S. Miller [off-list ref]:

On Fri, 26 Jul 2024 06:40:49 +0900 you wrote:
There are cases where do_xdp_generic returns bpf_net_context without
clearing it. This causes various memory corruptions, so the missing
bpf_net_ctx_clear must be added.

Reported-by: syzbot+44623300f057a28baf1e@syzkaller.appspotmail.com
Fixes: fecef4cd42c6 ("tun: Assign missing bpf_net_context.")
Signed-off-by: Jeongjun Park <redacted>

[...]
Here is the summary with links:
  - [net] tun: Add missing bpf_net_ctx_clear() in do_xdp_generic()
    https://git.kernel.org/netdev/net/c/9da49aa80d68

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help