CVE-2024-50204
JSON

5.5medium

fs: don't try and remove empty rbtree node

Severity
5.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.18% (higher than 7% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: fs: don't try and remove empty rbtree node When copying a namespace we won't have added the new copy into the namespace rbtree until after the copy succeeded. Calling free_mnt_ns() will try to remove the copy from the rbtree which is invalid. Simply free the namespace skeleton directly.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 1901c92497bd90caf608a474f1bf4d8795b372a2 before a8b155a2c30dc9a5ba837aa5fcba9a47cc031a9b, from 1901c92497bd90caf608a474f1bf4d8795b372a2 before 229fd15908fe1f99b1de4cde3326e62d1e892611, 6.11
Not affected: before 6.11, from 6.11.6 up to 6.11.*, from 6.12 up to *
CVE List
linux linux_kernelfrom 6.11 before 6.11.6, 6.12NVD

All scores

CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: fs: don't try and remove empty rbtree node When copying a namespace we won't have added the new copy into the namespace rbtree until after the copy succeeded. Calling free_mnt_ns() will try to remove the copy from the rbtree which is invalid. Simply free the namespace skeleton directly.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: fs: no intente eliminar un nodo rbtree vacío Al copiar un espacio de nombres, no habremos agregado la nueva copia al rbtree del espacio de nombres hasta que la copia haya tenido éxito. Al llamar a free_mnt_ns() se intentará eliminar la copia del rbtree que no es válida. Simplemente libere el esqueleto del espacio de nombres directamente.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-50204 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-50204 changed 2026-06-17Public domain