VDB

CVE-2026-93137

CVE-2026-93137 PUBLISHED CVSS 7.8 HIGH

bpf: Fix use-after-free on mm_struct in bpf_find_vma()

Reported by linux · Published September 17, 2026

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix use-after-free on mm_struct in bpf_find_vma() bpf_find_vma() reads task->mm and calls mmap_read_trylock(mm) without holding a reference on the mm. On a foreign task, a concurrent exit_mm() can free the mm_struct between the lockless read and the trylock, resulting in a use-after-free. mm_struct is not SLAB_TYPESAFE_BY_RCU. For the current task, task->mm is stable. For a foreign task, pin the mm under task->alloc_lock and release it with mmput_async(), mirroring commit d8e27d2d22b6 ("bpf: fix mm lifecycle in open-coded task_vma iterator"). Use spin_trylock() instead of get_task_mm() so BPF context does not block on alloc_lock. Reject irqs-disabled contexts and !CONFIG_MMU on the foreign-task path because dropping the mm reference is not safe there. Race: CPU0 (BPF program) CPU1 (exiting task) ============================ ========================== bpf_find_vma(foreign_task): mm = task->mm exit_mm(): task->mm = NULL mmput(mm) -> frees mm_struct mmap_read_trylock(mm) // UAF on mm

EPSS 0.16% · 5.2th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernelAmazon Linux1:6.1.188-233.385.amzn2023
bpftool6.12Amazon Linux1:6.12.110-135.201.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.110-135.201.amzn2023
kernel6.18-modules-extraAmazon Linux1:6.18.54-121.166.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.110-135.201.amzn2023
kernel6.12Amazon Linux1:6.12.110-135.201.amzn2023
kernel6.18-toolsAmazon Linux1:6.18.54-121.166.amzn2023

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score
0.16%
5.2th percentile

Affected products

VendorProductVersions
LinuxLinux7c7e3d31e7856a8260a254f8c71db416f7f9f5a1, 7c7e3d31e7856a8260a254f8c71db416f7f9f5a1, 7c7e3d31e7856a8260a254f8c71db416f7f9f5a1
LinuxLinux5.17, 0, 6.1.188
amazon:2023kernel0
amazon:2023bpftool6.120
amazon:2023kernel6.12-tools0
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.120
amazon:2023kernel6.18-tools0
linuxlinux_kernel5.17, 5.17, 5.17
amazon:2023kernel6.18-devel0
amazon:2023kernel-headers0
amazon:2023python3-perf6.180
amazon:2023bpftool6.180
amazon:2023kernel6.18-modules-extra-common0
amazon:2023perf6.120
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.12-headers0
amazon:2023kernel6.18-headers0
amazon:2023perf6.180

…and 19 more

Timeline

  • Sep 17, 2026 CVE Published
  • Sep 18, 2026 EPSS Score (9 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-93137
vulnetix vdb fixes CVE-2026-93137

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-93137/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›