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… (CVE-2026-93137)
A use-after-free vulnerability in the Linux kernel's BPF subsystem was fixed in the function bpf_find_vma(). The issue arises when bpf_find_vma() reads task->mm and attempts to lock it without holding a proper reference, allowing a concurrent task exit to free the mm_struct, leading to a use-after-free condition. This vulnerability affects kernel code handling foreign tasks and can cause memory corruption or system instability.
AI Analysis
Technical Summary
The Linux kernel's bpf_find_vma() function reads the mm_struct pointer from a task structure and calls mmap_read_trylock(mm) without holding a reference on mm. For foreign tasks, a concurrent exit_mm() can free the mm_struct between the read and the lock attempt, causing a use-after-free. The fix involves pinning the mm_struct under task->alloc_lock and releasing it asynchronously, using spin_trylock() to avoid blocking, and rejecting certain contexts where dropping the mm reference is unsafe. This resolves the race condition that leads to the use-after-free.
Potential Impact
This vulnerability can lead to use-after-free memory corruption in the kernel, potentially allowing an attacker with local privileges to cause system crashes or escalate privileges. The CVSS score of 7.8 indicates high severity with impacts on confidentiality, integrity, and availability.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this vulnerability by properly managing references to mm_struct and preventing use-after-free conditions. Users should apply the official kernel updates that include this patch. Since this is a kernel-level issue, updating to a patched kernel version is the recommended remediation.
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… (CVE-2026-93137)
Description
A use-after-free vulnerability in the Linux kernel's BPF subsystem was fixed in the function bpf_find_vma(). The issue arises when bpf_find_vma() reads task->mm and attempts to lock it without holding a proper reference, allowing a concurrent task exit to free the mm_struct, leading to a use-after-free condition. This vulnerability affects kernel code handling foreign tasks and can cause memory corruption or system instability.
CVSS v3.1
Score 7.8high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's bpf_find_vma() function reads the mm_struct pointer from a task structure and calls mmap_read_trylock(mm) without holding a reference on mm. For foreign tasks, a concurrent exit_mm() can free the mm_struct between the read and the lock attempt, causing a use-after-free. The fix involves pinning the mm_struct under task->alloc_lock and releasing it asynchronously, using spin_trylock() to avoid blocking, and rejecting certain contexts where dropping the mm reference is unsafe. This resolves the race condition that leads to the use-after-free.
Potential Impact
This vulnerability can lead to use-after-free memory corruption in the kernel, potentially allowing an attacker with local privileges to cause system crashes or escalate privileges. The CVSS score of 7.8 indicates high severity with impacts on confidentiality, integrity, and availability.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this vulnerability by properly managing references to mm_struct and preventing use-after-free conditions. Users should apply the official kernel updates that include this patch. Since this is a kernel-level issue, updating to a patched kernel version is the recommended remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-45wg-mg8v-jx77
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-93137"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6aade51855bf5e2cf5edc030
Added to database: 09/19/2026, 01:27:52 UTC
Last enriched: 09/19/2026, 01:43:27 UTC
Last updated: 09/19/2026, 01:43:27 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.