All reports
Medium

kernel: octeon_ep_vf: add NULL check for napi_build_skb()

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-46188

Probability of exploitation in the next 30 days: 0.13%

FIRST EPSS · 2026-11-19

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.

A flaw was found in the Linux kernel. Specifically, within the octeon_ep_vf driver, the __octep_vf_oq_process_rx() function fails to check for a NULL return value from napi_build_skb() during memory allocation. This oversight can lead to a NULL pointer dereference, allowing a local attacker to potentially cause a denial of service by crashing the system.