CVE-2026-64036CWE-125CWE-129

CVE-2026-64036

High · published July 19, 2026

CVSS v3.1
7.8
EPSS
0%
Percentile
2.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00129 · 2.3th percentile
Weaknesses
CWE-125 · Out-of-bounds Read; CWE-129 · Improper Validation of Array Index
Published
2026-07-19T20:17Z
Affected products (6)
ProductVersionsFixed in
linux/linux_kernel≥ 6.1, < 6.18.346.18.34
linux/linux_kernel≥ 6.19, < 7.0.117.0.11
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (5)
EPSS history
Timeline
  • 19 JUL 15:39Z
    cgroup/rstat: validate cpu before css_rstat_cpu() access
    cvelistv5