CVE-2026-72426

Description

A flaw was found in the Linux kernel's Berkeley Packet Filter (BPF) subsystem. The __clean_func_state() function, which manages stack slot cleanup, incorrectly clears metadata for pointer spills. This allows a subsequent read from a partially live stack slot to bypass crucial non-scalar register-fill checks, treating a pointer as a scalar value. This vulnerability could lead to a security bypass, potentially enabling information disclosure or other memory corruption issues.

Statement

A moderate-impact flaw was found in the Linux kernel's Berkeley Packet Filter (BPF) verifier. The __clean_func_state() routine cleans dead stack slots in 4-byte halves; when the high half of a STACK_SPILL slot holding a pointer is dead and the low half remains live, the cleanup incorrectly clears the saved pointer-spill metadata. A subsequently loaded crafted BPF program can then perform a 32-bit read from the still-live half that bypasses the normal non-scalar register-fill check and is treated as an ordinary scalar stack read. This type confusion in the verifier is a security bypass that could allow an attacker with the ability to load BPF programs on a local system to cause information disclosure or memory corruption. Red Hat Product Security rates this flaw Moderate severity (CVSS 3.1 score 5.5; AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H), which is lower than the CVE.org score of 8.4 because exploitation requires local access and the privilege to load BPF programs, and Red Hat's scoring reflects availability impact only. The vulnerable code was introduced in a recent upstream kernel release and is not present in the kernel packages shipped in Red Hat Enterprise Linux 6, 7, 8, 9, and 10 or Red Hat In-Vehicle OS, so these products are not affected.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score5.5N/A8.4
Attack VectorLocalN/ALocal
Attack ComplexityLowN/ALow
Privileges RequiredLowN/ANone
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityNoneN/AHigh
Integrity ImpactNoneN/AHigh
Availability ImpactHighN/AHigh

Vector

Red Hat: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

cve.org: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Understanding the Weakness (CWE)

Other

Technical Impact: Varies by Context

When the product accesses the resource using an incompatible type, this could trigger logical errors because the resource does not have expected properties.

Availability,Integrity,Confidentiality

Technical Impact: Read Memory; Modify Memory; Execute Unauthorized Code or Commands; DoS: Crash, Exit, or Restart

If a memory buffer is accessed using an incompatible type, and the allocated buffer is smaller than the type that the code is attempting to access, then an attacker could read or write memory outside the bounds of the buffer, leading to a crash or possibly code execution.

Frequently Asked Questions

Want to get errata notifications? Sign up here.