{"id":"CVE-2026-64036","published":"2026-07-19T15:39:24Z","modified":"2026-10-30T12:27:30Z","title":"cgroup/rstat: validate cpu before css_rstat_cpu() access","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncgroup/rstat: validate cpu before css_rstat_cpu() access\n\ncss_rstat_updated() is exposed as a BPF kfunc and accepts a\ncaller-provided cpu argument. The function uses cpu for per-cpu rstat\nlookups without checking whether it refers to a valid possible CPU.\n\nA BPF iter/cgroup program with CAP_BPF and CAP_PERFMON can pass an\ninvalid cpu value. On an unfixed UBSCAN_BOUNDS test kernel, cpu ==\n0x7fffffff triggers:\n\n  UBSAN: array-index-out-of-bounds in kernel/cgroup/rstat.c:31:9\n  index 2147483647 is out of range for type 'long unsigned int [64]'\n  Call Trace:\n    css_rstat_updated\n    bpf_iter_run_prog\n    cgroup_iter_seq_show\n    bpf_seq_read\n\nAdd cpu validation to the BPF-facing css_rstat_updated() kfunc and\nmove the common implementation to __css_rstat_updated() for in-kernel\ncallers.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00164,"percentile":0.05707,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://git.kernel.org/stable/c/ee5afb74688aa6f1f16d8c7e7b6bfaf803fb62fc","tags":[]},{"url":"https://git.kernel.org/stable/c/b28b862b07257219755d0b0a7fbe5d23b7c9ea91","tags":[]},{"url":"https://git.kernel.org/stable/c/3d595affbe00a2e8bf43b9f2947a8efcdc1c059e","tags":[]},{"url":"https://git.kernel.org/stable/c/6a01413a4e8fcb0263d7bef5075c5f8f4eb3a8b6","tags":[]},{"url":"https://git.kernel.org/stable/c/fd2bd9fa7700ddf28296486b2598cff2f80cc819","tags":[]},{"url":"https://git.kernel.org/stable/c/8817005efbdfdf5d4e4814cb5dc52b53d12917d7","tags":[]}],"priority":{"score":6.6,"factors":[{"name":"EPSS percentile","points":1.14},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= a319185be9f5ad13c2a296d448ac52ffe45d194c, < ee5afb74688aa6f1f16d8c7e7b6bfaf803fb62fc",">= a319185be9f5ad13c2a296d448ac52ffe45d194c, < b28b862b07257219755d0b0a7fbe5d23b7c9ea91",">= a319185be9f5ad13c2a296d448ac52ffe45d194c, < 3d595affbe00a2e8bf43b9f2947a8efcdc1c059e",">= a319185be9f5ad13c2a296d448ac52ffe45d194c, < 6a01413a4e8fcb0263d7bef5075c5f8f4eb3a8b6",">= a319185be9f5ad13c2a296d448ac52ffe45d194c, < fd2bd9fa7700ddf28296486b2598cff2f80cc819",">= a319185be9f5ad13c2a296d448ac52ffe45d194c, < 8817005efbdfdf5d4e4814cb5dc52b53d12917d7"]},{"vendor":"Linux","product":"Linux","versions":["6.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-16T15:35:47.371867Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-45609","exploited":false,"provenance":"source"}}