CVE-2024-58058Published Mar 6, 2025 · Mar 6Updated Nov 12
ubifs: skip dumping tnc tree when zroot is null
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d · < 77e5266e3d3faa6bdcf20d9c68a8972f6aa06522| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
In the Linux kernel's UBIFS code, clearing the slab cache can leave the TNC tree root pointer null. Dumping the TNC tree afterward dereferences that pointer; the input does not establish whether an attacker can trigger this, or specify access or authentication requirements.
Engineers running Linux kernels with UBIFS should check their versions against the vendor advisory; affected versions are not specified.