CVE-2026-64354
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.
Description as published by the source, in English.
Key facts
- Published
- 2026-07-25
- Last modified
- 2026-10-19
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- Scored by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- Probability of exploitation
-
0.1 %
higher than 3 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Linux | Linux Kernel | 6.12 | Affected |
| Linux | Linux Kernel | ≥ 6.11.6, < 6.12 | Affected |
| Linux | Linux Kernel | ≥ 6.12.1, < 6.12.96 | Affected |
| Linux | Linux Kernel | ≥ 6.13, < 6.18.39 | Affected |
| Linux | Linux Kernel | ≥ 6.19, < 7.1.4 | Affected |
Weakness type
-
CWE-190: Integer Overflow or Wraparound
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is i…
References
- https://git.kernel.org/stable/c/b9452b594fd3aecbfd4aa0a6a1f741330a37dab7
- https://git.kernel.org/stable/c/c5ff816d5f13900c3f1f3298cfcc61339e056e56
- https://git.kernel.org/stable/c/cd407de2ef5dc70f1970b343ffaa16186340fdfd
- https://git.kernel.org/stable/c/ff77d013b737c0f77d925e2f2c59f0cf3d76bd35
Related at Berigo
Articles
-
Nine vulnerabilities entered the exploited catalogue in two days
Same product
2026-09-01
CISA catalogued three more vulnerabilities on 27 August 2026, a day after six others went in. The three cover ownCloud, the Linux kernel and JFrog Ar…
-
Five of the six new KEV entries date from 2015 to 2022
Same product
2026-08-27
CISA has added six vulnerabilities to its Known Exploited Vulnerabilities catalogue. Five were published between 2015 and 2022, and three grant nothi…
-
Almost a third of this week's listed vulnerabilities have no severity score
Same product
2026-08-25
The weekly vulnerability summary from CISA lists 3882 vulnerabilities for the week beginning 10 August. 1184 of them have no calculated severity scor…
-
An eighteen-year-old Linux kernel flaw hands ordinary users root
Same product
2026-08-08
Tencent Zhuque Lab has found a flaw in the SCTP part of the Linux kernel that has been there since 2008. An ordinary user can use it to gain root, an…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.