# CVE-2025-40195: mount: handle NULL values in mnt_ns_release()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 9% of CVEs (2026-12-01)
- Published: 2025-11-12T21:56:32.311Z
- Modified: 2026-10-19T21:10:00.160Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 1901c92497bd90caf608a474f1bf4d8795b372a2 before 2d68f8a7379d9c61005e982600c61948d4d019bd; from 1901c92497bd90caf608a474f1bf4d8795b372a2 before 99ae3e70a293834d0274c46a37120c71a24a4995; from 1901c92497bd90caf608a474f1bf4d8795b372a2 before 6c7ca6a02f8f9549a438a08a23c6327580ecf3d6; 6.11 (not affected: before 6.11; from 6.12.54 up to 6.12.*; from 6.17.4 up to 6.17.*; from 6.18 up to *)

## References

- <https://git.kernel.org/stable/c/2d68f8a7379d9c61005e982600c61948d4d019bd>
- <https://git.kernel.org/stable/c/99ae3e70a293834d0274c46a37120c71a24a4995>
- <https://git.kernel.org/stable/c/6c7ca6a02f8f9549a438a08a23c6327580ecf3d6>

## Sources

- CVE List: [CVE-2025-40195](https://www.cve.org/CVERecord?id=CVE-2025-40195), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-40195](https://nvd.nist.gov/vuln/detail/CVE-2025-40195), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-40195 · Whole record: https://cve.day/CVE-2025-40195.json · Rebuilt by cve.day 2026-11-25T22:59:07.596Z
