# CVE-2024-58058: ubifs: skip dumping tnc tree when zroot is null

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2025-03-06T15:54:01.033Z
- Modified: 2026-11-10T13:17:29.667Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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; 2.6.27 (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.*; from 6.12.13 up to 6.12.*; from 6.13.2 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 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.2

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/428aff8f7cfb0d9a8854477648022cef96bcab28> (patch)
- <https://git.kernel.org/stable/c/6211c11fc20424bbc6d79c835c7c212b553ae898> (patch)
- <https://git.kernel.org/stable/c/1787cd67bb94b106555ffe64f887f6aa24b47010> (patch)
- <https://git.kernel.org/stable/c/e01b55f261ccc96e347eba4931e4429d080d879d> (patch)
- <https://git.kernel.org/stable/c/40e25a3c0063935763717877bb2a814c081509ff> (patch)
- <https://git.kernel.org/stable/c/77e5266e3d3faa6bdcf20d9c68a8972f6aa06522> (patch)
- <https://git.kernel.org/stable/c/2a987950df825d0144370e700dc5fb337684ffba> (patch)
- <https://git.kernel.org/stable/c/bdb0ca39e0acccf6771db49c3f94ed787d05f2d7> (patch)
- <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>
- <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Sources

- CVE List: [CVE-2024-58058](https://www.cve.org/CVERecord?id=CVE-2024-58058), CVE Terms of Use, modified 2026-11-10
- NVD: [CVE-2024-58058](https://nvd.nist.gov/vuln/detail/CVE-2024-58058), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2024-58058 · Whole record: https://cve.day/CVE-2024-58058.json · Rebuilt by cve.day 2026-11-25T22:58:52.212Z
