PT-2026-61353 · Linux · Linux
CVE-2026-64036
·
Publicado
2026-07-19
·
Atualizado
2026-07-19
CVSS v3.1
7.8
Alta
| Vetor | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
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.
Correção
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Identificadores relacionados
Produtos afetados
Linux