High severity · published Jun 24, 2026
CVE-2026-53085
bpf: fix mm lifecycle in open-coded task_vma iterator
7.8
CVSS
0.2%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 7% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Kernel · Linux
6.7 before 6.12.91; 6.13 before 6.18.33; 6.19 before 7.0.10 · source: NVD
LI
Linux · Linux
4ac4546821584736798aaa9e97da9f6eaf689ea3 before 239cec25a22662dbd80f57d94b38178c8be95269; 4ac4546821584736798aaa9e97da9f6eaf689ea3 before d0862de7c866c5bd7c32531f66738c21197af888; 4ac4546821584736798aaa9e97da9f6eaf689ea3 before 43683bb280330f3d36f0f2a3932a4867b9603e9c; 4ac4546821584736798aaa9e97da9f6eaf689ea3 before d8e27d2d22b6e2df3a0125b8c08e9aace38c954c; 6.7 · source: vendor
RH
Red Hat Enterprise Linux 10 · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Enterprise Linux 9 · Red Hat
All versions, or not specified · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-53085
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-53085
Patch
https://git.kernel.org/stable/c/239cec25a22662dbd80f57d94b38178c8be95269
Patch
https://git.kernel.org/stable/c/43683bb280330f3d36f0f2a3932a4867b9603e9c
Patch
https://git.kernel.org/stable/c/d0862de7c866c5bd7c32531f66738c21197af888
Patch
https://git.kernel.org/stable/c/d8e27d2d22b6e2df3a0125b8c08e9aace38c954c
Third Party Advisory
https://access.redhat.com/security/cve/CVE-2026-53085
Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2492404
More from Kernel
9.8
CVE-2025-39682
tls: fix handling of zero-length records on the rx_list
8.8
CVE-2026-53266
netfilter: bridge: make ebt_snat ARP rewrite writable
8.8
CVE-2013-6282
Linux Kernel Improper Input Validation Vulnerability
8.4
CVE-2022-0185
Linux Kernel Heap-Based Buffer Overflow Vulnerability
8.4
CVE-2013-2094
Linux Kernel Privilege Escalation Vulnerability
