Re: [PATCH net] net/mana: Null service_wq on setup error to prevent double destroy
From: patchwork-bot+netdevbpf
Date: Wed Mar 11 2026 - 23:50:43 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Mon, 9 Mar 2026 10:24:43 -0700 you wrote:
> From: Shiraz Saleem <shirazsaleem@xxxxxxxxxxxxx>
>
> In mana_gd_setup() error path, set gc->service_wq to NULL after
> destroy_workqueue() to match the cleanup in mana_gd_cleanup().
> This prevents a use-after-free if the workqueue pointer is checked
> after a failed setup.
>
> [...]
Here is the summary with links:
- [net] net/mana: Null service_wq on setup error to prevent double destroy
https://git.kernel.org/netdev/net/c/87c2302813ab
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html