Re: [PATCH net] bnge: Fix NULL pointer dereference in aux device release

[email protected] Tue, 04 Aug 2026 01:30:12 +0000
Newsgroups org.kernel.vger.netdev
Message-ID <178580701264.2908636.1557114995164267360.git-patchwork-notify@kernel.org>
Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <[email protected]>:

On Fri, 31 Jul 2026 12:22:59 -0700 you wrote:
> If allocation of auxr_dev fails during auxiliary device setup, the error
> path calls auxiliary_device_uninit(), which eventually invokes
> bnge_aux_dev_release().
> 
> The release callback unconditionally dereferences aux_priv->auxr_dev->pdev
> to retrieve the parent bnge_dev. Since auxr_dev has not yet been allocated
> on this failure path, the dereference results in a NULL pointer exception
> 
> [...]

Here is the summary with links:
  - [net] bnge: Fix NULL pointer dereference in aux device release
    https://git.kernel.org/netdev/net/c/1cb4298810e2

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