Re: [PATCH net v2 0/2] octeon_ep_vf: fix napi_build_skb() NULL dereference

From: patchwork-bot+netdevbpf

Date: Mon Apr 13 2026 - 18:52:20 EST


Hello:

This series was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Thu, 9 Apr 2026 19:40:07 +0100 you wrote:
> napi_build_skb() can return NULL on allocation failure. In
> __octep_vf_oq_process_rx(), the result is used directly without a
> NULL check in both the single-buffer and multi-fragment paths,
> leading to a NULL pointer dereference.
>
> Patch 1 introduces a helper to deduplicate the ring index advance
> pattern, patch 2 adds the actual NULL checks.
>
> [...]

Here is the summary with links:
- [net,v2,1/2] octeon_ep_vf: introduce octep_vf_oq_next_idx() helper
https://git.kernel.org/netdev/net/c/4e5bc3ff060e
- [net,v2,2/2] octeon_ep_vf: add NULL check for napi_build_skb()
https://git.kernel.org/netdev/net/c/dd66b4285470

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