Thread (4 messages) flat view 4 messages, 4 authors, 27d ago

Re: [PATCH net] vxlan: mdb: Fix use-after-free in vxlan_mdb_flush()

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-08-18 10:00:54
Also in: lkml

Hello:

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

On Sat, 15 Aug 2026 00:35:47 +0900 you wrote:
vxlan_mdb_flush() iterates over the MDB entries using
hlist_for_each_entry_safe(), which only tolerates the removal of the
current entry. Contrary to the comment above the loop, the removal of an
entry can trigger the removal of another entry.

Flushing the remotes of a (*, G) entry also removes the (S, G) entries
that were created for its source list, once they are left without
remotes:

[...]
Here is the summary with links:
  - [net] vxlan: mdb: Fix use-after-free in vxlan_mdb_flush()
    https://git.kernel.org/netdev/net/c/bc2dc66a6693

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