{"id":"CVE-2025-38247","published":"2025-07-09T10:42:28Z","modified":"2026-05-11T21:24:06Z","title":"userns and mnt_idmap leak in open_tree_attr(2)","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nuserns and mnt_idmap leak in open_tree_attr(2)\n\nOnce want_mount_setattr() has returned a positive, it does require\nfinish_mount_kattr() to release ->mnt_userns.  Failing do_mount_setattr()\ndoes not change that.\n\nAs the result, we can end up leaking userns and possibly mnt_idmap as\nwell.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00143,"percentile":0.03698,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/142db4e76110dd80239f4e79810f85ea1735ad60","tags":[]},{"url":"https://git.kernel.org/stable/c/0748e553df0225754c316a92af3a77fdc057b358","tags":[]}],"priority":{"score":0.7,"factors":[{"name":"EPSS percentile","points":0.74}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= c4a16820d90199409c9bf01c4f794e1e9e8d8fd8, < 142db4e76110dd80239f4e79810f85ea1735ad60",">= c4a16820d90199409c9bf01c4f794e1e9e8d8fd8, < 0748e553df0225754c316a92af3a77fdc057b358"]},{"vendor":"Linux","product":"Linux","versions":["6.15"]}],"euvd":{"id":"EUVD-2025-20814","exploited":false,"provenance":"source"}}