CVE-2026-64354
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2026
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
bpf: Validate BTF repeated field counts before expansion
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.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 797d73ee232dd1833dec4824bc53a22032e97c1c | affected | git | c5ff816d5f13900c3f1f3298cfcc61339e056e56 | Unavailable | None listed |
| 797d73ee232dd1833dec4824bc53a22032e97c1c | affected | git | cd407de2ef5dc70f1970b343ffaa16186340fdfd | Unavailable | None listed |
| 797d73ee232dd1833dec4824bc53a22032e97c1c | affected | git | ff77d013b737c0f77d925e2f2c59f0cf3d76bd35 | Unavailable | None listed |
| 797d73ee232dd1833dec4824bc53a22032e97c1c | affected | git | b9452b594fd3aecbfd4aa0a6a1f741330a37dab7 | Unavailable | None listed |
| 6f957d972feee9b385ea3ae6530310a84e55ba71 | affected | git | Unavailable | Unavailable | None listed |
| 6.11.6 | affected | semver | 6.12 | Unavailable | None listed |
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
affected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 6.12 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 6.12 | Unavailable | None listed |
| 6.12.96 | unaffected | semver | Unavailable | 6.12.* | None listed |
| 6.18.39 | unaffected | semver | Unavailable | 6.18.* | None listed |
| 7.1.4 | unaffected | semver | Unavailable | 7.1.* | None listed |
| 7.2 | unaffected | original_commit_for_fix | Unavailable | * | None listed |