5.5
MEDIUM
CVE-2024-58058
Linux Kernel Null Pointer Dereference in ubifs
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.

INFO

Published Date :

March 6, 2025, 4:15 p.m.

Last Modified :

March 25, 2025, 2:35 p.m.

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67

Remotely Exploitable :

No

Impact Score :

3.6

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2024-58058 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-58058 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-58058 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Mar. 25, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Added CWE CWE-476
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.13.2 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.76 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.13 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.179 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.129 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.235 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 2.6.27 up to (excluding) 5.4.291
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/1787cd67bb94b106555ffe64f887f6aa24b47010 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/2a987950df825d0144370e700dc5fb337684ffba Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/40e25a3c0063935763717877bb2a814c081509ff Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/428aff8f7cfb0d9a8854477648022cef96bcab28 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/6211c11fc20424bbc6d79c835c7c212b553ae898 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/77e5266e3d3faa6bdcf20d9c68a8972f6aa06522 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/bdb0ca39e0acccf6771db49c3f94ed787d05f2d7 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/e01b55f261ccc96e347eba4931e4429d080d879d Types: Patch
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Mar. 13, 2025

    Action Type Old Value New Value
    Added Reference https://git.kernel.org/stable/c/1787cd67bb94b106555ffe64f887f6aa24b47010
    Added Reference https://git.kernel.org/stable/c/428aff8f7cfb0d9a8854477648022cef96bcab28
    Added Reference https://git.kernel.org/stable/c/6211c11fc20424bbc6d79c835c7c212b553ae898
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Mar. 06, 2025

    Action Type Old Value New Value
    Added 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.
    Added Reference https://git.kernel.org/stable/c/2a987950df825d0144370e700dc5fb337684ffba
    Added Reference https://git.kernel.org/stable/c/40e25a3c0063935763717877bb2a814c081509ff
    Added Reference https://git.kernel.org/stable/c/77e5266e3d3faa6bdcf20d9c68a8972f6aa06522
    Added Reference https://git.kernel.org/stable/c/bdb0ca39e0acccf6771db49c3f94ed787d05f2d7
    Added Reference https://git.kernel.org/stable/c/e01b55f261ccc96e347eba4931e4429d080d879d
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-58058 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-58058 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability