CVE-2026-64354: bpf: Validate BTF repeated field counts before expansion
Vulnerability summary
CVE-2026-64354 is a high (CVSS 7.8) Integer Overflow or Wraparound vulnerability in linux. EPSS estimates a 0.13% chance of exploitation in the next 30 days, higher than 2.6% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 19 · Related 18Timeline
- 25-07-2026PublishedVulnerability first disclosed.
- 19-10-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.13%
Chance of exploitation in the next 30 days
Percentile
3%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.13% on 21-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu120 products
- linux< 7.0.0-31.31
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 7.0.0-1012.12
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Debian2 products
- linux< 6.12.96-1 | < 7.1.4-1
- linux-6.12< 6.12.100-1~deb12u1
Linux2 products
- linux≥ 797d73ee232dd1833dec4824bc53a22032e97c1c, < c5ff816d5f13900c3f1f3298cfcc61339e056e56 | ≥ 797d73ee232dd1833dec4824bc53a22032e97c1c, < cd407de2ef5dc70f1970b343ffaa16186340fdfd | ≥ 797d73ee232dd1833dec4824bc53a22032e97c1c, < ff77d013b737c0f77d925e2f2c59f0cf3d76bd35 | ≥ 797d73ee232dd1833dec4824bc53a22032e97c1c, < b9452b594fd3aecbfd4aa0a6a1f741330a37dab7 | 6f957d972feee9b385ea3ae6530310a84e55ba71 | ≥ 6.11.6, < 6.12 | 6.12
- linux_kernel≥ 6.11.6, < 6.12 | ≥ 6.12.1, < 6.12.96 | ≥ 6.13, < 6.18.39 | ≥ 6.19, < 7.1.4 | 6.12 | 6.12:rc4 | 6.12:rc5 | 6.12:rc6 | 6.12:rc7
3 vendors · 124 products