CVE-2025-38247
publisheduserns and mnt_idmap leak in open_tree_attr(2)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxc4a16820d90199409c9bf01c4f794e1e9e8d8fd8 to < 142db4e76110dd80239f4e79810f85ea1735ad60 · c4a16820d90199409c9bf01c4f794e1e9e8d8fd8 to < 0748e553df0225754c316a92af3a77fdc057b358 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.15 (affected) · 0 to < 6.15 (unaffected · semver) · 6.15.5 through 6.15.* (unaffected · semver) · 6.16 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | c4a16820d90199409c9bf01c4f794e1e9e8d8fd8 to < 142db4e76110dd80239f4e79810f85ea1735ad60 (affected · git)c4a16820d90199409c9bf01c4f794e1e9e8d8fd8 to < 0748e553df0225754c316a92af3a77fdc057b358 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.15 (affected)0 to < 6.15 (unaffected · semver)6.15.5 through 6.15.* (unaffected · semver)6.16 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
userns and mnt_idmap leak in open_tree_attr(2)
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 402838ff05ed96c483fd96d0c263d363f2211cb95970d8cca45dd68d6f61cfcf
- Ingested
- 23 Sep 2026, 08:46:29 UTC
- Source record
- Official CVE record