clone_private_mnt(): make sure that caller has CAP_SYS_ADMIN in the right userns
Summary
| CVE | CVE-2025-38499 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-08-11 16:15:30 UTC |
| Updated | 2026-05-12 13:16:51 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 5.5 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Problem Types: NVD-CWE-noinfo
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 427215d85e8d1476da1a86b8d67aceb485eb3631 36fecd740de2d542d2091d65d36554ee2bcf9c65 git | Not specified |
| CNA | Linux | Linux | affected 427215d85e8d1476da1a86b8d67aceb485eb3631 d717325b5ecf2a40daca85c61923e17f32306179 git | Not specified |
| CNA | Linux | Linux | affected 427215d85e8d1476da1a86b8d67aceb485eb3631 dc6a664089f10eab0fb36b6e4f705022210191d2 git | Not specified |
| CNA | Linux | Linux | affected 427215d85e8d1476da1a86b8d67aceb485eb3631 e77078e52fbf018ab986efb3c79065ab35025607 git | Not specified |
| CNA | Linux | Linux | affected 427215d85e8d1476da1a86b8d67aceb485eb3631 38628ae06e2a37770cd794802a3f1310cf9846e3 git | Not specified |
| CNA | Linux | Linux | affected 427215d85e8d1476da1a86b8d67aceb485eb3631 c28f922c9dcee0e4876a2c095939d77fe7e15116 git | Not specified |
| CNA | Linux | Linux | affected c6e8810d25295acb40a7b69ed3962ff181919571 git | Not specified |
| CNA | Linux | Linux | affected e3eee87c846dc47f6d8eb6d85e7271f24122a279 git | Not specified |
| CNA | Linux | Linux | affected 517b875dfbf58f0c6c9e32dc90f5cf42d71a42ce git | Not specified |
| CNA | Linux | Linux | affected 963d85d630dabe75a3cfde44a006fec3304d07b8 git | Not specified |
| CNA | Linux | Linux | affected 812f39ed5b0b7f34868736de3055c92c7c4cf459 git | Not specified |
| CNA | Linux | Linux | affected 6a002d48a66076524f67098132538bef17e8445e git | Not specified |
| CNA | Linux | Linux | affected 41812f4b84484530057513478c6770590347dc30 git | Not specified |
| CNA | Linux | Linux | affected 5.14 | Not specified |
| CNA | Linux | Linux | unaffected 5.14 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.190 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.147 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.100 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.40 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.15.3 6.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.16 * original_commit_for_fix | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.5 * custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.5 * custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.5 * custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.5 * custom | Not specified |
| ADP | Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.5 * custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/36fecd740de2d542d2091d65d36554ee2bcf9c65 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| lists.debian.org/debian-lts-announce/2025/10/msg00008.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | Third Party Advisory |
| cert-portal.siemens.com/productcert/html/ssa-082556.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| git.kernel.org/stable/c/c28f922c9dcee0e4876a2c095939d77fe7e15116 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/e77078e52fbf018ab986efb3c79065ab35025607 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/d717325b5ecf2a40daca85c61923e17f32306179 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/38628ae06e2a37770cd794802a3f1310cf9846e3 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/dc6a664089f10eab0fb36b6e4f705022210191d2 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.