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

bpf: Tighten cgroup storage cookie checks for prog arrays

The fix in commit abad3d0bad72 ("bpf: Fix oob access in cgroup local
storage") is still incomplete. The prog-array compatibility check
treats a program with no cgroup storage as compatible with any stored
storage cookie. This allows a storage-less program to bridge a tail
call chain between an entry program and a storage-using callee even
though cgroup local storage at runtime still follows the caller's
context, that is, A -> B(no storage) -> C(storage) path.

Requiring exact cookie equality would break the legitimate case of a
storage-less leaf program being tail called from a storage-using one.
Instead, only accept a zero storage cookie if the program cannot
perform tail calls itself. This keeps A -> B(no storage) working
while rejecting the A -> B(no storage) -> C(storage) bridge.
Published: 2026-08-15
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability originates from an incomplete check within the Linux kernel’s BPF subsystem. The check that validates a program’s compatibility with the cgroup local storage cookie incorrectly treats a program that has no cgroup storage as compatible with any storage cookie. This defect permits a storage‑less BPF program to appear as a legitimate intermediary in a tail‑call chain that links an entry program to a program that expects to run within a cgroup storage context. Because the kernel later executes the callee in the caller’s cgroup context, the chain can cross contexts in a way that was not intended. The flaw thus enables the execution of a BPF program under a cgroup layout that does not match its declared state, potentially breaking isolation guarantees.

Affected Systems

The weakness is present in any Linux kernel prior to the inclusion of commit abad3d0bad72. It is not vendor‑specific; every distribution shipping a kernel version that lacks this commit is affected. The vulnerability affects the core BPF subsystem and the handling of program arrays and does not involve user‑space configuration or third‑party modules.

Risk and Exploitability

The vendor’s CVSS score of 7.8 indicates substantial impact; the very low EPSS score (<1%) suggests that exploitation is not common yet. The vulnerability is not listed in the CISA KEV catalog, implying no publicly known exploits. Based on the description, it is inferred that an attacker would need the ability to load or replace BPF programs—typically via privilege escalation or local access—to exploit the logic error and execute BPF code in a cgroup context different from its intended one. The exploit would rely on tail‑call chaining across storage states, a restricted operation that the kernel mistakenly permits.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update to a kernel that contains commit abad3d0bad72 or later.
  • Disable or restrict the BPF tail‑call mechanism to prevent untrusted programs from chaining until the fix is deployed.
  • Apply stricter access controls to BPF program loading, ensuring that only trusted users or processes can load programs that do not meet the correct cgroup storage criteria.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 22 Aug 2026 01:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-665
CWE-730

Thu, 20 Aug 2026 00:15:00 +0000

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

None

threat_severity

Moderate


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

Type Values Removed Values Added
Metrics cvssV3_1

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


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

Type Values Removed Values Added
Weaknesses CWE-665
CWE-730

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

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: bpf: Tighten cgroup storage cookie checks for prog arrays The fix in commit abad3d0bad72 ("bpf: Fix oob access in cgroup local storage") is still incomplete. The prog-array compatibility check treats a program with no cgroup storage as compatible with any stored storage cookie. This allows a storage-less program to bridge a tail call chain between an entry program and a storage-using callee even though cgroup local storage at runtime still follows the caller's context, that is, A -> B(no storage) -> C(storage) path. Requiring exact cookie equality would break the legitimate case of a storage-less leaf program being tail called from a storage-using one. Instead, only accept a zero storage cookie if the program cannot perform tail calls itself. This keeps A -> B(no storage) working while rejecting the A -> B(no storage) -> C(storage) bridge.
Title bpf: Tighten cgroup storage cookie checks for prog arrays
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:45:39.394Z

Reserved: 2026-08-15T05:44:03.882Z

Link: CVE-2026-74305

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-74305

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2026-74305 - Bugzilla

cve-icon OpenCVE Enrichment

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

Weaknesses
  • CWE-358

    Improperly Implemented Security Check for Standard