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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
427215d85e8d1476da1a86b8d67aceb485eb3631 to < 36fecd740de2d542d2091d65d36554ee2bcf9c65affected427215d85e8d1476da1a86b8d67aceb485eb3631 to < d717325b5ecf2a40daca85c61923e17f32306179affected427215d85e8d1476da1a86b8d67aceb485eb3631 to < dc6a664089f10eab0fb36b6e4f705022210191d2affected427215d85e8d1476da1a86b8d67aceb485eb3631 to < e77078e52fbf018ab986efb3c79065ab35025607affected427215d85e8d1476da1a86b8d67aceb485eb3631 to < 38628ae06e2a37770cd794802a3f1310cf9846e3affected427215d85e8d1476da1a86b8d67aceb485eb3631 to < c28f922c9dcee0e4876a2c095939d77fe7e15116affectedc6e8810d25295acb40a7b69ed3962ff181919571affectede3eee87c846dc47f6d8eb6d85e7271f24122a279affected517b875dfbf58f0c6c9e32dc90f5cf42d71a42ceaffected963d85d630dabe75a3cfde44a006fec3304d07b8affected812f39ed5b0b7f34868736de3055c92c7c4cf459affected6a002d48a66076524f67098132538bef17e8445eaffected41812f4b84484530057513478c6770590347dc30affected4.4.281 to < 4.5affected4.9.280 to < 4.10affected4.14.244 to < 4.15affected4.19.204 to < 4.20affected5.4.141 to < 5.5affected5.10.59 to < 5.11affected5.13.11 to < 5.14affected
Linux Linux
Default version status: affected
5.14affected0 to < 5.14unaffected5.15.190 to ≤ 5.15.*unaffected6.1.147 to ≤ 6.1.*unaffected6.6.100 to ≤ 6.6.*unaffected6.12.40 to ≤ 6.12.*unaffected6.15.3 to ≤ 6.15.*unaffected6.16 to ≤ *unaffected
References
- 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 ↗
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html ↗
- https://cert-portal.siemens.com/productcert/html/ssa-082556.html ↗