Re: [PATCH net] nfp: flower: fix use-after-free in neighbour update work
From: patchwork-bot+netdevbpf
Date: Wed Oct 28 2026 - 06:20:09 EST
Hello:
This patch was applied to netdev/net.git (main)
by Dave Miller <davem@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>:
On Sat, 24 Oct 2026 12:49:03 +0800 you wrote:
> The netevent notifier handles neighbour updates and redirects by
> queuing nfp_tun_neigh_update() on system_highpri_wq. Each work item
> holds a reference to the neighbour, but only stores a pointer to the
> flower app.
>
> During device removal, nfp_tunnel_config_stop() unregisters the
> notifier. This waits for notifier callbacks to return, but does not
> wait for the work they queued. The teardown then frees app->priv and
> app without waiting for these work items. Flushing cmsg_work in
> nfp_flower_clean() does not cover the neighbour update work.
>
> [...]
Here is the summary with links:
- [net] nfp: flower: fix use-after-free in neighbour update work
https://git.kernel.org/netdev/net/c/083aaafd453c
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html