Description
In the Linux kernel, the following vulnerability has been resolved:

bpf: Preserve pointer spill metadata during half-slot cleanup

__clean_func_state() cleans dead stack slots in 4-byte halves. When the
high half of a STACK_SPILL slot is dead and the low half remains live,
cleanup converts the live low half to STACK_MISC or STACK_ZERO and clears
the saved spilled_ptr metadata.

That conversion is safe only for scalar spills. For a pointer spill, this
metadata clear lets a later 32-bit fill from the still-live half avoid the
normal non-scalar register-fill check and be treated as an ordinary scalar
stack read.

Leave non-scalar spill slots intact in this half-live shape. This is
conservative for pruning and preserves the existing
check_stack_read_fixed_off() rejection path for partial fills from pointer
spills.
Published: 2026-08-15
Score: 8.4 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability lies in the BPF stack cleanup logic within the Linux kernel. When a high half of a STACK_SPILL slot becomes dead while the low half stays live, the cleanup routine clears the saved spilled_ptr metadata. For pointer spills this clearing bypasses the normal scalar register‑fill check, allowing a 32‑bit fill from the still‑live half to be interpreted as a scalar stack read. Since this behavior is governed by improper pointer metadata handling, it is categorized as CWE‑843. The result is that a malicious BPF program can read kernel memory it should not see or force a kernel crash, leading to potential information disclosure and instability.

Affected Systems

Affected systems are Linux kernel builds that expose the bpf() system call. The advisory does not specify affected version numbers, so it is inferred that any kernel build prior to the commit that introduced the fix may contain this flaw unless the update has been applied. Users should assume kernels before the commit are potentially vulnerable if they have not installed the patch.

Risk and Exploitability

The flaw involves manipulation of kernel stack memory, which constitutes a high‑severity vector. The CVSS score of 8.4 highlights serious impact, while the EPSS score of < 1% indicates a very low likelihood of exploitation in the wild. The vulnerability is not listed in CISA’s KEV catalog. An attacker who can run a crafted eBPF program on the target system, which requires local or privileged access, could trigger the flaw to read protected kernel memory or destabilize the kernel. The likely attack vector is inferred to be a crafted BPF program that exploits the pointer spill cleanup bug, effectively bypassing the safety check to access out‑of‑bounds memory (CWE‑843) and potentially gaining unauthorized memory access. The overall risk remains significant for systems that allow untrusted BPF programs.

Generated by OpenCVE AI on August 22, 2026 at 03:28 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest kernel release that contains the BPF stack cleanup patch.
  • Enforce strict BPF program access controls, allowing only trusted users to load programs, which mitigates out‑of‑bounds reads (CWE‑843) and unauthorized memory access.
  • Continuously monitor kernel logs and audit BPF programs for anomalous memory accesses to detect any exploitation attempts.

Generated by OpenCVE AI on August 22, 2026 at 03:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 19 Aug 2026 00:15:00 +0000

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

None

threat_severity

Moderate


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

Type Values Removed Values Added
Weaknesses CWE-200
CWE-775

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

Type Values Removed Values Added
Metrics cvssV3_1

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


Sat, 15 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200
CWE-775

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: Preserve pointer spill metadata during half-slot cleanup __clean_func_state() cleans dead stack slots in 4-byte halves. When the high half of a STACK_SPILL slot is dead and the low half remains live, cleanup converts the live low half to STACK_MISC or STACK_ZERO and clears the saved spilled_ptr metadata. That conversion is safe only for scalar spills. For a pointer spill, this metadata clear lets a later 32-bit fill from the still-live half avoid the normal non-scalar register-fill check and be treated as an ordinary scalar stack read. Leave non-scalar spill slots intact in this half-live shape. This is conservative for pruning and preserves the existing check_stack_read_fixed_off() rejection path for partial fills from pointer spills.
Title bpf: Preserve pointer spill metadata during half-slot cleanup
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:06.105Z

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

Link: CVE-2026-72426

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-72426

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2026-72426 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T03:30:16Z

Weaknesses
  • CWE-843

    Access of Resource Using Incompatible Type ('Type Confusion')