Re: [PATCH v2] net/ncsi: Disable the ncsi work before freeing the associated structure

From: patchwork-bot+netdevbpf
Date: Thu Oct 03 2024 - 04:21:30 EST


Hello:

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

On Wed, 25 Sep 2024 10:55:23 -0500 you wrote:
> The work function can run after the ncsi device is freed, resulting
> in use-after-free bugs or kernel panic.
>
> Fixes: 2d283bdd079c ("net/ncsi: Resource management")
> Signed-off-by: Eddie James <eajames@xxxxxxxxxxxxx>
> ---
> Changes since v1:
> - Use disable_work_sync instead of cancel_work_sync
>
> [...]

Here is the summary with links:
- [v2] net/ncsi: Disable the ncsi work before freeing the associated structure
https://git.kernel.org/netdev/net/c/a0ffa68c70b3

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