Skip to main content

Linux Kernel CVE-2026-64036

| EUVDEUVD-2026-45609 HIGH
Improper Validation of Array Index (CWE-129)
2026-07-19 Linux GHSA-7cqc-fvgj-qm9h
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 CAP_BPF + CAP_PERFMON context
  2. Delivery
    Load BPF iter/cgroup program
  3. Exploit
    Call css_rstat_updated with cpu=0x7fffffff
  4. Execution
    Out-of-bounds per-cpu rstat access
  5. Impact
    Kernel memory corruption / DoS

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Array index validation
Exploitation Conditions

Exploitation requires a local context possessing BOTH CAP_BPF and CAP_PERFMON capabilities, which the attacker uses to load and run a BPF iter/cgroup program that calls the css_rstat_updated() kfunc directly. The concrete trigger is passing an invalid cpu argument (e.g., 0x7fffffff) that is not a valid possible CPU, causing an out-of-bounds per-cpu rstat array access in kernel/cgroup/rstat.c. Limiting factors: it is local-only (no network vector), requires the two elevated BPF/perf capabilities rather than being available to any unprivileged user, and the clearly demonstrated impact is a UBSAN-detected array-index-out-of-bounds (crash/corruption) rather than a proven privilege-escalation exploit; systems that deny CAP_BPF/CAP_PERFMON to untrusted workloads or disable unprivileged BPF are not exploitable by ordinary users.

Impact

The CVSS 3.1 base score of 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) reflects a local, low-complexity, low-privilege issue with high impact to all three of confidentiality, integrity and availability - consistent with in-kernel memory corruption. However, the CVSS PR:L understates the true barrier: the description states exploitation requires BOTH CAP_BPF and CAP_PERFMON, which are privileged capabilities not held by ordinary unprivileged users, so real-world attacker prerequisites are meaningfully higher than a generic PR:L suggests. Supporting signals argue for measured prioritization rather than emergency: EPSS is very low (0.17%, 6th percentile), the CVE is not in CISA KEV, and no public exploit code is identified. The most concrete confirmed effect is an array-index-out-of-bounds detected under UBSAN (i.e., a demonstrated crash/DoS primitive); whether it is reliably escalatable to code execution or privilege escalation is not established in the provided data. Net: a legitimate patch-worthy kernel bug, but low probability of widespread exploitation and gated behind capabilities that typically imply significant existing privilege.

Exploit ScenarioDerived

An attacker who has obtained a context with CAP_BPF and CAP_PERFMON (for example, a compromised monitoring agent or an over-privileged container) loads a BPF iter/cgroup program that calls the css_rstat_updated() kfunc with a crafted cpu value such as 0x7fffffff. The out-of-bounds per-cpu access corrupts or crashes kernel memory, yielding at minimum a denial of service and potentially a corruption primitive for further escalation. No public exploit is identified at time of analysis, and low CVSS attack complexity means the trigger itself is trivial once the required capabilities are held.

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 – Jul 20, 2026

Local privilege-context memory corruption in the Linux kernel's cgroup/rstat subsystem allows a process holding CAP_BPF and CAP_PERFMON to trigger an out-of-bounds array access by passing an unvalidated CPU index to the css_rstat_updated() BPF kfunc. Because the caller-supplied cpu argument is used for per-cpu rstat lookups without a possible-CPU bounds check, a value such as 0x7fffffff drives an array-index-out-of-bounds condition (confirmed on UBSAN kernels) inside kernel/cgroup/rstat.c. EPSS is low (0.17%, 6th percentile) and there is no public exploit identified at time of analysis; exploitation requires elevated BPF-related capabilities, which sharply narrows the realistic attacker set.

RemediationAI

Apply the vendor-released stable kernel update that includes the fix commits (6a01413a4e8fcb0263d7bef5075c5f8f4eb3a8b6, fd2bd9fa7700ddf28296486b2598cff2f80cc819, and 8817005efbdfdf5d4e4814cb5dc52b53d12917d7), available via the stable tree at https://git.kernel.org/stable/c/6a01413a4e8fcb0263d7bef5075c5f8f4eb3a8b6 and corresponding to fixed builds in the 6.18.34 / 7.0.x / 7.1 line - upgrade to your distribution's kernel package that incorporates these commits and reboot. Where immediate patching is not possible, the most effective compensating control is to restrict who can load BPF programs: withhold CAP_BPF and CAP_PERFMON from untrusted workloads and processes, and/or set kernel.unprivileged_bpf_disabled=1 (sysctl) so that only privileged contexts can reach the vulnerable kfunc - the trade-off is that legitimate monitoring/observability tooling relying on cgroup BPF iterators will lose functionality. Tightening container/pod security profiles (dropping these capabilities in seccomp/capability sets) achieves the same containment for orchestrated environments.

Affected VersionsENISA

Linux patch: 0
Linux patch: 7.1
Linux patch: 7.0.11
Linux a319185be9f5ad13c2a296d448ac52ffe45d194c <6a01413a4e8fcb0263d7bef5075c5f8f4eb3a8b6
Linux 6.1
Linux a319185be9f5ad13c2a296d448ac52ffe45d194c <8817005efbdfdf5d4e4814cb5dc52b53d12917d7
Linux patch: 6.18.34
Linux a319185be9f5ad13c2a296d448ac52ffe45d194c <fd2bd9fa7700ddf28296486b2598cff2f80cc819

Affected Packages

euvd linux no fix

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 vulnerability lives in the kernel's rstat (recursive statistics) machinery under kernel/cgroup/rstat.c, which aggregates per-cpu cgroup statistics. css_rstat_updated() is exported as a BPF kfunc and takes a caller-provided cpu argument that indexes into a per-cpu array (type 'long unsigned int [64]' in the reported trace). A BPF iter/cgroup program can invoke this kfunc directly; without validating that cpu refers to a valid possible CPU, the index is used raw, producing an out-of-bounds read/write into per-cpu structures. The root cause is a classic missing-bounds-validation on attacker-influenced input (an array-index-out-of-bounds / improper input validation class, effectively CWE-129-style, though the feed lists CWE as N/A and tags it loosely as 'Buffer Overflow'). The fix adds cpu validation to the BPF-facing kfunc and refactors the shared logic into __css_rstat_updated() for trusted in-kernel callers that do not need the check.

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 5.6 MEDIUM

Local trigger needing CAP_BPF+CAP_PERFMON justifies PR:H; demonstrated impact is primarily a crash (A:H) with limited proven C/I corruption, so C:L/I:L.

3.1 AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:H
4.0 AV:L/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
SUSE HIGH
Red Hat 5.5 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
Jul 20, 2026 - 15:22 NVD
7.8 (HIGH)
Patch available
Jul 19, 2026 - 17:03 EUVD
CVE Published
Jul 19, 2026 - 15:39 cve.org
HIGH 7.8
CVE Published
Jul 19, 2026 - 15:39 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

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

cgroup/rstat: validate cpu before css_rstat_cpu() access

css_rstat_updated() is exposed as a BPF kfunc and accepts a caller-provided cpu argument. The function uses cpu for per-cpu rstat lookups without checking whether it refers to a valid possible CPU.

A BPF iter/cgroup program with CAP_BPF and CAP_PERFMON can pass an invalid cpu value. On an unfixed UBSCAN_BOUNDS test kernel, cpu == 0x7fffffff triggers:

UBSAN: array-index-out-of-bounds in kernel/cgroup/rstat.c:31:9 index 2147483647 is out of range for type 'long unsigned int [64]' Call Trace: css_rstat_updated bpf_iter_run_prog cgroup_iter_seq_show bpf_seq_read

Add cpu validation to the BPF-facing css_rstat_updated() kfunc and move the common implementation to __css_rstat_updated() for in-kernel callers.

Executive ViewAI

Why It Matters

A memory corruption vulnerability in the Linux kernel's cgroup/rstat subsystem (CVE-2026-64036, CVSS 7.8) poses a local privilege-escalation risk to systems where BPF (Berkeley Packet Filter) capabilities are enabled. The vulnerability requires elevated kernel capabilities (CAP_BPF and CAP_PERFMON) that are rarely granted in standard deployments, substantially limiting exploitation likelihood. Vendor patch is available and should be prioritized for systems with these capabilities enabled.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Ubiquitous
Linux kernel underlies a huge fraction of servers, cloud, and devices
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

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Vendor StatusVendor

SUSE

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

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