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

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 4% of CVEs (2026-11-30)
- Published: 2026-09-17T16:11:45.457Z
- Modified: 2026-10-21T13:21:00.843Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 958cf2e273f0929c66169e0788031310e8118722 before 94033c193bc38794511b2ebfa3dc0287d3b2bf60; from 958cf2e273f0929c66169e0788031310e8118722 before 90d36e825da4fadeede64784ceda975ab7b31dab; from 958cf2e273f0929c66169e0788031310e8118722 before cf08ff2255de98cfcbc8bf7236fbeb38f0d5b4f1; from 958cf2e273f0929c66169e0788031310e8118722 before e626a50d07d43421cbf7bfb5a084b33a5e276b6e; from 958cf2e273f0929c66169e0788031310e8118722 before 9c9ee0324c774490ae953162aaaf4561d222bd93; 6.2 (not affected: before 6.2; from 6.6.160 up to 6.6.*; from 6.12.114 up to 6.12.*; from 6.18.57 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/94033c193bc38794511b2ebfa3dc0287d3b2bf60>
- <https://git.kernel.org/stable/c/90d36e825da4fadeede64784ceda975ab7b31dab>
- <https://git.kernel.org/stable/c/cf08ff2255de98cfcbc8bf7236fbeb38f0d5b4f1>
- <https://git.kernel.org/stable/c/e626a50d07d43421cbf7bfb5a084b33a5e276b6e>
- <https://git.kernel.org/stable/c/9c9ee0324c774490ae953162aaaf4561d222bd93>

## Sources

- CVE List: [CVE-2026-93148](https://www.cve.org/CVERecord?id=CVE-2026-93148), CVE Terms of Use, modified 2026-10-21
- NVD: [CVE-2026-93148](https://nvd.nist.gov/vuln/detail/CVE-2026-93148), Public domain, modified 2026-10-21

---

Page: https://cve.day/CVE-2026-93148 · Whole record: https://cve.day/CVE-2026-93148.json · Rebuilt by cve.day 2026-11-25T22:59:39.468Z
