Thread (3 messages) 3 messages, 3 authors, 2026-03-12

Re: [PATCH net] net/mana: Null service_wq on setup error to prevent double destroy

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-03-12 03:50:15
Also in: linux-rdma, lkml

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski [off-list ref]:

On Mon,  9 Mar 2026 10:24:43 -0700 you wrote:
From: Shiraz Saleem <redacted>

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help