VYPR
Medium severity5.5NVD Advisory· Published Jul 9, 2025· Updated Jun 17, 2026

CVE-2025-38247

CVE-2025-38247

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.

Affected products

7
  • Linux/Kernelcpe-rescue6 versions
    6.15+ 5 more
    • (no CPE)range: 6.15
    • (no CPE)
    • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*range: >=6.15,<6.15.5
    • cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:6.16:rc3:*:*:*:*:*:*
  • osv-coords
    Range: >= 6.15.0, < 6.15.5

Patches

Vulnerability mechanics

References

2

News mentions

0

No linked articles in our index yet.