# ubifs: skip dumping tnc tree when zroot is null

CVE record · `CVE-2024-58058`

- **Identifiers:** `CVE-2024-58058`
- **State:** Confirmed
- **Severity:** CVSS 5.5 Medium
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-476](https://cwe.mitre.org/data/definitions/476.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 6 Mar 2025
- **Updated:** 10 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 6 Mar 2025, 15:54 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d to before 428aff8f7cfb0d9a8854477648022cef96bcab28` (git)
  - affected: `1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d to before 6211c11fc20424bbc6d79c835c7c212b553ae898` (git)
  - affected: `1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d to before 1787cd67bb94b106555ffe64f887f6aa24b47010` (git)
  - affected: `1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d to before e01b55f261ccc96e347eba4931e4429d080d879d` (git)
  - affected: `1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d to before 40e25a3c0063935763717877bb2a814c081509ff` (git)
  - affected: `1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d to before 77e5266e3d3faa6bdcf20d9c68a8972f6aa06522` (git)
  - affected: `1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d to before 2a987950df825d0144370e700dc5fb337684ffba` (git)
  - affected: `1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d to before bdb0ca39e0acccf6771db49c3f94ed787d05f2d7` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.27`
  - unaffected: `before 2.6.27` (semver)
  - unaffected: `5.4.291 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.235 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.179 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.129 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.76 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.13 to 6.12.*, inclusive` (semver)
  - unaffected: `6.13.2 to 6.13.*, inclusive` (semver)
  - unaffected: `6.14 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel UBIFS filesystem, from 2.6.27 until fixed, can perform a null pointer dereference when the TNC tree is dumped after the slab cache is cleared. The source gives few details on what an attacker needs. Upgrade to 5.4.291, 5.10.235, 5.15.179, or 6.1.129 or later in those series.

Written 19 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

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

- **CISA KEV:** Not listed.
- **EPSS:** 0.0024, the 15th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 6 Mar 2025, 15:54 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2024-58058)
- 6 Mar 2025, 16:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2024-58058)

## Sources

- [CVE List: CVE-2024-58058](https://www.cve.org/CVERecord?id=CVE-2024-58058)
- [NVD: CVE-2024-58058](https://nvd.nist.gov/vuln/detail/CVE-2024-58058)

### References from the CNA

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

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2024-58058>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2024-58058/>. Everything for agents: <https://agentprime.io/llms.txt>.
