CVE-2026-46188

octeon_ep_vf: add NULL check for napi_build_skb()

Published May 28, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The octeon_ep_vf receive function fails to check the return value of napi_build_skb(); when the network stack passes a packet to the driver, the helper can return NULL on an allocation failure. The driver then dereferences this pointer without validation, causing a kernel null pointer dereference that crashes the system. This flaw directly compromises kernel stability.

Affected Systems

The vulnerability resides in the octeon_ep_vf driver that ships with the mainline Linux kernel. Any distribution that includes this driver for Octeon EP virtual functions is affected. Vulnerable kernel builds are those that do not include the patch referenced in the commit logs; specific version numbers are not listed but all pre‑patch releases carry the flaw.

Risk and Exploitability

The CVSS score of 5.5 indicates a medium severity for a NULL pointer dereference that could lead to a kernel crash. With an EPSS score of less than 1% and no listing in CISA KEV, the exploitation likelihood is low, but the impact remains that, based on the description, it is inferred that a remote attacker could trigger a kernel panic by sending crafted packets to the octeon_ep_vf NIC without privileged access. Therefore, the overall risk is moderate, especially for systems exposing these virtual functions.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the commit adding NULL checks to napi_build_skb() in octeon_ep_vf.
  • If an immediate kernel update is not possible, disable the octeon_ep_vf driver or disconnect the associated OEM NICs to remove the vulnerable code path from operation.
  • Enable kernel crash dumping (kdump) and monitor dmesg for Oops messages; verify that the patched kernel no longer logs null-pointer dereference crashes when traffic is directed to the device.

Generated by OpenCVE AI on May 29, 2026 at 03:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8566-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8568-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8569-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8663-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8664-1 Linux kernel (NVIDIA BaseOS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-3 Linux kernel (Oracle) vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-476
Type Values Removed Values Added
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.
Title octeon_ep_vf: add NULL check for napi_build_skb()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 6, 2026, 4:13 PM
Reserved
May 13, 2026, 3:03 PM
Status
Analyzed
Published
May 28, 2026, 10:16 AM
Modified
Nov 6, 2026, 5:17 PM
Severity
Moderate
Public date
May 28, 2026, 12:00 AM