Description
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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
1cd3b407977c3ab1d2ddc26cb7113e7fb1509cd1 to < 60246cdd4c515ea7d920cddf48932efcb990773eaffected1cd3b407977c3ab1d2ddc26cb7113e7fb1509cd1 to < b0f4711b426a06fb4c4be85c36b9f5588d5140d3affected1cd3b407977c3ab1d2ddc26cb7113e7fb1509cd1 to < 6fef6640bbf360e254cc0174365ed30ce3a07572affected1cd3b407977c3ab1d2ddc26cb7113e7fb1509cd1 to < dd66b42854705e4e4ee7f14d260f86c578bed3e3affected
Linux Linux
Default version status: affected
6.9affected0 to < 6.9unaffected6.12.88 to ≤ 6.12.*unaffected6.18.30 to ≤ 6.18.*unaffected7.0.7 to ≤ 7.0.*unaffected7.1 to ≤ *unaffected