CVE-2025-40195 Details
Description
In the Linux kernel, the following vulnerability has been resolved: mount: handle NULL values in mnt_ns_release() When calling in listmount() mnt_ns_release() may be passed a NULL pointer. Handle that case gracefully.
A vulnerability in the Linux kernel's handling of mount namespace releases can lead to a NULL pointer dereference. This issue occurs in the 'mnt_ns_release()' function, which may be called with a NULL pointer when invoked from 'listmount()'. The vulnerability has been addressed by adding a check to ensure the pointer is not NULL before proceeding with the release process.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been patched. Instructions for downloading the patched kernel can be found in the Linux kernel documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 12, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/2d68f8a7379d9c61005e982600c61948d4d019bd | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/6c7ca6a02f8f9549a438a08a23c6327580ecf3d6 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/99ae3e70a293834d0274c46a37120c71a24a4995 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 12, 2025 | New CVE Received | kernel.org |
Volerion