Back to CVE records
High 7.8Published Jul 25, 2026

CVE-2026-64354bpf: Validate BTF repeated field counts before expansion

Updated under an hour ago ()

Does this affect you?

It affects Linux and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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
7.8 HIGH (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
Not given
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Linux
NVD analysis
Analyzed
Record last updated
Oct 16, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
Linux Linux
linux:linux (from the name)
from 797d73ee232dd1833dec4824bc53a22032e97c1c before c5ff816d5f13900c3f1f3298cfcc61339e056e56; from 797d73ee232dd1833dec4824bc53a22032e97c1c before cd407de2ef5dc70f1970b343ffaa16186340fdfd; from 797d73ee232dd1833dec4824bc53a22032e97c1c before ff77d013b737c0f77d925e2f2c59f0cf3d76bd35; from 797d73ee232dd1833dec4824bc53a22032e97c1c before b9452b594fd3aecbfd4aa0a6a1f741330a37dab7; 6f957d972feee9b385ea3ae6530310a84e55ba71; from 6.11.6 before 6.12
CNA record
linux linux_kernel
linux:linux_kernel
from 6.11.6 before 6.12; from 6.12.1 before 6.12.96; from 6.13 before 6.18.39; from 6.19 before 7.1.4; 6.12; 6.12; 6.12; 6.12; and 1 more ranges
NVD

References

  • patch
  • patch
  • patch
  • patch

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.