CVE-2026-93148: bpf: Reject MEM_ALLOC BTF accesses past object bounds

Published Sep 17, 2026
·
Updated

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

bpf: Reject MEMALLOC 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 PTRTOBTFID | MEMALLOC values point to objects allocated with the static BTF type size.

When walking a MEMALLOC 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.

Affected Software

1 affected component
Linux Linux kernel

Event History

Sep 17, 2026
CVE Published
via MITRE·04:11 PM
Data Sourced
via MITRE·04:11 PM
Description

Frequently Asked Questions

1

What access pattern is affected?

The issue affects BPF accesses through PTR_TO_BTF_ID | MEM_ALLOC values when a BTF struct walk reaches beyond the object’s static BTF type size through a trailing flexible array. The corrected behavior rejects the access before flexible-array size relaxation is applied.

2

Are kfunc and kptr checks covered by the fix?

Yes. The same object-bound policy is applied to struct ID matching, preventing kfunc and kptr type checks from walking beyond the bounds of the allocated MEM_ALLOC object.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203