CVE-2026-64036

Source
https://cve.org/CVERecord?id=CVE-2026-64036
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64036.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-64036
Downstream
Published
2026-07-19T15:39:24.783Z
Modified
2026-07-22T05:29:43.196170132Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
cgroup/rstat: validate cpu before css_rstat_cpu() access
Details

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

cgroup/rstat: validate cpu before cssrstatcpu() access

cssrstatupdated() 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 CAPBPF and CAPPERFMON 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: cssrstatupdated bpfiterrunprog cgroupiterseqshow bpfseqread

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

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64036.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a319185be9f5ad13c2a296d448ac52ffe45d194c
Fixed
6a01413a4e8fcb0263d7bef5075c5f8f4eb3a8b6
Fixed
fd2bd9fa7700ddf28296486b2598cff2f80cc819
Fixed
8817005efbdfdf5d4e4814cb5dc52b53d12917d7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64036.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.1.0
Fixed
6.18.34
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.0.11

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64036.json"