CVE-2026-64036
cgroup/rstat: validate cpu before css_rstat_cpu() access
Reported by linux · Published July 19, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| perf6.12 | Amazon Linux | 1:6.12.114-139.210.amzn2023 |
| kernel-livepatch-6.18.35-68.127 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel6.12 | Amazon Linux | 1:6.12.114-139.210.amzn2023 |
| bpftool6.12 | Amazon Linux | 1:6.12.114-139.210.amzn2023 |
| kernel6.12-devel | Amazon Linux | 1:6.12.114-139.210.amzn2023 |
| kernel6.18-tools-devel | Amazon Linux | 1:6.18.35-68.127.amzn2023 |
| kernel6.12-modules-extra | Amazon Linux | 1:6.12.114-139.210.amzn2023 |
| kernel6.18-modules-extra-common | Amazon Linux | 1:6.18.35-68.127.amzn2023 |
| microvm-kernel6.18 | Amazon Linux | 1:6.18.35-68.127.amzn2023 |
| kernel6.12-modules-extra-common | Amazon Linux | 1:6.12.114-139.210.amzn2023 |
| kernel6.18 | Amazon Linux | 1:6.18.35-68.127.amzn2023 |
| bpftool6.18 | Amazon Linux | 1:6.18.35-68.127.amzn2023 |
7 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | a319185be9f5ad13c2a296d448ac52ffe45d194c, a319185be9f5ad13c2a296d448ac52ffe45d194c, a319185be9f5ad13c2a296d448ac52ffe45d194c |
| Linux | Linux | 6.1, 0, 6.1.191 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel-livepatch-6.18.35-68.127 | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel-livepatch-6.12.114-139.210 | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| Linux | Linux | 7.1, *, * |
…and 7 more
Timeline
- Jul 19, 2026 CVE Published
- Jul 20, 2026 Coalition ESS Score
- Jul 20, 2026 Security Advisory (31 in total, the first dated here)
- Aug 7, 2026 EPSS Score (12 in total, the first dated here)
- Aug 12, 2026 Distribution Patch (30 in total, the first dated here)
- Oct 30, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-64036
vulnetix vdb fixes CVE-2026-64036
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-64036/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart