---
id: CVE-2026-93148
title: |-
  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
summary: |-
  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 or…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 958cf2e273f0929c66169e0788031310e8118722 <
    e626a50d07d43421cbf7bfb5a084b33a5e276b6e
  - >-
    Linux >= 958cf2e273f0929c66169e0788031310e8118722 <
    9c9ee0324c774490ae953162aaaf4561d222bd93
  - Linux 6.2
published: '2026-09-17'
updated: '2026-09-18'
sourceUpdated: '2026-09-18T18:18:22.760'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-93148'
references:
  - url: 'https://git.kernel.org/stable/c/9c9ee0324c774490ae953162aaaf4561d222bd93'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/e626a50d07d43421cbf7bfb5a084b33a5e276b6e'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
  - cve.org
epss: 0.00165
epssPercentile: 0.05025
ingestedAt: '2026-09-17T16:21:47.742Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
