# CVE-2026-64036: cgroup/rstat: validate cpu before css\_rstat\_cpu() access

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **CWE:** CWE-129, CWE-125
- **Published:** 2026-07-19T15:39:24.783Z
- **Modified:** 2026-10-30T13:19:29.250Z

## Who should check

- Anyone running Linux \>= a319185be9f5ad13c2a296d448ac52ffe45d194c, \< ee5afb74688aa6f1f16d8c7e7b6bfaf803fb62fc; \>= a319185be9f5ad13c2a296d448ac52ffe45d194c, \< b28b862b07257219755d0b0a7fbe5d23b7c9ea91; \>= a319185be9f5ad13c2a296d448ac52ffe45d194c, \< 3d595affbe00a2e8bf43b9f2947a8efcdc1c059e; \>= a319185be9f5ad13c2a296d448ac52ffe45d194c, \< 6a01413a4e8fcb0263d7bef5075c5f8f4eb3a8b6; \>= a319185be9f5ad13c2a296d448ac52ffe45d194c, \< fd2bd9fa7700ddf28296486b2598cff2f80cc819; \>= a319185be9f5ad13c2a296d448ac52ffe45d194c, \< 8817005efbdfdf5d4e4814cb5dc52b53d12917d7
- Anyone running Linux 6.1

## 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.

## Affected and fixed versions

- Linux: \>= a319185be9f5ad13c2a296d448ac52ffe45d194c, \< ee5afb74688aa6f1f16d8c7e7b6bfaf803fb62fc; \>= a319185be9f5ad13c2a296d448ac52ffe45d194c, \< b28b862b07257219755d0b0a7fbe5d23b7c9ea91; \>= a319185be9f5ad13c2a296d448ac52ffe45d194c, \< 3d595affbe00a2e8bf43b9f2947a8efcdc1c059e; \>= a319185be9f5ad13c2a296d448ac52ffe45d194c, \< 6a01413a4e8fcb0263d7bef5075c5f8f4eb3a8b6; \>= a319185be9f5ad13c2a296d448ac52ffe45d194c, \< fd2bd9fa7700ddf28296486b2598cff2f80cc819; \>= a319185be9f5ad13c2a296d448ac52ffe45d194c, \< 8817005efbdfdf5d4e4814cb5dc52b53d12917d7 (cvelist)
- Linux: 6.1 (cvelist)

## Mitigation

- Upgrade Linux to 8817005efbdfdf5d4e4814cb5dc52b53d12917d7 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-64036. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64036.md
Affected: Linux >= a319185be9f5ad13c2a296d448ac52ffe45d194c, < ee5afb74688aa6f1f16d8c7e7b6bfaf803fb62fc; >= a319185be9f5ad13c2a296d448ac52ffe45d194c, < b28b862b07257219755d0b0a7fbe5d23b7c9ea91; >= a319185be9f5ad13c2a296d448ac52ffe45d194c, < 3d595affbe00a2e8bf43b9f2947a8efcdc1c059e; >= a319185be9f5ad13c2a296d…
Fixed in: Linux 3d595affbe00a2e8bf43b9f2947a8efcdc1c059e, Linux 6a01413a4e8fcb0263d7bef5075c5f8f4eb3a8b6, Linux 8817005efbdfdf5d4e4814cb5dc52b53d12917d7

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-64036 being exploited?

There is no confirmed exploitation: CVE-2026-64036 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-64036?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-64036?

Linux \>= a319185be9f5ad13c2a296d448ac52ffe45d194c, \< ee5afb74688aa6f1f16d8c7e7b6bfaf803fb62fc; \>= a319185be9f5ad13c2a296d448ac52ffe45d194c, \< b28b862b07257219755d0b0a7fbe5d23b7c9ea91; \>= a319185be9f5ad13c2a296d448ac52ffe45d194c, \< 3d595affbe00a2e8bf43b9f2947a8efcdc1c059e; \>= a319185be9f5ad13c2a296d448ac52ffe45d194c, \< 6a01413a4e8fcb0263d7bef5075c5f8f4eb3a8b6; \>= a319185be9f5ad13c2a296d448ac52ffe45d194c, \< fd2bd9fa7700ddf28296486b2598cff2f80cc819; \>= a319185be9f5ad13c2a296d448ac52ffe45d194c, \< 8817005efbdfdf5d4e4814cb5dc52b53d12917d7; Linux 6.1.

### Is there a fix for CVE-2026-64036?

Yes. Fixed in Linux 3d595affbe00a2e8bf43b9f2947a8efcdc1c059e, Linux 6a01413a4e8fcb0263d7bef5075c5f8f4eb3a8b6, Linux 8817005efbdfdf5d4e4814cb5dc52b53d12917d7. Upgrade Linux to 8817005efbdfdf5d4e4814cb5dc52b53d12917d7 or later.

### How do I check if I'm affected by CVE-2026-64036?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/6a01413a4e8fcb0263d7bef5075c5f8f4eb3a8b6>
- patch: <https://git.kernel.org/stable/c/fd2bd9fa7700ddf28296486b2598cff2f80cc819>
- patch: <https://git.kernel.org/stable/c/8817005efbdfdf5d4e4814cb5dc52b53d12917d7>
- other: <https://git.kernel.org/stable/c/ee5afb74688aa6f1f16d8c7e7b6bfaf803fb62fc>
- other: <https://git.kernel.org/stable/c/b28b862b07257219755d0b0a7fbe5d23b7c9ea91>
- other: <https://git.kernel.org/stable/c/3d595affbe00a2e8bf43b9f2947a8efcdc1c059e>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-64036>

HTML: <https://flawdb.com/CVE-2026-64036> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-64036>
