CVE-2025-38499

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.14:-:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.14:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.14:rc7:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

History

07 Jan 2026, 16:26

Type Values Removed Values Added
CWE NVD-CWE-noinfo
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CPE cpe:2.3:o:linux:linux_kernel:5.14:rc6:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.14:rc7:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.14:-:*:*:*:*:*:*
References () https://git.kernel.org/stable/c/36fecd740de2d542d2091d65d36554ee2bcf9c65 - () https://git.kernel.org/stable/c/36fecd740de2d542d2091d65d36554ee2bcf9c65 - Patch
References () https://git.kernel.org/stable/c/38628ae06e2a37770cd794802a3f1310cf9846e3 - () https://git.kernel.org/stable/c/38628ae06e2a37770cd794802a3f1310cf9846e3 - Patch
References () https://git.kernel.org/stable/c/c28f922c9dcee0e4876a2c095939d77fe7e15116 - () https://git.kernel.org/stable/c/c28f922c9dcee0e4876a2c095939d77fe7e15116 - Patch
References () https://git.kernel.org/stable/c/d717325b5ecf2a40daca85c61923e17f32306179 - () https://git.kernel.org/stable/c/d717325b5ecf2a40daca85c61923e17f32306179 - Patch
References () https://git.kernel.org/stable/c/dc6a664089f10eab0fb36b6e4f705022210191d2 - () https://git.kernel.org/stable/c/dc6a664089f10eab0fb36b6e4f705022210191d2 - Patch
References () https://git.kernel.org/stable/c/e77078e52fbf018ab986efb3c79065ab35025607 - () https://git.kernel.org/stable/c/e77078e52fbf018ab986efb3c79065ab35025607 - Patch
References () https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html - () https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html - Third Party Advisory
First Time Linux
Debian
Debian debian Linux
Linux linux Kernel

03 Nov 2025, 18:16

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html -

28 Aug 2025, 15:15

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: clone_private_mnt(): asegurar que el llamador tenga CAP_SYS_ADMIN en los usuarios correctos. Lo que queremos es verificar que clone no exponga algo oculto por un montaje que no podamos deshacer. "No se puede deshacer" puede ser el resultado de MNT_LOCKED en un hijo, pero también puede provenir de la falta de derechos de administrador en los usuarios del espacio de nombres al que pertenece el montaje. clone_private_mnt() comprueba lo primero, pero no lo segundo. Hay varias comprobaciones de CAP_SYS_ADMIN bastante confusas en varios usuarios durante el montaje, especialmente con la nueva API de montaje; tienen diferentes propósitos y, en el caso de clone_private_mnt(), generalmente, aunque no siempre, cubren la comprobación faltante mencionada anteriormente.
References
  • () https://git.kernel.org/stable/c/36fecd740de2d542d2091d65d36554ee2bcf9c65 -

11 Aug 2025, 16:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-08-11 16:15

Updated : 2026-01-07 16:26


NVD link : CVE-2025-38499

Mitre link : CVE-2025-38499

CVE.ORG link : CVE-2025-38499


JSON object : View

Products Affected

debian

  • debian_linux

linux

  • linux_kernel