Vulnerability in Linux
CVE-2026-64354
In the Linux kernel, the following vulnerability has been resolved: bpf: Validate BTF repeated field counts before expansion btf_parse_struct_metas() walks user-supplied BTF during BPF_BTF_LOAD, and btf_repeat_fields() expands repeatable fields from array elements into the fixed BTF_FIELDS_MAX scratch array used by btf_parse_fields(). The remaining-capacity check performs the expanded field count calculation in u32. A malformed BTF can wrap that calculation, causing the check to pass even when the expanded field count exceeds the scratch array capacity. The following memcpy() can then write past the end of the array. Use checked addition and multiplication before copying repeated fields and reject impossible counts.
EPSS: 0.001 (2.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Linux — versions 6.11.6, 7.2-rc1, 6.12
- Linux Linux_kernel — versions 6.12
References
Frequently asked questions
- What is CVE-2026-64354?
- CVE-2026-64354 is a high-severity vulnerability in Linux. CVSS score: 7.8/10. Published 2026-07-25.
- How severe is CVE-2026-64354?
- High severity. CVSS v3 base score is 7.8 out of 10.