SecurityContext

CVE-2026-53085: Linux Kernel - Use After Free

  • Cve: CVE-2026-53085
  • Name: Linux Kernel - Use After Free
  • 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.
  • Impact: Attackers can cause memory corruption or system instability via use-after-free, potentially leading to denial of service or code execution.
  • Remediation: Update to the latest Linux kernel version containing the fix for the BPF task_vma iterator.
  • Vulnerability type: use_after_free
  • Vulnerability impact: denial_of_service, remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00175
  • Epss percentile: 0.06988
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2026-06-24T17:17:22Z
  • Age in days: 153
  • Modified at: 2026-10-19T20:19:01Z
  • Patch available: yes
  • References total: 7
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-53085
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-416Use After Free
CWE-825Expired Pointer Dereference

References

Same in every row:

  • Source: nvd
UrlTags
https://git.kernel.org/stable/c/239cec25a22662dbd80f57d94b38178c8be95269Patch
https://git.kernel.org/stable/c/43683bb280330f3d36f0f2a3932a4867b9603e9cPatch
https://git.kernel.org/stable/c/d0862de7c866c5bd7c32531f66738c21197af888Patch
https://git.kernel.org/stable/c/d8e27d2d22b6e2df3a0125b8c08e9aace38c954cPatch
https://access.redhat.com/security/cve/CVE-2026-53085Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2492404Third Party Advisory
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-53085.jsonThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel>= 6.19, < 7.0.10; >= 6.13, < 6.18.33; >= 6.7, < 6.12.91nonvd/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports