Re: [PATCH net v2] net: davicom: fix UAF in dm9000_drv_remove
From: patchwork-bot+netdevbpf
Date: Mon Jan 27 2025 - 18:11:05 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Thu, 23 Jan 2025 15:42:13 -0600 you wrote:
> This bug is detected by our static analysis tool.
>
> dm is netdev private data and it cannot be
> used after free_netdev() call. Using dm after free_netdev()
> can cause UAF bug. Fix it by moving free_netdev() at the end of the
> function.
>
> [...]
Here is the summary with links:
- [net,v2] net: davicom: fix UAF in dm9000_drv_remove
https://git.kernel.org/netdev/net/c/19e65c45a150
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html