Re: [PATCH] nfc: hci: shdlc: Stop timers and work before freeing context

From: patchwork-bot+netdevbpf

Date: Thu Feb 05 2026 - 22:00:21 EST


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Tue, 3 Feb 2026 14:31:57 +0300 you wrote:
> llc_shdlc_deinit() purges SHDLC skb queues and frees the llc_shdlc
> structure while its timers and state machine work may still be active.
>
> Timer callbacks can schedule sm_work, and sm_work accesses SHDLC state
> and the skb queues. If teardown happens in parallel with a queued/running
> work item, it can lead to UAF and other shutdown races.
>
> [...]

Here is the summary with links:
- nfc: hci: shdlc: Stop timers and work before freeing context
https://git.kernel.org/netdev/net/c/c9efde1e537b

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html