CVE-2024-58058: ubifs: skip dumping tnc tree when zroot is null
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.
Security readout for executives and security teams
Plain-English summary
CVE-2024-58058 is a Linux kernel UBIFS availability flaw. A local, low-privileged user could trigger a null pointer dereference and crash affected systems. The business impact is downtime, not data theft or privilege escalation based on the provided CVSS and description.
Executive priority
Treat as a moderate availability risk. Patch through normal kernel maintenance, accelerating for multi-user systems or devices where outages carry operational impact. It is not supported as remotely exploitable or actively exploited in the provided sources.
Technical view
UBIFS may free znodes while clearing slab cache, leaving c->zroot.znode null. Later TNC tree dumping dereferences that null pointer, causing a kernel crash. The CVE maps to CWE-476 and has CVSS 3.1 score 5.5: local attack vector, low complexity, low privileges, no user interaction, high availability impact.
Likely exposure
Exposure is limited to Linux systems running affected kernel versions with UBIFS code reachable. The bundle lists Linux kernel versions and stable kernel fixes, plus Debian LTS references. It does not identify internet-facing exposure or specific downstream products beyond the advisory links.
Exploitation context
No active exploitation is supported by the source bundle, and KEV is false. Exploitation requires local access and low privileges, with availability impact only. The evidence does not show remote exploitation, confidentiality impact, integrity impact, or public weaponization.
Researcher notes
The core condition is a null c->zroot.znode after slab cache clearing, followed by TNC tree dumping. Version data in the bundle is broad and commit-oriented, so validation should rely on vendor backport status rather than raw version comparison alone.
Mitigation direction
Apply vendor or distribution kernel updates that include the referenced stable fixes.
Review Debian LTS and other vendor advisories for backported kernel package status.
Prioritize systems where untrusted local users can access UBIFS-related functionality.
If patching is delayed, reduce unnecessary local user access on affected systems.
Validation and detection
Inventory Linux kernel versions across servers, appliances, and embedded systems.
Check whether affected systems use or expose UBIFS functionality.
Confirm installed kernels include the relevant stable fix or vendor backport.
Review crash logs for UBIFS null pointer dereference indicators.
Track vendor advisories for downstream product-specific applicability.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-476: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-476 · source CWE mapping
NULL Pointer Dereference
NULL Pointer Dereference represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.