Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
CVE Vulnerability Details :
CVE-2026-64354
PUBLISHED
More InfoOfficial Page
Assigner-Linux
Assigner Org ID-416baaa9-dc9f-4396-8d5f-8c081fb06d67
View Known Exploited Vulnerability (KEV) details
Published At-25 Jul, 2026 | 08:50
Updated At-27 Jul, 2026 | 04:59
Rejected At-
▼CVE Numbering Authority (CNA)
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.

Affected Products
Vendor
Linux Kernel Organization, IncLinux
Product
Linux
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Program Files
  • kernel/bpf/btf.c
Default Status
unaffected
Versions
Affected
  • From 797d73ee232dd1833dec4824bc53a22032e97c1c before c5ff816d5f13900c3f1f3298cfcc61339e056e56 (git)
  • From 797d73ee232dd1833dec4824bc53a22032e97c1c before cd407de2ef5dc70f1970b343ffaa16186340fdfd (git)
  • From 797d73ee232dd1833dec4824bc53a22032e97c1c before ff77d013b737c0f77d925e2f2c59f0cf3d76bd35 (git)
  • From 797d73ee232dd1833dec4824bc53a22032e97c1c before b9452b594fd3aecbfd4aa0a6a1f741330a37dab7 (git)
  • 6f957d972feee9b385ea3ae6530310a84e55ba71 (git)
  • From 6.11.6 before 6.12 (semver)
Vendor
Linux Kernel Organization, IncLinux
Product
Linux
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Program Files
  • kernel/bpf/btf.c
Default Status
affected
Versions
Affected
  • 6.12
Unaffected
  • From 0 before 6.12 (semver)
  • From 6.12.96 through 6.12.* (semver)
  • From 6.18.39 through 6.18.* (semver)
  • From 7.1.4 through 7.1.* (semver)
  • From 7.2-rc1 through * (original_commit_for_fix)
Metrics
VersionBase scoreBase severityVector
3.17.8HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Version: 3.1
Base score: 7.8
Base severity: HIGH
Vector:
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://git.kernel.org/stable/c/c5ff816d5f13900c3f1f3298cfcc61339e056e56
N/A
https://git.kernel.org/stable/c/cd407de2ef5dc70f1970b343ffaa16186340fdfd
N/A
https://git.kernel.org/stable/c/ff77d013b737c0f77d925e2f2c59f0cf3d76bd35
N/A
https://git.kernel.org/stable/c/b9452b594fd3aecbfd4aa0a6a1f741330a37dab7
N/A
Hyperlink: https://git.kernel.org/stable/c/c5ff816d5f13900c3f1f3298cfcc61339e056e56
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/cd407de2ef5dc70f1970b343ffaa16186340fdfd
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/ff77d013b737c0f77d925e2f2c59f0cf3d76bd35
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/b9452b594fd3aecbfd4aa0a6a1f741330a37dab7
Resource: N/A
Details not found