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 availability bug in UBIFS. A local, low-privileged user could trigger a null pointer dereference after slab cache clearing leaves the UBIFS root znode null. The documented impact is denial of service, not data theft or privilege escalation.
Executive priority
Treat as a moderate availability risk. It is unlikely to drive emergency internet-wide response, but it can crash affected systems from local access. Patch through normal kernel maintenance, with higher urgency for appliances or shared environments where downtime matters.
Technical view
The flaw is CWE-476 in UBIFS TNC tree dumping. When all in-memory znodes are freed, c->zroot.znode can become NULL. The vulnerable dump path dereferences that NULL pointer, causing a kernel crash. CVSS 3.1 is 5.5: local access, low complexity, low privileges, no user interaction, availability high.
Likely exposure
Exposure is limited to Linux systems running affected kernel builds where UBIFS code paths are present and reachable by a local low-privileged user. Appliances and vendor-maintained Linux distributions should be checked against their advisories and kernel package versions.
Exploitation context
The source bundle does not report active exploitation, and KEV is false. The CVSS vector indicates local, authenticated exploitation with availability impact only. No source provided evidence of remote exploitation, confidentiality loss, integrity loss, or privilege escalation.
Researcher notes
The record names multiple Linux stable commits and Debian LTS advisories. The bundle does not provide full affected-version range semantics beyond listed Linux affected entries, so version conclusions should be validated against distro backports and vendor advisories.
Mitigation direction
Update to vendor kernel packages containing the UBIFS fix.
Track Debian LTS and device vendor advisories for backported fixes.
For appliances, apply Siemens or vendor firmware updates when available.
If immediate patching is impossible, restrict local shell access to affected systems.
Validation and detection
Inventory Linux kernels and identify systems using UBIFS.
Compare kernel package versions with vendor security advisories.
Confirm the relevant stable kernel fix is included or backported.
Prioritize validation on shared systems and managed appliances.
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.