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.
Published: 2026-08-15
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

No advisories yet.

History

Tue, 18 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-787
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 17 Aug 2026 16:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-787

Mon, 17 Aug 2026 06:00:00 +0000

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'}


Sat, 15 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-787

Sat, 15 Aug 2026 06:00:00 +0000

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

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T05:44:03.898Z

Reserved: 2026-08-09T03:40:39.928Z

Link: CVE-2026-72423

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:22:16.117

Modified: 2026-08-17T06:19:09.550

Link: CVE-2026-72423

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-72423 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T14:45:03Z

Weaknesses