Skip to content
Heist/ feed
Back to feed
MediumFix available

ubifs: skip dumping tnc tree when zroot is null

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.235, 5.15.179, 5.4.291, 6.1.129, 6.12.13, 6.13.2, 6.6.76
CVEs
CVE-2024-58058
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 03:32 UTC · Revision 1

Source evidence

ubifs: skip dumping tnc tree when zroot is null

core-osv · Original source

Published 6 Mar 2025, 15:54 UTC

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.

osv:CVE-2024-58058

Kernel

Fixed versions: 5.4.291, 5.10.235, 5.15.179, 6.1.129, 6.6.76, 6.12.13, 6.13.2

Complete source record
{
  "id": "322d17138cda40baf71c6358d406871c851eaddf045674221ccd9798167b461e",
  "url": "https://osv.dev/vulnerability/CVE-2024-58058",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ubifs: skip dumping tnc tree when zroot is null",
    "summary": "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.",
    "evidence": "osv:CVE-2024-58058",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.4.291",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.235",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.179",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.129",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.76",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.13",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.13.2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-58058",
      "aliases": [
        "CVE-2024-58058"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d"
                },
                {
                  "fixed": "428aff8f7cfb0d9a8854477648022cef96bcab28"
                },
                {
                  "fixed": "6211c11fc20424bbc6d79c835c7c212b553ae898"
                },
                {
                  "fixed": "1787cd67bb94b106555ffe64f887f6aa24b47010"
                },
                {
                  "fixed": "e01b55f261ccc96e347eba4931e4429d080d879d"
                },
                {
                  "fixed": "40e25a3c0063935763717877bb2a814c081509ff"
                },
                {
                  "fixed": "77e5266e3d3faa6bdcf20d9c68a8972f6aa06522"
                },
                {
                  "fixed": "2a987950df825d0144370e700dc5fb337684ffba"
                },
                {
                  "fixed": "bdb0ca39e0acccf6771db49c3f94ed787d05f2d7"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-58058.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "2.6.27"
                },
                {
                  "fixed": "5.4.291"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.235"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.179"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.129"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.76"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.13"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.13.2"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-58058.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.886361138Z",
      "provider": "osv",
      "references": [
        "https://cert-portal.siemens.com/productcert/html/ssa-019113.html",
        "https://cert-portal.siemens.com/productcert/html/ssa-265688.html",
        "https://cert-portal.siemens.com/productcert/html/ssa-457936.html",
        "https://cert-portal.siemens.com/productcert/html/ssa-784472.html",
        "https://git.kernel.org/stable/c/1787cd67bb94b106555ffe64f887f6aa24b47010",
        "https://git.kernel.org/stable/c/2a987950df825d0144370e700dc5fb337684ffba",
        "https://git.kernel.org/stable/c/40e25a3c0063935763717877bb2a814c081509ff",
        "https://git.kernel.org/stable/c/428aff8f7cfb0d9a8854477648022cef96bcab28",
        "https://git.kernel.org/stable/c/6211c11fc20424bbc6d79c835c7c212b553ae898",
        "https://git.kernel.org/stable/c/77e5266e3d3faa6bdcf20d9c68a8972f6aa06522",
        "https://git.kernel.org/stable/c/bdb0ca39e0acccf6771db49c3f94ed787d05f2d7",
        "https://git.kernel.org/stable/c/e01b55f261ccc96e347eba4931e4429d080d879d",
        "https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html",
        "https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58058.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-58058",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58058.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-58058",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 492214,
  "published_at": "2025-03-06T15:54:01.033+00:00"
}