CVE-2025-38247Missing Release of Resource after Effective Lifetime in Linux

Severity
5.5MEDIUMNVD
EPSS
0.0%
top 92.28%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJul 9

Description

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.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages3 packages

NVDlinux/linux_kernel6.156.15.5+1
CVEListV5linux/linuxc4a16820d90199409c9bf01c4f794e1e9e8d8fd8142db4e76110dd80239f4e79810f85ea1735ad60+2
debiandebian/linux

Patches

🔴Vulnerability Details

2
OSV
CVE-2025-38247: 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 retur2025-07-09
GHSA
GHSA-3w4f-86g3-p6vp: 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 ret2025-07-09

📋Vendor Advisories

2
Red Hat
kernel: userns and mnt_idmap leak in open_tree_attr(2)2025-07-09
Debian
CVE-2025-38247: linux - In the Linux kernel, the following vulnerability has been resolved: userns and ...2025
CVE-2025-38247 — Linux vulnerability | cvebase