Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2025-38247

userns and mnt_idmap leak in open_tree_attr(2)

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • c4a16820d90199409c9bf01c4f794e1e9e8d8fd8 to < 142db4e76110dd80239f4e79810f85ea1735ad60affected
  • c4a16820d90199409c9bf01c4f794e1e9e8d8fd8 to < 0748e553df0225754c316a92af3a77fdc057b358affected

Linux Linux

Default version status: affected

  • 6.15affected
  • 0 to < 6.15unaffected
  • 6.15.5 to ≤ 6.15.*unaffected
  • 6.16 to ≤ *unaffected

References