CVE-2025-38247

high

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.

References

https://git.kernel.org/stable/c/142db4e76110dd80239f4e79810f85ea1735ad60

https://git.kernel.org/stable/c/0748e553df0225754c316a92af3a77fdc057b358

Details

Source: Mitre, NVD

Published: 2025-07-09

Updated: 2025-07-09

Risk Information

CVSS v2

Base Score: 6.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

Severity: Medium

CVSS v3

Base Score: 7.1

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Severity: High

EPSS

EPSS: 0.00018