CVE-2025-38499

published 11 Aug 2025 · updated 17 Nov 2026

clone_private_mnt(): make sure that caller has CAP_SYS_ADMIN in the right userns

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.5, Kernel 4.15, Kernel 4.20 and 15 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=5.4.141 <5.5, >=4.14.244 <4.15, >=4.19.204 <4.20, >=4.4.281 <4.5, >=4.9.280 <4.10, >=427215d85e8d1476da1a86b8d67aceb485eb3631 <36fecd740de2d542d2091d65d36554ee2bcf9c65, >=427215d85e8d1476da1a86b8d67aceb485eb3631 <38628ae06e2a37770cd794802a3f1310cf9846e3, >=427215d85e8d1476da1a86b8d67aceb485eb3631 <c28f922c9dcee0e4876a2c095939d77fe7e15116, >=427215d85e8d1476da1a86b8d67aceb485eb3631 <d717325b5ecf2a40daca85c61923e17f32306179, >=427215d85e8d1476da1a86b8d67aceb485eb3631 <dc6a664089f10eab0fb36b6e4f705022210191d2, >=427215d85e8d1476da1a86b8d67aceb485eb3631 <e77078e52fbf018ab986efb3c79065ab35025607, >=5.10.59 <5.11, >=5.13.11 <5.14, =41812f4b84484530057513478c6770590347dc30, =5.14, =517b875dfbf58f0c6c9e32dc90f5cf42d71a42ce, =6a002d48a66076524f67098132538bef17e8445e, =812f39ed5b0b7f34868736de3055c92c7c4cf459, =963d85d630dabe75a3cfde44a006fec3304d07b8, =c6e8810d25295acb40a7b69ed3962ff181919571, =e3eee87c846dc47f6d8eb6d85e7271f24122a2795.5, 4.15, 4.20, 4.5, 4.10, 36fecd740de2d542d2091d65d36554ee2bcf9c65, 38628ae06e2a37770cd794802a3f1310cf9846e3, c28f922c9dcee0e4876a2c095939d77fe7e15116, d717325b5ecf2a40daca85c61923e17f32306179, dc6a664089f10eab0fb36b6e4f705022210191d2, e77078e52fbf018ab986efb3c79065ab35025607, 5.11, 5.14
linux-kernel: Kernel>=4.19.204 <4.20, >=4.4.281 <4.5, >=4.9.280 <4.10, >=5.10.59 <5.11, >=5.13.11 <5.14, >=5.14.0 <5.15.190, >=5.16.0 <6.1.147, >=5.4.141 <5.5, >=6.13.0 <6.15.3, >=6.2.0 <6.6.100, >=6.7.0 <6.12.40, >=4.14.244 <4.154.20, 4.5, 4.10, 5.11, 5.14, 5.15.190, 6.1.147, 5.5, 6.15.3, 6.6.100, 6.12.40, 4.15

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-38499 severity on Zeptric[![CVE-2025-38499](https://zeptric.io/badge/cve/CVE-2025-38499.svg)](https://zeptric.io/cve/CVE-2025-38499)