Re: [PATCH net v3] net: ngbe: fix NULL pointer dereference in non-MSI-X interrupt enabling
| Newsgroups | org.kernel.vger.netdev |
|---|---|
| Message-ID | <178644840589.486052.17588417592857890356.git-patchwork-notify@kernel.org> |
Hello: This patch was applied to netdev/net.git (main) by Paolo Abeni <[email protected]>: On Fri, 7 Aug 2026 14:22:14 +0800 you wrote: > In non-MSI-X mode (such as legacy INTx or single MSI), wx->msix_entry is > not allocated or initialized. Calling NGBE_INTR_MISC(wx) dereferences > wx->msix_entry->entry, leading to a NULL pointer dereference crash. > > This issue was introduced by fixing the IRQ vector when the number of > VFs is 7. Fix the issue by explicitly checking `pdev->msix_enabled` to > determine the correct vector index. > > [...] Here is the summary with links: - [net,v3] net: ngbe: fix NULL pointer dereference in non-MSI-X interrupt enabling https://git.kernel.org/netdev/net/c/5f3a13e0bb5e You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html