# CVE-2025-38499: clone_private_mnt(): make sure that caller has CAP_SYS_ADMIN in the right userns

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-08-11T16:01:08.257Z
- Modified: 2026-10-15T22:18:43.140Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 427215d85e8d1476da1a86b8d67aceb485eb3631 before 36fecd740de2d542d2091d65d36554ee2bcf9c65; from 427215d85e8d1476da1a86b8d67aceb485eb3631 before d717325b5ecf2a40daca85c61923e17f32306179; from 427215d85e8d1476da1a86b8d67aceb485eb3631 before dc6a664089f10eab0fb36b6e4f705022210191d2; from 427215d85e8d1476da1a86b8d67aceb485eb3631 before e77078e52fbf018ab986efb3c79065ab35025607; from 427215d85e8d1476da1a86b8d67aceb485eb3631 before 38628ae06e2a37770cd794802a3f1310cf9846e3; from 427215d85e8d1476da1a86b8d67aceb485eb3631 before c28f922c9dcee0e4876a2c095939d77fe7e15116; c6e8810d25295acb40a7b69ed3962ff181919571; e3eee87c846dc47f6d8eb6d85e7271f24122a279; 517b875dfbf58f0c6c9e32dc90f5cf42d71a42ce; 963d85d630dabe75a3cfde44a006fec3304d07b8; 812f39ed5b0b7f34868736de3055c92c7c4cf459; 6a002d48a66076524f67098132538bef17e8445e; and 9 more (not affected: before 5.14; from 5.15.190 up to 5.15.*; from 6.1.147 up to 6.1.*; from 6.6.100 up to 6.6.*; from 6.12.40 up to 6.12.*; from 6.15.3 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 4.4.281 before 4.5; from 4.9.280 before 4.10; from 4.14.244 before 4.15; from 4.19.204 before 4.20; from 5.4.141 before 5.5; from 5.10.59 before 5.11; from 5.13.11 before 5.14; from 5.14.1 before 5.15.190; from 5.16 before 6.1.147; from 6.2 before 6.6.100; from 6.7 before 6.12.40; from 6.13 before 6.15.3; and 1 more
- debian debian_linux: 11.0

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/36fecd740de2d542d2091d65d36554ee2bcf9c65> (patch)
- <https://git.kernel.org/stable/c/d717325b5ecf2a40daca85c61923e17f32306179> (patch)
- <https://git.kernel.org/stable/c/dc6a664089f10eab0fb36b6e4f705022210191d2> (patch)
- <https://git.kernel.org/stable/c/e77078e52fbf018ab986efb3c79065ab35025607> (patch)
- <https://git.kernel.org/stable/c/38628ae06e2a37770cd794802a3f1310cf9846e3> (patch)
- <https://git.kernel.org/stable/c/c28f922c9dcee0e4876a2c095939d77fe7e15116> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html> (third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>

## Sources

- CVE List: [CVE-2025-38499](https://www.cve.org/CVERecord?id=CVE-2025-38499), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-38499](https://nvd.nist.gov/vuln/detail/CVE-2025-38499), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2025-38499 · Whole record: https://cve.day/CVE-2025-38499.json · Rebuilt by cve.day 2026-11-25T22:59:02.275Z
