cgroup/rstat: validate cpu before css_rstat_cpu() access
CVE-2026-64036 is fixed in 20 products on 1 platform, first by ALAS2023-2026-1881, released June 22, 2026. It is not reported as exploited. Patch Radar priority: High.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| bpftool6.18 · amzn 2023 | 1:6.18.35-68.127.amzn2023 | ALAS2023-2026-1881 | Jun 22, 2026 |
| bpftool6.18-debuginfo · amzn 2023 | 1:6.18.35-68.127.amzn2023 | ALAS2023-2026-1881 | Jun 22, 2026 |
| kernel-livepatch-6.18.35-68.127 · amzn 2023 | 1:1.0-0.amzn2023 | ALAS2023-2026-1881 | Jun 22, 2026 |
| kernel6.18 · amzn 2023 | 1:6.18.35-68.127.amzn2023 | ALAS2023-2026-1881 | Jun 22, 2026 |
| kernel6.18-debuginfo · amzn 2023 | 1:6.18.35-68.127.amzn2023 | ALAS2023-2026-1881 | Jun 22, 2026 |
| kernel6.18-debuginfo-common-aarch64 · amzn 2023 | 1:6.18.35-68.127.amzn2023 | ALAS2023-2026-1881 | Jun 22, 2026 |
| kernel6.18-debuginfo-common-x86_64 · amzn 2023 | 1:6.18.35-68.127.amzn2023 | ALAS2023-2026-1881 | Jun 22, 2026 |
| kernel6.18-devel · amzn 2023 | 1:6.18.35-68.127.amzn2023 | ALAS2023-2026-1881 | Jun 22, 2026 |
| kernel6.18-headers · amzn 2023 | 1:6.18.35-68.127.amzn2023 | ALAS2023-2026-1881 | Jun 22, 2026 |
| kernel6.18-modules-extra · amzn 2023 | 1:6.18.35-68.127.amzn2023 | ALAS2023-2026-1881 | Jun 22, 2026 |
| kernel6.18-modules-extra-common · amzn 2023 | 1:6.18.35-68.127.amzn2023 | ALAS2023-2026-1881 | Jun 22, 2026 |
| kernel6.18-tools · amzn 2023 | 1:6.18.35-68.127.amzn2023 | ALAS2023-2026-1881 | Jun 22, 2026 |
| kernel6.18-tools-debuginfo · amzn 2023 | 1:6.18.35-68.127.amzn2023 | ALAS2023-2026-1881 | Jun 22, 2026 |
| kernel6.18-tools-devel · amzn 2023 | 1:6.18.35-68.127.amzn2023 | ALAS2023-2026-1881 | Jun 22, 2026 |
| linux · Debian 13.5 (trixie) | 6.12.115-2 | DEBIAN-CVE-2026-64036 | Jul 20, 2026 |
| linux · Debian 14 | 7.0.12-1 | DEBIAN-CVE-2026-64036 | Jul 20, 2026 |
| microvm-kernel6.18 · amzn 2023 | 1:6.18.35-68.127.amzn2023 | ALAS2023-2026-1881 | Jun 22, 2026 |
| perf6.18 · amzn 2023 | 1:6.18.35-68.127.amzn2023 | ALAS2023-2026-1881 | Jun 22, 2026 |
| perf6.18-debuginfo · amzn 2023 | 1:6.18.35-68.127.amzn2023 | ALAS2023-2026-1881 | Jun 22, 2026 |
| python3-perf6.18 · amzn 2023 | 1:6.18.35-68.127.amzn2023 | ALAS2023-2026-1881 | Jun 22, 2026 |
| python3-perf6.18-debuginfo · amzn 2023 | 1:6.18.35-68.127.amzn2023 | ALAS2023-2026-1881 | Jun 22, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.