bpf: Reject MEM_ALLOC BTF accesses past object bounds
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.114, 6.18.57, 6.6.160, 7.2.6
- CVEs
- CVE-2026-93148
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 02:59 UTC · Revision 1
Source evidence
bpf: Reject MEM_ALLOC BTF accesses past object bounds
core-osv · Original sourcePublished 17 Sept 2026, 16:11 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.
osv:CVE-2026-93148
Kernel
Fixed versions: 6.6.160, 6.12.114, 6.18.57, 7.2.6
Complete source record
{
"id": "75967b8345da8e52ea1c2ac2ad874df29a331735e59bd8305bef6c1cdb9579e0",
"url": "https://osv.dev/vulnerability/CVE-2026-93148",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "bpf: Reject MEM_ALLOC BTF accesses past object bounds",
"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 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.",
"evidence": "osv:CVE-2026-93148",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.6.160",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.114",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.57",
"evidence": "/affected/1/ranges"
},
{
"value": "7.2.6",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2026-93148",
"aliases": [
"CVE-2026-93148"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "958cf2e273f0929c66169e0788031310e8118722"
},
{
"fixed": "94033c193bc38794511b2ebfa3dc0287d3b2bf60"
},
{
"fixed": "90d36e825da4fadeede64784ceda975ab7b31dab"
},
{
"fixed": "cf08ff2255de98cfcbc8bf7236fbeb38f0d5b4f1"
},
{
"fixed": "e626a50d07d43421cbf7bfb5a084b33a5e276b6e"
},
{
"fixed": "9c9ee0324c774490ae953162aaaf4561d222bd93"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93148.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.160"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.114"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.57"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.2.6"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93148.json"
}
}
],
"modified": "2026-10-28T02:30:25.301945693Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/90d36e825da4fadeede64784ceda975ab7b31dab",
"https://git.kernel.org/stable/c/94033c193bc38794511b2ebfa3dc0287d3b2bf60",
"https://git.kernel.org/stable/c/9c9ee0324c774490ae953162aaaf4561d222bd93",
"https://git.kernel.org/stable/c/cf08ff2255de98cfcbc8bf7236fbeb38f0d5b4f1",
"https://git.kernel.org/stable/c/e626a50d07d43421cbf7bfb5a084b33a5e276b6e",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93148.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-93148",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93148.json"
}
},
"related_cves": [
{
"value": "CVE-2026-93148",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 492090,
"published_at": "2026-09-17T16:11:45.457+00:00"
}