We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-38499

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



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.

Reserved 2025-04-16 | Published 2025-08-11 | Updated 2025-08-11 | Assigner Linux

Product status

Default status
unaffected

427215d85e8d1476da1a86b8d67aceb485eb3631 before d717325b5ecf2a40daca85c61923e17f32306179
affected

427215d85e8d1476da1a86b8d67aceb485eb3631 before dc6a664089f10eab0fb36b6e4f705022210191d2
affected

427215d85e8d1476da1a86b8d67aceb485eb3631 before e77078e52fbf018ab986efb3c79065ab35025607
affected

427215d85e8d1476da1a86b8d67aceb485eb3631 before 38628ae06e2a37770cd794802a3f1310cf9846e3
affected

427215d85e8d1476da1a86b8d67aceb485eb3631 before c28f922c9dcee0e4876a2c095939d77fe7e15116
affected

c6e8810d25295acb40a7b69ed3962ff181919571
affected

e3eee87c846dc47f6d8eb6d85e7271f24122a279
affected

517b875dfbf58f0c6c9e32dc90f5cf42d71a42ce
affected

963d85d630dabe75a3cfde44a006fec3304d07b8
affected

812f39ed5b0b7f34868736de3055c92c7c4cf459
affected

6a002d48a66076524f67098132538bef17e8445e
affected

41812f4b84484530057513478c6770590347dc30
affected

Default status
affected

5.14
affected

Any version before 5.14
unaffected

6.1.147
unaffected

6.6.100
unaffected

6.12.40
unaffected

6.15.3
unaffected

6.16
unaffected

References

git.kernel.org/...c/d717325b5ecf2a40daca85c61923e17f32306179

git.kernel.org/...c/dc6a664089f10eab0fb36b6e4f705022210191d2

git.kernel.org/...c/e77078e52fbf018ab986efb3c79065ab35025607

git.kernel.org/...c/38628ae06e2a37770cd794802a3f1310cf9846e3

git.kernel.org/...c/c28f922c9dcee0e4876a2c095939d77fe7e15116

cve.org (CVE-2025-38499)

nvd.nist.gov (CVE-2025-38499)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-38499

Support options

Helpdesk Chat, Email, Knowledgebase