
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-38554 is a use-after-free (UAF) vulnerability discovered in the Linux kernel's memory management subsystem, specifically related to virtual memory area (VMA) handling. The vulnerability was reported on August 19, 2025, and affects the Linux kernel's mm subsystem. The issue occurs when VMA's mm is freed after vm_refcnt is dropped, potentially leading to memory corruption (NVD).
The vulnerability stems from a race condition in the lock_vma_under_rcu() function where a VMA may be concurrently freed and recycled by another process while being accessed. The issue became possible after VMAs were allowed to be recycled by adding SLAB_TYPESAFE_BY_RCU to their cache. When vma_start_read() increments vma->vm_refcnt, it can return a recycled VMA, leading to a mismatching ->vm_mm pointer. This causes vma_end_read() to drop the VMA through vma_refcount_put(), which incorrectly assumes the caller is keeping the VMA's mm alive (NVD).
The vulnerability can result in a use-after-free condition when rcuwait_wake_up() is called with a potentially freed mm structure. This could lead to memory corruption and potential system crashes or security implications in the Linux kernel (NVD).
The issue has been fixed by moving vma->vm_mm verification into vma_start_read() and grabbing vma->vm_mm to stabilize it before vma_refcount_put() operation. Several Linux distributions have released patches to address this vulnerability, including Ubuntu which has fixed it in version 6.8.0-40.40 for some of its distributions (NVD).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."