Bug 2536778 (CVE-2026-93148) - CVE-2026-93148 kernel: bpf: Reject MEM_ALLOC BTF accesses past object bounds
Summary: CVE-2026-93148 kernel: bpf: Reject MEM_ALLOC BTF accesses past object bounds
Keywords:
Status: NEW
Alias: CVE-2026-93148
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-17 19:32 UTC by OSIDB Bzimport
Modified: 2026-10-20 11:44 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-17 19:32:51 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.