CVE-2025-38247

published 9 Jul 2025 · updated 11 May 2026

userns and mnt_idmap leak in open_tree_attr(2)

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0748e553df0225754c316a92af3a77fdc057b358 and Kernel 142db4e76110dd80239f4e79810f85ea1735ad60.

In the Linux kernel, the following vulnerability has been resolved: userns and mnt_idmap leak in open_tree_attr(2) Once want_mount_setattr() has returned a positive, it does require finish_mount_kattr() to release ->mnt_userns. Failing do_mount_setattr() does not change that. As the result, we can end up leaking userns and possibly mnt_idmap as well.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.15, >=c4a16820d90199409c9bf01c4f794e1e9e8d8fd8 <0748e553df0225754c316a92af3a77fdc057b358, >=c4a16820d90199409c9bf01c4f794e1e9e8d8fd8 <142db4e76110dd80239f4e79810f85ea1735ad600748e553df0225754c316a92af3a77fdc057b358, 142db4e76110dd80239f4e79810f85ea1735ad60

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-38247 severity on Zeptric[![CVE-2025-38247](https://zeptric.io/badge/cve/CVE-2025-38247.svg)](https://zeptric.io/cve/CVE-2025-38247)