
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-40195 is a NULL pointer dereference vulnerability in the Linux kernel's mount namespace release mechanism. Specifically, mnt_ns_release() may be passed a NULL pointer when invoked from the listmount() system call, and the function did not previously handle this case gracefully. The vulnerability was published on November 12, 2025, and affects Linux kernel versions prior to the patched releases 6.12.54, 6.17.4, and 6.18-rc1. It carries a CVSS v3.1 base score of 5.5 (Medium), with availability impact rated High and no confidentiality or integrity impact (Feedly, MSRC).
The root cause is a missing NULL pointer check in the mnt_ns_release() function within the Linux kernel's mount subsystem (CWE classification: NULL Pointer Dereference). When listmount() calls mnt_ns_release(), it can supply a NULL pointer under certain conditions, which — without a guard — causes a kernel-level dereference of an invalid address. The fix adds a graceful NULL check at the entry of mnt_ns_release() to prevent the dereference. Exploitation requires local access with low privileges, as the attacker must be able to invoke the listmount() system call (Feedly, kernel.org patches).
Successful exploitation of this vulnerability can cause kernel instability or a denial-of-service condition by triggering a NULL pointer dereference in kernel space, potentially crashing the affected system or causing unexpected behavior in mount namespace operations. There is no impact on confidentiality or data integrity; the primary risk is availability. The vulnerability is locally exploitable and does not provide a path to privilege escalation or lateral movement based on current analysis (Feedly).
The Linux kernel project has released patches addressing this vulnerability in versions 6.12.54, 6.17.4, and 6.18-rc1. Microsoft has also issued a patch for its Azure Linux 3 kernel package (azl3_kernel_6.6.112.1-2). Administrators should update to a patched kernel version as soon as possible. No configuration-based workaround is known; upgrading the kernel is the recommended remediation (MSRC, Feedly).
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."