CVE-2026-72423

bpf: Guard conntrack opts error writes

Published Aug 15, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

bpf: Guard conntrack opts error writes

The conntrack lookup and allocation kfuncs take an opts pointer
together with an opts__sz argument. The verifier checks only the memory
range described by opts__sz, but the wrappers unconditionally write
opts->error whenever the internal lookup or allocation helper returns an
error.

For an invalid size smaller than the end of opts->error, that write can
land outside the verifier-checked range. Keep returning NULL for invalid
arguments, but only report the error through opts->error when the
supplied size includes the field.

This preserves error reporting for the supported 12-byte and 16-byte
layouts, and for other invalid sizes that still include opts->error.

Analysis

AI-generated

Technical impact

The vulnerability occurs in the BPF conntrack helper functions of the Linux kernel, where the code accepts an opts pointer and a size argument but only verifies the memory range defined by the size. After finding an error, the implementation writes to opts->error regardless of whether the provided size includes that field. For sizes that are smaller than the offset of opts->error, this write can occur outside the verifier‑checked range, corrupting kernel memory. The effect is an out‑of‑bounds write that may overwrite critical kernel data structures and potentially enable privilege escalation or cause system instability.

Affected Systems

All Linux kernel versions that contain the unpatched BPF conntrack helper code are affected. The issue is present before the patch that guarded writes to opts->error, regardless of the supported 12‑byte or 16‑byte layout. No specific kernel version range is given, so any kernel build that uses these helpers without the recent fix is considered vulnerable.

Risk and Exploitability

The CVSS score is 8.8 and the EPSS score is < 1%, while the vulnerability is not yet in the CISA KEV catalog. The impact of corrupting kernel memory is severe, as it may lead to privilege escalation or denial of service. The likely attack vector is local or through privileged user‑space processes that can execute BPF programs or invoke the affected conntrack helpers, given the code operates in kernel space. Because the bug involves a memory write that is controlled by user‑supplied arguments, an attacker who can provide crafted input could trigger the corruption; however, the existence of an active exploit is not confirmed. Nonetheless, the potential for exploitation remains high due to the nature of the memory corruption.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the vendor patch that fixes the out‑of‑bounds write in the BPF conntrack helper.
  • Restrict BPF program execution to trusted users only, ensuring non‑privileged users lack CAP_SYS_ADMIN or are limited by Linux capabilities, to mitigate potential exploitation.
  • If no patched kernel is available, disable BPF or conntrack helper functionality on systems that do not require it, or set system limits to block untrusted BPF programs, thereby reducing exposure.

Generated by OpenCVE AI on August 18, 2026 at 14:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4904-1 linux-6.12 security update
Debian DLA Debian DLA DLA-4906-1 linux security update
Ubuntu USN Ubuntu USN USN-8887-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8889-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-2 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9003-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9043-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9173-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9175-1 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-9173-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9183-1 Linux kernel (FIPS) vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Weaknesses CWE-787
Type Values Removed Values Added
Metrics cvssV3_1

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

Type Values Removed Values Added
Weaknesses CWE-787
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: bpf: Guard conntrack opts error writes The conntrack lookup and allocation kfuncs take an opts pointer together with an opts__sz argument. The verifier checks only the memory range described by opts__sz, but the wrappers unconditionally write opts->error whenever the internal lookup or allocation helper returns an error. For an invalid size smaller than the end of opts->error, that write can land outside the verifier-checked range. Keep returning NULL for invalid arguments, but only report the error through opts->error when the supplied size includes the field. This preserves error reporting for the supported 12-byte and 16-byte layouts, and for other invalid sizes that still include opts->error.
Title bpf: Guard conntrack opts error writes
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
Oct 30, 2026, 12:29 PM
Reserved
Aug 9, 2026, 3:40 AM
Status
Received
Published
Aug 15, 2026, 6:22 AM
Modified
Oct 30, 2026, 1:19 PM
Severity
Moderate
Public date
Aug 15, 2026, 12:00 AM