CVE-2026-64354CWE-190

CVE-2026-64354

High · published July 25, 2026

CVSS v3.1
7.8
EPSS
0%
Percentile
2.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00129 · 2.3th percentile
Weakness
CWE-190 · Integer Overflow or Wraparound
Published
2026-07-25T14:17Z
Affected products (9)
ProductVersionsFixed in
linux/linux_kernel≥ 6.11.6, < 6.126.12
linux/linux_kernel≥ 6.12.1, < 6.12.966.12.96
linux/linux_kernel≥ 6.13, < 6.18.396.18.39
linux/linux_kernel≥ 6.19, < 7.1.47.1.4
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (4)
EPSS history
Timeline
  • 25 JUL 08:50Z
    bpf: Validate BTF repeated field counts before expansion
    cvelistv5