CVE-2025-38499

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

MEDIUM
5.5
CVSS Score
Published: August 11, 2025 at 04:01 PM UTC
Updated: October 15, 2026 at 10:18 PM UTC
5 products affected across 3 vendorsLinux KernelDebian LinuxSIMATIC S7-1500 CPU 1518-4 Pn /dp MFP Firmware

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.14.244 ≤ v < 4.154.19.204 ≤ v < 4.204.4.281 ≤ v < 4.54.9.280 ≤ v < 4.105.10.59 ≤ v < 5.115.13.11 ≤ v < 5.145.14.1 ≤ v < 5.15.1905.16 ≤ v < 6.1.1475.4.141 ≤ v < 5.56.13 ≤ v < 6.15.36.2 ≤ v < 6.6.1006.7 ≤ v < 6.12.404.14.2444.19.2044.4.2814.9.28041812f4b84484530057513478c6770590347dc30427215d85e8d1476da1a86b8d67aceb485eb36315.10.595.13.115.145.14 rc65.14 rc75.4.141517b875dfbf58f0c6c9e32dc90f5cf42d71a42ce6a002d48a66076524f67098132538bef17e8445e812f39ed5b0b7f34868736de3055c92c7c4cf459963d85d630dabe75a3cfde44a006fec3304d07b8c6e8810d25295acb40a7b69ed3962ff181919571e3eee87c846dc47f6d8eb6d85e7271f24122a279
Vendor states this is fixed in 36fecd740de2d542d2091d65d36554ee2bcf9c65 (fixed)
Vendor states this is fixed in 38628ae06e2a37770cd794802a3f1310cf9846e3 (fixed)
Vendor states this is fixed in c28f922c9dcee0e4876a2c095939d77fe7e15116 (fixed)
Vendor states this is fixed in d717325b5ecf2a40daca85c61923e17f32306179 (fixed)
Vendor states this is fixed in dc6a664089f10eab0fb36b6e4f705022210191d2 (fixed)
Vendor states this is fixed in e77078e52fbf018ab986efb3c79065ab35025607 (fixed)
Affected range stops below 4.10, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.15, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.20, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.5, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.11, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 5.14 (unaffected)
Vendor states this is fixed in 5.15.190 (unaffected)
Affected range stops below 5.5, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 6.1.147 (unaffected)
Vendor states this is fixed in 6.12.40 (unaffected)
Vendor states this is fixed in 6.15.3 (unaffected)
Vendor states this is fixed in 6.16 (unaffected)
Vendor states this is fixed in 6.6.100 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/36fecd740de2d542d2091d65d36554ee2bcf9c65
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/38628ae06e2a37770cd794802a3f1310cf9846e3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c28f922c9dcee0e4876a2c095939d77fe7e15116
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d717325b5ecf2a40daca85c61923e17f32306179
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/dc6a664089f10eab0fb36b6e4f705022210191d2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e77078e52fbf018ab986efb3c79065ab35025607
Third Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
Source: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
https://cert-portal.siemens.com/productcert/html/ssa-082556.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card