Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 1cd3b407977c3ab1d2ddc26cb7113e7fb1509cd1 before 60246cdd4c515ea7d920cddf48932efcb990773e; affected 1cd3b407977c3ab1d2ddc26cb7113e7fb1509cd1 before b0f4711b426a06fb4c4be85c36b9f5588d5140d3; affected 1cd3b407977c3ab1d2ddc26cb7113e7fb1509cd1 before 6fef6640bbf360e254cc0174365ed30ce3a07572; affected 1cd3b407977c3ab1d2ddc26cb7113e7fb1509cd1 before dd66b42854705e4e4ee7f14d260f86c578bed3e3 |
| Linux / Linux | affected 6.9; unaffected 0 before 6.9; unaffected 6.12.88 through 6.12.*; unaffected 6.18.30 through 6.18.*; unaffected 7.0.7 through 7.0.*; unaffected 7.1 through * |
CWE
No CWE identifiers supplied.