CVE-2026-64354bpf: Validate BTF repeated field counts before expansion
- 7.8HighCVSS base score
- 0.13%Exploitation in 30 daysEPSS · top 97% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Linux
- 6 days later
· 6 days later
Published
- 3 months later
· 3 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.13% · top 97% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
- affected 797d73ee232dd1833dec4824bc53a22032e97c1c – < c5ff816d5f13900c3f1f3298cfcc61339e056e56
- affected 797d73ee232dd1833dec4824bc53a22032e97c1c – < cd407de2ef5dc70f1970b343ffaa16186340fdfd
- affected 797d73ee232dd1833dec4824bc53a22032e97c1c – < ff77d013b737c0f77d925e2f2c59f0cf3d76bd35
- affected 797d73ee232dd1833dec4824bc53a22032e97c1c – < b9452b594fd3aecbfd4aa0a6a1f741330a37dab7
- affected 6f957d972feee9b385ea3ae6530310a84e55ba71
- affected 6.11.6 – < 6.12
- affected 6.12
- unaffected < 6.12
- unaffected 6.12.96 – ≤ 6.12.*
- unaffected 6.18.39 – ≤ 6.18.*
- unaffected 7.1.4 – ≤ 7.1.*
- unaffected 7.2 – ≤ *
References
References4
- https://git.kernel.org/stable/c/c5ff816d5f13900c3f1f3298cfcc61339e056e56 (opens in a new tab)
- https://git.kernel.org/stable/c/cd407de2ef5dc70f1970b343ffaa16186340fdfd (opens in a new tab)
- https://git.kernel.org/stable/c/ff77d013b737c0f77d925e2f2c59f0cf3d76bd35 (opens in a new tab)
- https://git.kernel.org/stable/c/b9452b594fd3aecbfd4aa0a6a1f741330a37dab7 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-48898 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-64354)Record last updated .