Skip to main content

Linux Kernel EUVDEUVD-2026-59326

| CVE-2026-72427 HIGH
2026-08-15 Linux GHSA-6pxh-c54r-cxc3
7.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain BPF syscall access via CAP_BPF or unprivileged user namespace
  2. Delivery
    Attach BPF_F_PREORDER programs to cgroup hierarchy to create divergent array layout
  3. Exploit
    Trigger bpf_link_update() or program detach syscall
  4. Execution
    Miscalculated slot index causes use-after-free or effective array corruption
  5. Persist
    Heap shape freed memory region with controlled data
  6. Impact
    Overwrite kernel security structure to escalate privileges to root

Vulnerability Assessment

Exploitation Conditions

Exploitation requires local system access with the ability to invoke the bpf() syscall and attach programs to cgroups. This requires either CAP_BPF (or CAP_SYS_ADMIN on kernels predating fine-grained BPF capabilities), or an unprivileged user namespace with BPF access, which is enabled by default on Ubuntu (kernel.unprivileged_userns_clone=1) and some other distributions. The use-after-free path in purge_effective_progs() is triggered specifically when at least one BPF program has been attached with the BPF_F_PREORDER flag to a cgroup in the hierarchy - a non-default configuration that the attacker with BPF attachment access can create themselves. The slot-corruption path in replace_effective_prog() (triggered via bpf_link_update()) requires the same BPF_F_PREORDER layout precondition. No network access or remote vector exists; exploitation is strictly local. No user interaction is required once BPF attachment capability is obtained. Systems that disable BPF for unprivileged users and that have no workloads using BPF_F_PREORDER cgroup programs are not exposed to either vulnerability path.

Impact

The CVSS 3.1 score of 7.8 with vector AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H correctly identifies a high-severity local vulnerability, but several signals moderate the immediate operational risk. EPSS at 0.18% (7th percentile) indicates very low current exploitation probability, consistent with the recency of disclosure and the niche precondition. No CISA KEV entry and no public exploit code have been identified - exploitation is unconfirmed at time of analysis. The PR:L rating deserves scrutiny: on production hardened servers, BPF attachment to cgroups typically requires CAP_BPF or CAP_SYS_ADMIN, which is above the conventional 'low privilege' bar; however, on Ubuntu and other distributions with unprivileged user namespaces enabled (kernel.unprivileged_userns_clone=1), a standard user account can obtain BPF access within their namespace, making PR:L defensible in those environments. The UAF primitive is nonetheless a well-understood kernel exploitation primitive: controlled access to freed kernel memory in the BPF context can enable heap shaping and overwrite of security-sensitive kernel objects to achieve full privilege escalation. The slot-corruption path in replace_effective_prog() does not by itself create an immediate UAF but produces silent BPF policy corruption, which could be exploited to bypass cgroup-enforced security policies. Systems not using BPF_F_PREORDER cgroup attachments are not exposed to either code path.

Exploit ScenarioDerived

A local user on an Ubuntu server with unprivileged user namespaces enabled creates a user namespace, obtains BPF attachment capability within it, and attaches multiple BPF programs to a cgroup hierarchy using the BPF_F_PREORDER flag to set up the divergent array layout. The attacker then calls bpf_link_update() or detaches a program, triggering purge_effective_progs() to free a program's reference while a stale pointer remains in the effective array. The freed kernel memory is then reclaimed and overwritten via a heap shaping technique targeting an adjacent security-relevant kernel structure, ultimately achieving a privilege escalation to uid 0. No public proof-of-concept exploit has been identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 17, 2026

Use-after-free and effective program array corruption in the Linux kernel's BPF cgroup subsystem allow a local attacker with BPF attachment privileges to escalate to root via kernel memory corruption. The flaw in replace_effective_prog() and purge_effective_progs() miscalculates array slot positions when BPF_F_PREORDER programs are present in a cgroup hierarchy, causing purge_effective_progs() to zero the wrong slot and call bpf_prog_put() while a stale reference to the freed program remains in the array. With CVSS 7.8, EPSS at 0.18% (7th percentile), and no CISA KEV listing or public exploit identified at time of analysis, real-world risk is modulated by the non-default precondition of BPF_F_PREORDER cgroup program usage.

RemediationAI

Apply the vendor-released patch by upgrading to Linux 6.12.97 or later for systems on the 6.12 stable series, or to Linux 6.6.145 or later for systems on the 6.6 LTS series. Distributions maintaining their own kernel packages (RHEL, Ubuntu, SUSE, Debian) should be monitored for backported fixes; consult distribution security advisories at https://nvd.nist.gov/vuln/detail/CVE-2026-72427 for tracking. If immediate kernel update is not feasible, restrict BPF attachment capabilities by disabling unprivileged user namespaces via sysctl kernel.unprivileged_userns_clone=0 - this eliminates the PR:L exploitation vector but breaks rootless container tools such as Podman and Buildah and may affect browser sandboxing in Chrome and Firefox. Alternatively, deploy a seccomp profile or AppArmor/SELinux policy that blocks bpf() syscall for non-privileged users in sensitive workloads. Environments that do not use BPF_F_PREORDER cgroup program attachments are not exposed to the UAF path in purge_effective_progs(), though the slot-corruption in replace_effective_prog() can still silently corrupt cgroup BPF policy ordering without producing an immediate crash.

Affected VersionsENISA

Linux 555c0b713ca83968d3c843cb15485b9ba3367b1b <41b4320b84fdafe1ab586b06453d30d50415db59
Linux 6.12.31 <6.12.97
Linux patch: 6.12.97
Linux 4b82b181a26cff8bf7adc3a85a88d121d92edeaf <9697db03e010391c55ae75192cbdf30c5a72c114
Linux 6.6.93 <6.6.145
Linux 6.15
Linux patch: 0
Linux patch: 7.1.5
Linux patch: 6.18.40
Linux patch: 7.2-rc1
Linux 4b82b181a26cff8bf7adc3a85a88d121d92edeaf <f08aaee3152d0dfc578b3f2586932d82062701dd
Linux 6.14.9 <6.15
Linux patch: 6.6.145
Linux 4707ad649cf662add3058bff47430817811b048d
Linux 4b82b181a26cff8bf7adc3a85a88d121d92edeaf <b584f107ab90222bd825dcb4c5977326ff684109
Linux bc8023ef3b11410682e5d4990e05e5bc2d3e1c94 <525e408c27ae714e538b8c608c3a974df3ab6c92

Affected Packages

euvd linux fix: 6.6.145, 6.12.97, 6.15

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The Linux kernel BPF subsystem allows BPF programs to be attached to cgroups for network and system call filtering. The BPF_F_PREORDER attachment flag alters execution ordering: compute_effective_progs() places BPF_F_PREORDER entries at the front of the effective program array (ancestor-cgroup first, then in attach order within a cgroup), with non-preorder entries following (descendant-cgroup first). The buggy replace_effective_prog() and purge_effective_progs() functions determined each program's position by linearly walking the hlist and counting entries, an ordering that only matches the array layout when no BPF_F_PREORDER programs are present. When they are present, the linear hlist count diverges from the actual array index. For replace_effective_prog() (invoked by bpf_link_update()), this overwrites the wrong array slot, silently corrupting cgroup BPF execution order. For purge_effective_progs(), it zeros a slot belonging to a different program and then calls bpf_prog_put() on the detached program, dropping its reference count to zero while a live pointer to it persists in the effective array - a kernel use-after-free (UAF). The fix introduces an effective_prog_pos() helper that replays compute_effective_progs() placement logic and identifies attachments by struct bpf_prog_list pointer rather than (prog, link) tuple, resolving ambiguity when the same bpf_prog is attached to multiple cgroups. Affected CPE: cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*. No CWE was formally assigned, but the root cause maps to CWE-416 (Use After Free) for the purge path and CWE-682 (Incorrect Calculation) for the index logic.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Linux) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

AV:L and PR:L reflect local BPF syscall access obtainable via unprivileged user namespaces on default Ubuntu; C/I/A:H because kernel UAF enables arbitrary memory corruption and full privilege escalation.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE HIGH
Red Hat 7.0 MEDIUM

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Aug 17, 2026 - 06:22 NVD
7.8 (HIGH)
Patch available
Aug 15, 2026 - 07:20 EUVD
CVE Published
Aug 15, 2026 - 05:56 cve.org
HIGH 7.8
CVE Published
Aug 15, 2026 - 05:56 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

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

bpf: Fix effective prog array index with BPF_F_PREORDER

replace_effective_prog() and purge_effective_progs() located the slot in the effective array by walking the program hlist and counting entries linearly. That count does not match the array layout: compute_effective_ progs() places BPF_F_PREORDER programs at the front (ancestor cgroup first, attach order within a cgroup) and the rest after them (descendant cgroup first). So when a preorder program is present, the linear hlist position no longer equals the program's index in the effective array.

For replace_effective_prog() (bpf_link_update()) this overwrote the wrong slot, corrupting the effective order. For purge_effective_progs(), it could dummy out a slot belonging to a different program and leave the detached program in the array while bpf_prog_put() drops its reference, i.e. a use-after-free.

Fix both by replaying compute_effective_progs()'s placement (including the per-cgroup preorder reversal) in a shared effective_prog_pos() helper. Identify the entry by its struct bpf_prog_list pointer rather than by (prog, link) value, so the lookup resolves to exactly the attachment the syscall selected even when the same bpf_prog is attached to several cgroups in the hierarchy.

Executive ViewAI

Why It Matters

A high-severity Linux kernel privilege escalation in BPF cgroup program handling could enable local users with BPF attachment permissions to gain root access. Organizations using containerized workloads or advanced kernel BPF capabilities should prioritize evaluation of affected systems and deployment of the available patch to close this critical attack vector.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Ubiquitous
Linux kernel underpins virtually all server, cloud, and embedded production environments
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 16.0 Not-Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy