CVE-2024-58058
JSON

5.5medium

ubifs: skip dumping tnc tree when zroot is null

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

Description

In the Linux kernel, the following vulnerability has been resolved: ubifs: skip dumping tnc tree when zroot is null Clearing slab cache will free all znode in memory and make c->zroot.znode = NULL, then dumping tnc tree will access c->zroot.znode which cause null pointer dereference.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d before 428aff8f7cfb0d9a8854477648022cef96bcab28, from 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d before 6211c11fc20424bbc6d79c835c7c212b553ae898, from 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d before 1787cd67bb94b106555ffe64f887f6aa24b47010, from 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d before e01b55f261ccc96e347eba4931e4429d080d879d, from 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d before 40e25a3c0063935763717877bb2a814c081509ff, from 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d before 77e5266e3d3faa6bdcf20d9c68a8972f6aa06522, from 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d before 2a987950df825d0144370e700dc5fb337684ffba, from 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d before bdb0ca39e0acccf6771db49c3f94ed787d05f2d7 and 1 more
Not affected: before 2.6.27, from 5.4.291 up to 5.4.*, from 5.10.235 up to 5.10.*, from 5.15.179 up to 5.15.*, from 6.1.129 up to 6.1.*, from 6.6.76 up to 6.6.*
CVE List
linux linux_kernelfrom 2.6.27 before 5.4.291, from 5.5 before 5.10.235, from 5.11 before 5.15.179, from 5.16 before 6.1.129, from 6.2 before 6.6.76, from 6.7 before 6.12.13, from 6.13 before 6.13.2NVD

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

CWE-476

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: ubifs: skip dumping tnc tree when zroot is null Clearing slab cache will free all znode in memory and make c->zroot.znode = NULL, then dumping tnc tree will access c->zroot.znode which cause null pointer dereference.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ubifs: omite el volcado del árbol tnc cuando zroot es nulo. Limpiar el caché de slab liberará todos los znode en la memoria y hará que c->zroot.znode = NULL, luego, al volcar el árbol tnc se accederá a c->zroot.znode, lo que provocará una desreferencia del puntero nulo.

References

https://git.kernel.org/stable/c/428aff8f7cfb0d9a8854477648022cef96bcab28patch
https://git.kernel.org/stable/c/6211c11fc20424bbc6d79c835c7c212b553ae898patch
https://git.kernel.org/stable/c/1787cd67bb94b106555ffe64f887f6aa24b47010patch
https://git.kernel.org/stable/c/e01b55f261ccc96e347eba4931e4429d080d879dpatch
https://git.kernel.org/stable/c/40e25a3c0063935763717877bb2a814c081509ffpatch
https://git.kernel.org/stable/c/77e5266e3d3faa6bdcf20d9c68a8972f6aa06522patch
https://git.kernel.org/stable/c/2a987950df825d0144370e700dc5fb337684ffbapatch
https://git.kernel.org/stable/c/bdb0ca39e0acccf6771db49c3f94ed787d05f2d7patch
https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html
https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html
https://cert-portal.siemens.com/productcert/html/ssa-265688.html
https://cert-portal.siemens.com/productcert/html/ssa-019113.html

Sources

SourceRecordLicence
CVE ListCVE-2024-58058 changed 2026-11-10CVE Terms of Use
NVDCVE-2024-58058 changed 2026-11-10Public domain