Re: [PATCH net v3] net: x25: shut down T20 timer before freeing neighbour
From: patchwork-bot+netdevbpf
Date: Mon Nov 30 2026 - 22:00:23 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Willem de Bruijn <willemb@xxxxxxxxxx>:
On Wed, 25 Nov 2026 11:31:53 +0100 you wrote:
> x25_link_terminated() cancels the T20 restart timer with
> timer_delete(). If the callback is already running on another CPU, the
> cancel does not wait. The callback can then rearm the timer before
> x25_link_device_down() removes the neighbour and drops its last
> reference. This frees the neighbour while its embedded timer is active,
> leading to a use-after-free on expiry.
>
> [...]
Here is the summary with links:
- [net,v3] net: x25: shut down T20 timer before freeing neighbour
https://git.kernel.org/netdev/net-next/c/60c044ad1c45
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html