octeon_ep_vf: add NULL check for napi_build_skb()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.18.30, Kernel 7.0.7, Kernel 6.12.88 and 4 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6.13 <6.18.30, >=6.19 <7.0.7, >=6.9 <6.12.88, >=1cd3b407977c3ab1d2ddc26cb7113e7fb1509cd1 <6fef6640bbf360e254cc0174365ed30ce3a07572, >=1cd3b407977c3ab1d2ddc26cb7113e7fb1509cd1 <b0f4711b426a06fb4c4be85c36b9f5588d5140d3, >=1cd3b407977c3ab1d2ddc26cb7113e7fb1509cd1 <dd66b42854705e4e4ee7f14d260f86c578bed3e3, =6.9, >=1cd3b407977c3ab1d2ddc26cb7113e7fb1509cd1 <60246cdd4c515ea7d920cddf48932efcb990773e | 6.18.30, 7.0.7, 6.12.88, 6fef6640bbf360e254cc0174365ed30ce3a07572, b0f4711b426a06fb4c4be85c36b9f5588d5140d3, dd66b42854705e4e4ee7f14d260f86c578bed3e3, 60246cdd4c515ea7d920cddf48932efcb990773e |
| linux-kernel: Kernel | >=6.13.0 <6.18.30, >=6.19.0 <7.0.7, >=6.9.0 <6.12.88 | 6.18.30, 7.0.7, 6.12.88 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket