CVE Catalog

CVE-2026-64354

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.13%

3th percentile - higher than 3% of all known CVEs

Summary

In the Linux kernel BTF parser, the btf_repeat_fields() function performs field count calculations in u32 arithmetic, which can wrap with malicious BTF. This bypasses capacity checks and leads to out-of-bounds write to the scratch array. The fix uses checked addition and multiplication.

Risk Assessment

Out-of-bounds write could lead to kernel memory corruption, potentially enabling privilege escalation or system crash.

Recommendation

Apply the Linux kernel patch that uses checked addition and multiplication before copying repeated fields.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS