CVE-2026-93138
bpf: Fix vmlinux BTF prep race in bpf_get_btf_vmlinux
Reported by linux · Published September 17, 2026
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix vmlinux BTF prep race in bpf_get_btf_vmlinux bpf_get_btf_vmlinux() lazily parses the vmlinux BTF under the bpf_verifier_lock, but publishes the result through a plain store and re-checks it through a plain lockless load. Nothing orders the stores initializing the struct btf inside btf_parse_vmlinux() against the store publishing the pointer: On a weakly ordered arch, a concurrent first-time caller taking the lockless fast path could in principle observe the pointer before the parsed contents are visible. The mutex_unlock() does not help such a reader given it only synchronizes with a later acquisition of the same lock. Thus, publish the pointer with smp_store_release() and read it on the fast path with smp_load_acquire(). Acquire semantics are needed rather than a dependency-ordered READ_ONCE(): btf_parse_vmlinux() also populates globals outside the returned object (e.g. bpf_ctx_convert.t). An address dependency would only order accesses performed through the pointer and not cover other globals.
EPSS 0.18% · 7.2th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| perf | Amazon Linux | 1:6.1.188-233.385.amzn2023 |
| perf6.12 | Amazon Linux | 1:6.12.110-135.201.amzn2023 |
| kernel6.12-modules-extra-common | Amazon Linux | 1:6.12.110-135.201.amzn2023 |
| kernel-devel | Amazon Linux | 1:6.1.188-233.385.amzn2023 |
| kernel-tools-devel | Amazon Linux | 1:6.1.188-233.385.amzn2023 |
| Linux | Linux | f32a4a40bc635be25d6816da4bd91e9e58c31bf3, 5.5 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 8580ac9404f6240668a026785d7d8856f0530409, 8580ac9404f6240668a026785d7d8856f0530409, 8580ac9404f6240668a026785d7d8856f0530409 |
| Linux | Linux | 5.5, 0, 5.10.270 |
| amazon:2023 | perf | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| Linux | Linux | 6.6.157, 6.1.188, 5.15.221 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel-livepatch-6.1.188-233.385 | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel-livepatch-6.18.54-121.166 | 0 |
| amazon:2023 | kernel-livepatch-6.12.110-135.201 | 0 |
…and 18 more
Timeline
- Sep 17, 2026 CVE Published
- Sep 18, 2026 EPSS Score (11 in total, the first dated here)
- Oct 19, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-93138
vulnetix vdb fixes CVE-2026-93138
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-93138/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart