# 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 
- List: netdev
- Page: https://ratatoskr.run/netdev/2026/08/17428135
- Thread: https://ratatoskr.run/netdev/2026/08/17413511/t.md

```text
Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni [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


```
