Re: [PATCH net] net: wan: farsync: Fix use-after-free bugs caused by unfinished tasklets

From: patchwork-bot+netdevbpf

Date: Tue Feb 24 2026 - 04:42:39 EST


Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:

On Thu, 19 Feb 2026 20:46:37 +0800 you wrote:
> When the FarSync T-series card is being detached, the fst_card_info is
> deallocated in fst_remove_one(). However, the fst_tx_task or fst_int_task
> may still be running or pending, leading to use-after-free bugs when the
> already freed fst_card_info is accessed in fst_process_tx_work_q() or
> fst_process_int_work_q().
>
> A typical race condition is depicted below:
>
> [...]

Here is the summary with links:
- [net] net: wan: farsync: Fix use-after-free bugs caused by unfinished tasklets
https://git.kernel.org/netdev/net/c/bae8a5d2e759

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