IM
IronMonkey Threat Research

CVE-2025-38499 MEDIUM

Published: 2025-08-11 | Last Modified: 2026-05-12 | Status: Modified

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.

Additional Descriptions (1)

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.

CVSS Metrics

Base Score: 5.5 (MEDIUM)

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Attack VectorLOCAL
Attack ComplexityLOW
Privileges RequiredLOW
User InteractionNONE
ScopeUNCHANGED
Confidentiality ImpactNONE
Integrity ImpactNONE
Availability ImpactHIGH

Source: [email protected]

Type: Primary

Exploitability Score: 1.8

Impact Score: 3.6

Weaknesses

Source Type Description
[email protected] Primary
en NVD-CWE-noinfo

Affected Products

Vendor Product Version Update Type
linux linux_kernel * <built-in method update of dict object at 0x702ba6edba40> Operating System
linux linux_kernel * <built-in method update of dict object at 0x702b83f2cdc0> Operating System
linux linux_kernel * <built-in method update of dict object at 0x702bde5353c0> Operating System
linux linux_kernel * <built-in method update of dict object at 0x702bde534500> Operating System
linux linux_kernel * <built-in method update of dict object at 0x702ba6eda700> Operating System
linux linux_kernel * <built-in method update of dict object at 0x702ba6eda5c0> Operating System
linux linux_kernel * <built-in method update of dict object at 0x702b83f2c640> Operating System
linux linux_kernel * <built-in method update of dict object at 0x702bdd7d7940> Operating System
linux linux_kernel * <built-in method update of dict object at 0x702b83f2edc0> Operating System
linux linux_kernel * <built-in method update of dict object at 0x702ba6ed9400> Operating System
linux linux_kernel * <built-in method update of dict object at 0x702b83f2f180> Operating System
linux linux_kernel * <built-in method update of dict object at 0x702bde535d80> Operating System
linux linux_kernel 5.14 <built-in method update of dict object at 0x702bde536dc0> Operating System
linux linux_kernel 5.14 <built-in method update of dict object at 0x702bde537ec0> Operating System
linux linux_kernel 5.14 <built-in method update of dict object at 0x702b83f2ea80> Operating System
debian debian_linux 11.0 <built-in method update of dict object at 0x702bde534a80> Operating System

Affected Configurations

Operator: OR

Vulnerable CPE
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:5.14:-:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:5.14:rc6:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:5.14:rc7:*:*:*:*:*:*

Operator: OR

Vulnerable CPE
Yes cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

References

Notification
Message here