CVE-2025-38247
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-38247 is a vulnerability discovered in the Linux kernel, specifically related to a userns and mntidmap leak in opentree_attr(2) functionality. The vulnerability was disclosed on July 9, 2025 (NVD, Ubuntu).

Technical details

The vulnerability occurs when wantmountsetattr() returns a positive value, requiring finishmountkattr() to release ->mntuserns. However, failing domountsetattr() does not change this requirement, which can result in leaking userns and potentially mntidmap. The vulnerability has been assigned a CVSS v3.1 base score of 5.5, indicating moderate severity (Red Hat).

Impact

The primary impact of this vulnerability is a potential resource leak in the Linux kernel's mount namespace handling, which could lead to system resource exhaustion (NVD).

Mitigation and workarounds

Most major Linux distributions have addressed this vulnerability by marking their systems as 'Not affected' or by providing updates. Ubuntu has confirmed that all their supported releases are not affected by this vulnerability (Ubuntu).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management