CVE-2026-64036
cgroup/rstat: validate cpu before css_rstat_cpu() access
Check your servers for CVE-2026-64036
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-64036 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 4.21% of all scored CVEs. Scores of 30 Nov 2026.
The assessment of CISA (SSVC, 16 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-125 Out-of-bounds Read
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from a319185be9f5ad13c2a296d448ac52ffe45d194c, before ee5afb74688aa6f1f16d8c7e7b6bfaf803fb62fc affected from a319185be9f5ad13c2a296d448ac52ffe45d194c, before b28b862b07257219755d0b0a7fbe5d23b7c9ea91 affected from a319185be9f5ad13c2a296d448ac52ffe45d194c, before 3d595affbe00a2e8bf43b9f2947a8efcdc1c059e affected from a319185be9f5ad13c2a296d448ac52ffe45d194c, before 6a01413a4e8fcb0263d7bef5075c5f8f4eb3a8b6 affected from a319185be9f5ad13c2a296d448ac52ffe45d194c, before fd2bd9fa7700ddf28296486b2598cff2f80cc819 affected from a319185be9f5ad13c2a296d448ac52ffe45d194c, before 8817005efbdfdf5d4e4814cb5dc52b53d12917d7
Other versions: unaffected
|
| Linux |
affected 6.1 unaffected before 6.1 unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.160 up to and including 6.6.* unaffected from 6.12.114 up to and including 6.12.* unaffected from 6.18.34 up to and including 6.18.* unaffected from 7.0.11 up to and including 7.0.* unaffected 7.1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-64036 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-64036
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-64036
trivy image --scanners vuln IMAGE | grep CVE-2026-64036
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/ee5afb74688aa6f1f16d8c7e7b6bfaf803fb62fc git.kernel.org
- https://git.kernel.org/stable/c/b28b862b07257219755d0b0a7fbe5d23b7c9ea91 git.kernel.org
- https://git.kernel.org/stable/c/3d595affbe00a2e8bf43b9f2947a8efcdc1c059e git.kernel.org
- https://git.kernel.org/stable/c/6a01413a4e8fcb0263d7bef5075c5f8f4eb3a8b6 git.kernel.org
- https://git.kernel.org/stable/c/fd2bd9fa7700ddf28296486b2598cff2f80cc819 git.kernel.org
- https://git.kernel.org/stable/c/8817005efbdfdf5d4e4814cb5dc52b53d12917d7 git.kernel.org
Source: the record CVE-2026-64036 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse