In the Linux kernel, the following vulnerability has been resolved: cgroup/rstat: validate cpu before css_rstat_cpu() access css_rstat_updated() is… (CVE-2026-64036)
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.
AI Analysis
Technical Summary
The Linux kernel vulnerability CVE-2026-64036 involves the css_rstat_updated() BPF kfunc in the cgroup/rstat subsystem, which accepted a CPU argument without validating whether it referred to a valid possible CPU. This lack of validation allowed a privileged BPF iter/cgroup program (with CAP_BPF and CAP_PERFMON) to pass an invalid CPU value, leading to an out-of-bounds array access detected by UBSAN in kernel/cgroup/rstat.c. The issue was fixed by adding CPU validation in css_rstat_updated() and moving the core logic to __css_rstat_updated() for safer in-kernel calls.
Potential Impact
Exploitation of this vulnerability could cause a kernel memory safety error (array index out-of-bounds), potentially leading to kernel crashes or undefined behavior. However, exploitation requires elevated capabilities (CAP_BPF and CAP_PERFMON), limiting the attack surface to privileged or semi-privileged users. There are no known exploits in the wild.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to validate CPU arguments in css_rstat_updated(). Users and administrators should apply the official kernel updates that include this patch once available. Until then, restricting access to CAP_BPF and CAP_PERFMON capabilities can reduce risk. Patch status is not yet confirmed in this data; check the vendor advisory for current remediation guidance.
In the Linux kernel, the following vulnerability has been resolved: cgroup/rstat: validate cpu before css_rstat_cpu() access css_rstat_updated() is… (CVE-2026-64036)
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.
CVSS v3.1
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel vulnerability CVE-2026-64036 involves the css_rstat_updated() BPF kfunc in the cgroup/rstat subsystem, which accepted a CPU argument without validating whether it referred to a valid possible CPU. This lack of validation allowed a privileged BPF iter/cgroup program (with CAP_BPF and CAP_PERFMON) to pass an invalid CPU value, leading to an out-of-bounds array access detected by UBSAN in kernel/cgroup/rstat.c. The issue was fixed by adding CPU validation in css_rstat_updated() and moving the core logic to __css_rstat_updated() for safer in-kernel calls.
Potential Impact
Exploitation of this vulnerability could cause a kernel memory safety error (array index out-of-bounds), potentially leading to kernel crashes or undefined behavior. However, exploitation requires elevated capabilities (CAP_BPF and CAP_PERFMON), limiting the attack surface to privileged or semi-privileged users. There are no known exploits in the wild.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to validate CPU arguments in css_rstat_updated(). Users and administrators should apply the official kernel updates that include this patch once available. Until then, restricting access to CAP_BPF and CAP_PERFMON capabilities can reduce risk. Patch status is not yet confirmed in this data; check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-7cqc-fvgj-qm9h
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64036"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a5d27a92a4a8d598912cee1
Added to database: 07/19/2026, 19:38:17 UTC
Last enriched: 07/19/2026, 19:56:21 UTC
Last updated: 07/20/2026, 19:41:22 UTC
Views: 9
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.