Thread (3 messages) read the whole thread 3 messages, 3 authors, 5d ago

Re: [PATCH net] net: udp_tunnel: fix memory leak in udp_tunnel_nic_unregister()

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-07-28 11:40:40

Hello:

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

On Fri, 24 Jul 2026 09:11:37 +0000 you wrote:
syzbot reported a memory leak [1] in the UDP tunnel NIC offload code.

When device registration fails (e.g. in register_netdevice()), netdev core
unwinds by sending a single NETDEV_UNREGISTER notification. If work was queued
during NETDEV_REGISTER (utn->work_pending is set), udp_tunnel_nic_unregister()
returns early:

[...]
Here is the summary with links:
  - [net] net: udp_tunnel: fix memory leak in udp_tunnel_nic_unregister()
    https://git.kernel.org/netdev/net/c/080695e6f005

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