CVE-2023-54178 (GCVE-0-2023-54178)
Vulnerability from cvelistv5
Published
2025-12-30 12:08
Modified
2025-12-30 12:08
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: of: unittest: fix null pointer dereferencing in of_unittest_find_node_by_name() when kmalloc() fail to allocate memory in kasprintf(), name or full_name will be NULL, strcmp() will cause null pointer dereference.
Impacted products
Vendor Product Version
Linux Linux Version: 0d638a07d3a1e98a7598eb2812a6236324e4c55f
Version: 0d638a07d3a1e98a7598eb2812a6236324e4c55f
Version: 0d638a07d3a1e98a7598eb2812a6236324e4c55f
Version: 0d638a07d3a1e98a7598eb2812a6236324e4c55f
Version: 0d638a07d3a1e98a7598eb2812a6236324e4c55f
Version: 0d638a07d3a1e98a7598eb2812a6236324e4c55f
Version: 0d638a07d3a1e98a7598eb2812a6236324e4c55f
Version: 0d638a07d3a1e98a7598eb2812a6236324e4c55f
Version: 0d638a07d3a1e98a7598eb2812a6236324e4c55f
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/of/unittest.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "c364fa869b33ca42a263bf91c22fce7e6c61d479",
              "status": "affected",
              "version": "0d638a07d3a1e98a7598eb2812a6236324e4c55f",
              "versionType": "git"
            },
            {
              "lessThan": "0b7d715511915a1b39f5fdcbe57a7922dfd66513",
              "status": "affected",
              "version": "0d638a07d3a1e98a7598eb2812a6236324e4c55f",
              "versionType": "git"
            },
            {
              "lessThan": "dadf0d0dfcc81cdcb27ba5426676d13a9e4fb925",
              "status": "affected",
              "version": "0d638a07d3a1e98a7598eb2812a6236324e4c55f",
              "versionType": "git"
            },
            {
              "lessThan": "f41c65f8d05be734898cbe72af59a401b97d298a",
              "status": "affected",
              "version": "0d638a07d3a1e98a7598eb2812a6236324e4c55f",
              "versionType": "git"
            },
            {
              "lessThan": "ea5bc6f5aa099e3e84d037282836234ad77cba88",
              "status": "affected",
              "version": "0d638a07d3a1e98a7598eb2812a6236324e4c55f",
              "versionType": "git"
            },
            {
              "lessThan": "43cc228099c514467b8074d7ede6673cef9f33b9",
              "status": "affected",
              "version": "0d638a07d3a1e98a7598eb2812a6236324e4c55f",
              "versionType": "git"
            },
            {
              "lessThan": "c74ae8124f9687062dd99858f34c9d027ddd73da",
              "status": "affected",
              "version": "0d638a07d3a1e98a7598eb2812a6236324e4c55f",
              "versionType": "git"
            },
            {
              "lessThan": "2dd8ee9de71ad8447f8459fb01dade7f6c7132da",
              "status": "affected",
              "version": "0d638a07d3a1e98a7598eb2812a6236324e4c55f",
              "versionType": "git"
            },
            {
              "lessThan": "d6ce4f0ea19c32f10867ed93d8386924326ab474",
              "status": "affected",
              "version": "0d638a07d3a1e98a7598eb2812a6236324e4c55f",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/of/unittest.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.14"
            },
            {
              "lessThan": "4.14",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.326",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.295",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.257",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.195",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.132",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.53",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.4.*",
              "status": "unaffected",
              "version": "6.4.16",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.5.*",
              "status": "unaffected",
              "version": "6.5.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.6",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.326",
                  "versionStartIncluding": "4.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.295",
                  "versionStartIncluding": "4.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.257",
                  "versionStartIncluding": "4.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.195",
                  "versionStartIncluding": "4.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.132",
                  "versionStartIncluding": "4.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.53",
                  "versionStartIncluding": "4.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.4.16",
                  "versionStartIncluding": "4.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.5.3",
                  "versionStartIncluding": "4.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6",
                  "versionStartIncluding": "4.14",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nof: unittest: fix null pointer dereferencing in of_unittest_find_node_by_name()\n\nwhen kmalloc() fail to allocate memory in kasprintf(), name\nor full_name will be NULL, strcmp() will cause\nnull pointer dereference."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-12-30T12:08:50.324Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/c364fa869b33ca42a263bf91c22fce7e6c61d479"
        },
        {
          "url": "https://git.kernel.org/stable/c/0b7d715511915a1b39f5fdcbe57a7922dfd66513"
        },
        {
          "url": "https://git.kernel.org/stable/c/dadf0d0dfcc81cdcb27ba5426676d13a9e4fb925"
        },
        {
          "url": "https://git.kernel.org/stable/c/f41c65f8d05be734898cbe72af59a401b97d298a"
        },
        {
          "url": "https://git.kernel.org/stable/c/ea5bc6f5aa099e3e84d037282836234ad77cba88"
        },
        {
          "url": "https://git.kernel.org/stable/c/43cc228099c514467b8074d7ede6673cef9f33b9"
        },
        {
          "url": "https://git.kernel.org/stable/c/c74ae8124f9687062dd99858f34c9d027ddd73da"
        },
        {
          "url": "https://git.kernel.org/stable/c/2dd8ee9de71ad8447f8459fb01dade7f6c7132da"
        },
        {
          "url": "https://git.kernel.org/stable/c/d6ce4f0ea19c32f10867ed93d8386924326ab474"
        }
      ],
      "title": "of: unittest: fix null pointer dereferencing in of_unittest_find_node_by_name()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-54178",
    "datePublished": "2025-12-30T12:08:50.324Z",
    "dateReserved": "2025-12-30T12:06:44.496Z",
    "dateUpdated": "2025-12-30T12:08:50.324Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2023-54178\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-12-30T13:16:05.720\",\"lastModified\":\"2025-12-30T13:16:05.720\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nof: unittest: fix null pointer dereferencing in of_unittest_find_node_by_name()\\n\\nwhen kmalloc() fail to allocate memory in kasprintf(), name\\nor full_name will be NULL, strcmp() will cause\\nnull pointer dereference.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/0b7d715511915a1b39f5fdcbe57a7922dfd66513\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/2dd8ee9de71ad8447f8459fb01dade7f6c7132da\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/43cc228099c514467b8074d7ede6673cef9f33b9\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c364fa869b33ca42a263bf91c22fce7e6c61d479\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c74ae8124f9687062dd99858f34c9d027ddd73da\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d6ce4f0ea19c32f10867ed93d8386924326ab474\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/dadf0d0dfcc81cdcb27ba5426676d13a9e4fb925\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ea5bc6f5aa099e3e84d037282836234ad77cba88\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f41c65f8d05be734898cbe72af59a401b97d298a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…