
Cloud Vulnerability DB
A community-led vulnerabilities database
A vulnerability in the Linux kernel (CVE-2025-39992) was discovered that affects the memory management subsystem, specifically related to swap operations. The issue was disclosed on October 15, 2025, and involves a race condition between fork() operations and swapoff that can lead to a NULL pointer dereference (NVD).
The vulnerability occurs in the mm/swap subsystem when traversing virtual memory areas (VMAs) in unuse_mm() called from the swapoff path. The issue manifests as a race condition between fork(dup_mmap()) and swapoff(unuse_mm) operations, where accessing a zero entry causes an OOPS with a NULL pointer dereference at virtual address 0x446. The error occurs when loading memory from offset 0x40 on the XA_ZERO_ENTRY (NVD).
When exploited, this vulnerability can cause a kernel OOPS (kernel panic) due to the NULL pointer dereference, potentially leading to system instability or denial of service. The issue affects systems that utilize swap space and perform fork operations (NVD).
The vulnerability requires a specific timing condition between fork operations and swap-off commands to be triggered. It can be reached through normal system operations when a process performs a fork while the system is attempting to disable swap space (NVD).
Two potential fixes have been identified: 1) A proper fix involving preventing exposure of partially-valid trees to others when dropping the mmap lock, and 2) A simpler solution involving checking for MMF_UNSTABLE, which is set if mm_struct is not fully initialized in dup_mmap() (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."