CVE-2025-38499
clone_private_mnt(): make sure that caller has CAP_SYS_ADMIN in the right userns
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 427215d85e8d1476da1a86b8d67aceb485eb3631, < 36fecd740de2d542d2091d65d36554ee2bcf9c65; >= 427215d85e8d1476da1a86b8d67aceb485eb3631, < d717325b5ecf2a40daca85c61923e17f32306179; >= 427215d85e8d1476da1a86b8d67aceb485eb3631, < dc6a664089f10eab0fb36b6e4f705022210191d2; >= 427215d85e8d1476da1a86b8d67aceb485eb3631, < e77078e52fbf018ab986efb3c79065ab35025607; >= 427215d85e8d1476da1a86b8d67aceb485eb3631, < 38628ae06e2a37770cd794802a3f1310cf9846e3; >= 427215d85e8d1476da1a86b8d67aceb485eb3631, < c28f922c9dcee0e4876a2c095939d77fe7e15116; c6e8810d25295acb40a7b69ed3962ff181919571; e3eee87c846dc47f6d8eb6d85e7271f24122a279; 517b875dfbf58f0c6c9e32dc90f5cf42d71a42ce; 963d85d630dabe75a3cfde44a006fec3304d07b8; …
- Anyone running Linux 5.14
Vulnerability facts
- Affected
- Linux >= 427215d85e8d1476da1a86b8d67aceb485eb3631, < 36fecd740de2d542d2091d65d36554ee2bcf9c65; >= 427215d85e8d1476da1a86b8d67aceb485eb3631, < d717325b5ecf2a40daca85c61923e17f32306179; >= 427215d85e8d1476da1a86b8d67aceb485eb3631, < dc6a664089f10eab0fb36b6e4f705022210191d2; >= 427215d85e8d1476da1a86b8d67aceb485eb3631, < e77078e52fbf018ab986efb3c79065ab35025607; >= 427215d85e8d1476da1a86b8d67aceb485eb3631, < 38628ae06e2a37770cd794802a3f1310cf9846e3; >= 427215d85e8d1476da1a86b8d67aceb485eb3631, < c28f922c9dcee0e4876a2c095939d77fe7e15116; c6e8810d25295acb40a7b69ed3962ff181919571; e3eee87c846dc47f6d8eb6d85e7271f24122a279; 517b875dfbf58f0c6c9e32dc90f5cf42d71a42ce; 963d85d630dabe75a3cfde44a006fec3304d07b8; …; Linux 5.14
- Fixed in
- Linux 36fecd740de2d542d2091d65d36554ee2bcf9c65, Linux 38628ae06e2a37770cd794802a3f1310cf9846e3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.29% chance of exploitation in 30 days (percentile 14, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: clone_private_mnt(): make sure that caller has CAP_SYS_ADMIN in the right userns What we want is to verify there is that clone won't expose something hidden by a mount we wouldn't be able to undo. "Wouldn't be able to undo" may be a result of MNT_LOCKED on a child, but it may also come from lacking admin rights in the userns of the namespace mount belongs to. clone_private_mnt() checks the former, but not the latter. There's a number of rather confusing CAP_SYS_ADMIN checks in various userns during the mount, especially with the new mount API; they serve different purposes and in case of clone_private_mnt() they usually, but not always end up covering the missing check mentioned above.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 427215d85e8d1476da1a86b8d67aceb485eb3631, < 36fecd740de2d542d2091d65d36554ee2bcf9c65; >= 427215d85e8d1476da1a86b8d67aceb485eb3631, < d717325b5ecf2a40daca85c61923e17f32306179; >= 427215d85e8d1476da1a86b8d67aceb485eb3631, < dc6a664089f10eab0fb36b6e4f705022210191d2; >= 427215d85e8d1476da1a86b8d67aceb485eb3631, < e77078e52fbf018ab986efb3c79065ab35025607; >= 427215d85e8d1476da1a86b8d67aceb485eb3631, < 38628ae06e2a37770cd794802a3f1310cf9846e3; >= 427215d85e8d1476da1a86b8d67aceb485eb3631, < c28f922c9dcee0e4876a2c095939d77fe7e15116; c6e8810d25295acb40a7b69ed3962ff181919571; e3eee87c846dc47f6d8eb6d85e7271f24122a279; 517b875dfbf58f0c6c9e32dc90f5cf42d71a42ce; 963d85d630dabe75a3cfde44a006fec3304d07b8; … | — | cvelist |
| Linux | 5.14 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-38499. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-38499.md Affected: Linux >= 427215d85e8d1476da1a86b8d67aceb485eb3631, < 36fecd740de2d542d2091d65d36554ee2bcf9c65; >= 427215d85e8d1476da1a86b8d67aceb485eb3631, < d717325b5ecf2a40daca85c61923e17f32306179; >= 427215d85e8d1476da1a86b8d67aceb485eb3631, < dc6a664089f10eab0fb36b6e4f705022210191d2; >= 427215d85e8d1476da1a86b… Fixed in: Linux 36fecd740de2d542d2091d65d36554ee2bcf9c65, Linux 38628ae06e2a37770cd794802a3f1310cf9846e3 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/36fecd740de2d542d2091d65d36554ee2bcf9c65
- https://git.kernel.org/stable/c/d717325b5ecf2a40daca85c61923e17f32306179
- https://git.kernel.org/stable/c/dc6a664089f10eab0fb36b6e4f705022210191d2
- https://git.kernel.org/stable/c/e77078e52fbf018ab986efb3c79065ab35025607
- https://git.kernel.org/stable/c/38628ae06e2a37770cd794802a3f1310cf9846e3
- https://git.kernel.org/stable/c/c28f922c9dcee0e4876a2c095939d77fe7e15116
FAQ
Is CVE-2025-38499 being exploited?
There is no confirmed exploitation: CVE-2025-38499 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-38499?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-38499?
Linux >= 427215d85e8d1476da1a86b8d67aceb485eb3631, < 36fecd740de2d542d2091d65d36554ee2bcf9c65; >= 427215d85e8d1476da1a86b8d67aceb485eb3631, < d717325b5ecf2a40daca85c61923e17f32306179; >= 427215d85e8d1476da1a86b8d67aceb485eb3631, < dc6a664089f10eab0fb36b6e4f705022210191d2; >= 427215d85e8d1476da1a86b8d67aceb485eb3631, < e77078e52fbf018ab986efb3c79065ab35025607; >= 427215d85e8d1476da1a86b8d67aceb485eb3631, < 38628ae06e2a37770cd794802a3f1310cf9846e3; >= 427215d85e8d1476da1a86b8d67aceb485eb3631, < c28f922c9dcee0e4876a2c095939d77fe7e15116; c6e8810d25295acb40a7b69ed3962ff181919571; e3eee87c846dc47f6d8eb6d85e7271f24122a279; 517b875dfbf58f0c6c9e32dc90f5cf42d71a42ce; 963d85d630dabe75a3cfde44a006fec3304d07b8; …; Linux 5.14.
Is there a fix for CVE-2025-38499?
Yes. Fixed in Linux 36fecd740de2d542d2091d65d36554ee2bcf9c65, Linux 38628ae06e2a37770cd794802a3f1310cf9846e3. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2025-38499?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.