CVE Database
/

CVE-2025-38499

Back to search

CVE-2025-38499

Published: Aug 11, 2025

Modified: May 23, 2026

PUBLISHED

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.

VendorProductVersions

Linux

Linux

affected
427215d85e8d1476da1a86b8d67aceb485eb3631 - < 36fecd740de2d542d2091d65d36554ee2bcf9c65
affected
427215d85e8d1476da1a86b8d67aceb485eb3631 - < d717325b5ecf2a40daca85c61923e17f32306179
affected
427215d85e8d1476da1a86b8d67aceb485eb3631 - < dc6a664089f10eab0fb36b6e4f705022210191d2
affected
427215d85e8d1476da1a86b8d67aceb485eb3631 - < e77078e52fbf018ab986efb3c79065ab35025607
affected
427215d85e8d1476da1a86b8d67aceb485eb3631 - < 38628ae06e2a37770cd794802a3f1310cf9846e3

+15 more versions

Linux

Linux

affected
5.14
unaffected
0 - < 5.14
unaffected
5.15.190 - <= 5.15.*
unaffected
6.1.147 - <= 6.1.*
unaffected
6.6.100 - <= 6.6.*

+3 more versions

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now