CVE-2026-93148

bpf: Reject MEM_ALLOC BTF accesses past object bounds

State
Published
Severity
7.8 High
Published
Sep 17, 2026
Updated
Oct 21, 2026
Reserved
Sep 17, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

bpf: Reject MEM_ALLOC BTF accesses past object bounds

BTF struct walks relax the struct-size check for accesses through a trailing flexible array. That is valid for ordinary BTF type walking, but PTR_TO_BTF_ID | MEM_ALLOC values point to objects allocated with the static BTF type size.

When walking a MEM_ALLOC object, reject the access before applying the flexible-array relaxation if the access range extends past the struct size. Apply the same policy to struct ID matching so kfunc and kptr type checks do not walk past the allocated object bounds either.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 958cf2e273f0929c66169e0788031310e8118722 to before 94033c193bc38794511b2ebfa3dc0287d3b2bf60Affected
  • 958cf2e273f0929c66169e0788031310e8118722 to before 90d36e825da4fadeede64784ceda975ab7b31dabAffected
  • 958cf2e273f0929c66169e0788031310e8118722 to before cf08ff2255de98cfcbc8bf7236fbeb38f0d5b4f1Affected
  • 958cf2e273f0929c66169e0788031310e8118722 to before e626a50d07d43421cbf7bfb5a084b33a5e276b6eAffected
  • 958cf2e273f0929c66169e0788031310e8118722 to before 9c9ee0324c774490ae953162aaaf4561d222bd93Affected
LinuxLinux
  • 6.2Affected
  • before 6.2Not affected
  • 6.6.160 through 6.6.*Not affected
  • 6.12.114 through 6.12.*Not affected
  • 6.18.57 through 6.18.*Not affected
  • 7.2.6 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.