In the Linux kernel, the following vulnerability has been resolved: bpf: fix mm lifecycle in open-coded task_vma iterator The open-coded task_vma iterator reads task->mm locklessly and acquires mmap_read_trylock() but never calls mmget().
Overview
In the Linux kernel, the following vulnerability has been resolved: bpf: fix mm lifecycle in open-coded task_vma iterator The open-coded task_vma iterator reads task->mm locklessly and acquires mmap_read_trylock() but never calls mmget(). If the task exits concurrently, the mm_struct can be freed as it is not SLAB_TYPESAFE_BY_RCU, resulting in a use-after-free. Safely read task->mm with a trylock on alloc_lock and acquire an mm reference. Drop the reference via bpf_iter_mmput_async() in _destroy() and error paths. bpf_iter_mmput_async() is a local wrapper around mmput_async() with a fallback to mmput() on !CONFIG_MMU. Reject irqs-disabled contexts (including NMI) up front. Operations used by _next() and _destroy() (mmap_read_unlock, bpf_iter_mmput_async) take spinlocks with IRQs disabled (pool->lock, pi_lock). Running from NMI or from a tracepoint that fires with those locks held could deadlock. A trylock on alloc_lock is used instead of the blocking task_lock() (get_task_mm) to avoid a deadlock when a softirq BPF program iterates a task that already holds its alloc_lock on the same CPU.
- Published
- 6/24/2026
- Last modified
- 10/19/2026
- Assigned by
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
linux kernel linux | ≥ 6.7, < 6.12.91 | Verify advisory | Source |
linux kernel linux | ≥ 6.13, < 6.18.33 | Verify advisory | Source |
linux kernel linux | ≥ 6.19, < 7.0.10 | Verify advisory | Source |
Linux Linux | ≥ 4ac4546821584736798aaa9e97da9f6eaf689ea3, < 239cec25a22662dbd80f57d94b38178c8be95269 | Verify advisory | Source |
Linux Linux | ≥ 4ac4546821584736798aaa9e97da9f6eaf689ea3, < d0862de7c866c5bd7c32531f66738c21197af888 | Verify advisory | Source |
Linux Linux | ≥ 4ac4546821584736798aaa9e97da9f6eaf689ea3, < 43683bb280330f3d36f0f2a3932a4867b9603e9c | Verify advisory | Source |
Linux Linux | ≥ 4ac4546821584736798aaa9e97da9f6eaf689ea3, < d8e27d2d22b6e2df3a0125b8c08e9aace38c954c | Verify advisory | Source |
Linux Linux | 6.7 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.