CVE-2024-58058
ubifs: skip dumping tnc tree when zroot is null
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < 428aff8f7cfb0d9a8854477648022cef96bcab28; >= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < 6211c11fc20424bbc6d79c835c7c212b553ae898; >= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < 1787cd67bb94b106555ffe64f887f6aa24b47010; >= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < e01b55f261ccc96e347eba4931e4429d080d879d; >= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < 40e25a3c0063935763717877bb2a814c081509ff; >= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < 77e5266e3d3faa6bdcf20d9c68a8972f6aa06522; >= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < 2a987950df825d0144370e700dc5fb337684ffba; >= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < bdb0ca39e0acccf6771db49c3f94ed787d05f2d7
- Anyone running Linux 2.6.27
Vulnerability facts
- Affected
- Linux >= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < 428aff8f7cfb0d9a8854477648022cef96bcab28; >= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < 6211c11fc20424bbc6d79c835c7c212b553ae898; >= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < 1787cd67bb94b106555ffe64f887f6aa24b47010; >= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < e01b55f261ccc96e347eba4931e4429d080d879d; >= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < 40e25a3c0063935763717877bb2a814c081509ff; >= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < 77e5266e3d3faa6bdcf20d9c68a8972f6aa06522; >= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < 2a987950df825d0144370e700dc5fb337684ffba; >= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < bdb0ca39e0acccf6771db49c3f94ed787d05f2d7; Linux 2.6.27
- Fixed in
- Linux 428aff8f7cfb0d9a8854477648022cef96bcab28, Linux 6211c11fc20424bbc6d79c835c7c212b553ae898, Linux 1787cd67bb94b106555ffe64f887f6aa24b47010, Linux 40e25a3c0063935763717877bb2a814c081509ff, Linux 77e5266e3d3faa6bdcf20d9c68a8972f6aa06522, Linux 2a987950df825d0144370e700dc5fb337684ffba
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.31% chance of exploitation in 30 days (percentile 16, 2026-11-26)
- CWE
- CWE-476
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < 428aff8f7cfb0d9a8854477648022cef96bcab28; >= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < 6211c11fc20424bbc6d79c835c7c212b553ae898; >= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < 1787cd67bb94b106555ffe64f887f6aa24b47010; >= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < e01b55f261ccc96e347eba4931e4429d080d879d; >= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < 40e25a3c0063935763717877bb2a814c081509ff; >= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < 77e5266e3d3faa6bdcf20d9c68a8972f6aa06522; >= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < 2a987950df825d0144370e700dc5fb337684ffba; >= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < bdb0ca39e0acccf6771db49c3f94ed787d05f2d7 | — | cvelist |
| Linux | 2.6.27 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-58058. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-58058.md Affected: Linux >= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < 428aff8f7cfb0d9a8854477648022cef96bcab28; >= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < 6211c11fc20424bbc6d79c835c7c212b553ae898; >= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < 1787cd67bb94b106555ffe64f887f6aa24b47010; >= 1e51764a3c2ac05a23a22b2… Fixed in: Linux 428aff8f7cfb0d9a8854477648022cef96bcab28, Linux 6211c11fc20424bbc6d79c835c7c212b553ae898, Linux 1787cd67bb94b106555ffe64f887f6aa24b47010, Linux 40e25a3c0063935763717877bb2a814c081509ff, Linux 77e5266e3d3faa6bdcf20d9c68a8972f6aa06522, Linux 2a987950df825d0144370e700dc5fb337684ffba Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- 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
Other
- 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
FAQ
Is CVE-2024-58058 being exploited?
There is no confirmed exploitation: CVE-2024-58058 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-58058?
Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-58058?
Linux >= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < 428aff8f7cfb0d9a8854477648022cef96bcab28; >= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < 6211c11fc20424bbc6d79c835c7c212b553ae898; >= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < 1787cd67bb94b106555ffe64f887f6aa24b47010; >= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < e01b55f261ccc96e347eba4931e4429d080d879d; >= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < 40e25a3c0063935763717877bb2a814c081509ff; >= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < 77e5266e3d3faa6bdcf20d9c68a8972f6aa06522; >= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < 2a987950df825d0144370e700dc5fb337684ffba; >= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < bdb0ca39e0acccf6771db49c3f94ed787d05f2d7; Linux 2.6.27.
Is there a fix for CVE-2024-58058?
Yes. Fixed in Linux 428aff8f7cfb0d9a8854477648022cef96bcab28, Linux 6211c11fc20424bbc6d79c835c7c212b553ae898, Linux 1787cd67bb94b106555ffe64f887f6aa24b47010, Linux 40e25a3c0063935763717877bb2a814c081509ff, Linux 77e5266e3d3faa6bdcf20d9c68a8972f6aa06522, Linux 2a987950df825d0144370e700dc5fb337684ffba. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2024-58058?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.