medium5.5
CVE-2026-46188
In the Linux kernel, the following vulnerability has been resolved: octeon_ep_vf: add NULL check for napi_build_skb() napi_build_skb() can return NULL on alloc…
Impact
In the Linux kernel, the following vulnerability has been resolved: octeon_ep_vf: add NULL check for napi_build_skb() 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. Add NULL checks after both napi_build_skb() calls, properly advancing descriptors and consuming remaining fragments on failure.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Linux | Linux Kernel | from 6.9 before 6.12.88 from 6.13 before 6.18.30 from 6.19 before 7.0.7 |
Weakness classification
References
- NVD record
- CVE.org record
- https://git.kernel.org/stable/c/60246cdd4c515ea7d920cddf48932efcb990773e
- https://git.kernel.org/stable/c/6fef6640bbf360e254cc0174365ed30ce3a07572
- https://git.kernel.org/stable/c/b0f4711b426a06fb4c4be85c36b9f5588d5140d3
- https://git.kernel.org/stable/c/dd66b42854705e4e4ee7f14d260f86c578bed3e3