CVE-2023-53250 (GCVE-0-2023-53250)
Vulnerability from cvelistv5
Published
2025-09-15 14:46
Modified
2025-09-15 14:46
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: firmware: dmi-sysfs: Fix null-ptr-deref in dmi_sysfs_register_handle KASAN reported a null-ptr-deref error: KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 0 PID: 1373 Comm: modprobe Hardware name: QEMU Standard PC (i440FX + PIIX, 1996) RIP: 0010:dmi_sysfs_entry_release ... Call Trace: <TASK> kobject_put dmi_sysfs_register_handle (drivers/firmware/dmi-sysfs.c:540) dmi_sysfs dmi_decode_table (drivers/firmware/dmi_scan.c:133) dmi_walk (drivers/firmware/dmi_scan.c:1115) dmi_sysfs_init (drivers/firmware/dmi-sysfs.c:149) dmi_sysfs do_one_initcall (init/main.c:1296) ... Kernel panic - not syncing: Fatal exception Kernel Offset: 0x4000000 from 0xffffffff81000000 ---[ end Kernel panic - not syncing: Fatal exception ]--- It is because previous patch added kobject_put() to release the memory which will call dmi_sysfs_entry_release() and list_del(). However, list_add_tail(entry->list) is called after the error block, so the list_head is uninitialized and cannot be deleted. Move error handling to after list_add_tail to fix this.
Impacted products
Vendor Product Version
Linux Linux Version: fdffa4ad8f6bf1ece877edfb807f2b2c729d8578
Version: 660ba678f9998aca6db74f2dd912fa5124f0fa31
Version: 660ba678f9998aca6db74f2dd912fa5124f0fa31
Version: 660ba678f9998aca6db74f2dd912fa5124f0fa31
Version: a9bfb37d6ba7c376b0d53337a4c5f5ff324bd725
Version: ed38d04342dfbe9e5aca745c8b5eb4188a74f0ef
Version: c66cc3c62870a27ea8f060a7e4c1ad8d26dd3f0d
Version: a724634b2a49f6ff0177a9e19a5a92fc1545e1b7
Version: 985706bd3bbeffc8737bc05965ca8d24837bc7db
Version: 3ba359ebe914ac3f8c6c832b28007c14c39d3766
Version: ec752973aa721ee281d5441e497364637c626c7b
Create a notification for this product.
   Linux Linux Version: 5.19
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/firmware/dmi-sysfs.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "b4fe158259fb5fead52ff2b55841ec5c39492604",
              "status": "affected",
              "version": "fdffa4ad8f6bf1ece877edfb807f2b2c729d8578",
              "versionType": "git"
            },
            {
              "lessThan": "e851996b32264e78a10863c2ac41a8689d7b9252",
              "status": "affected",
              "version": "660ba678f9998aca6db74f2dd912fa5124f0fa31",
              "versionType": "git"
            },
            {
              "lessThan": "5d0492d1d934642bdfd2057acc1b56f4b57be465",
              "status": "affected",
              "version": "660ba678f9998aca6db74f2dd912fa5124f0fa31",
              "versionType": "git"
            },
            {
              "lessThan": "18e126e97c961f7a93823795c879d7c085fe5098",
              "status": "affected",
              "version": "660ba678f9998aca6db74f2dd912fa5124f0fa31",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "a9bfb37d6ba7c376b0d53337a4c5f5ff324bd725",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "ed38d04342dfbe9e5aca745c8b5eb4188a74f0ef",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "c66cc3c62870a27ea8f060a7e4c1ad8d26dd3f0d",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "a724634b2a49f6ff0177a9e19a5a92fc1545e1b7",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "985706bd3bbeffc8737bc05965ca8d24837bc7db",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "3ba359ebe914ac3f8c6c832b28007c14c39d3766",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "ec752973aa721ee281d5441e497364637c626c7b",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/firmware/dmi-sysfs.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.19"
            },
            {
              "lessThan": "5.19",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.99",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.16",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.2.*",
              "status": "unaffected",
              "version": "6.2.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.99",
                  "versionStartIncluding": "5.15.47",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.16",
                  "versionStartIncluding": "5.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2.3",
                  "versionStartIncluding": "5.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.3",
                  "versionStartIncluding": "5.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.9.318",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.14.283",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.19.247",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.4.198",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.10.122",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.17.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.18.4",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nfirmware: dmi-sysfs: Fix null-ptr-deref in dmi_sysfs_register_handle\n\nKASAN reported a null-ptr-deref error:\n\nKASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]\nCPU: 0 PID: 1373 Comm: modprobe\nHardware name: QEMU Standard PC (i440FX + PIIX, 1996)\nRIP: 0010:dmi_sysfs_entry_release\n...\nCall Trace:\n \u003cTASK\u003e\n kobject_put\n dmi_sysfs_register_handle (drivers/firmware/dmi-sysfs.c:540) dmi_sysfs\n dmi_decode_table (drivers/firmware/dmi_scan.c:133)\n dmi_walk (drivers/firmware/dmi_scan.c:1115)\n dmi_sysfs_init (drivers/firmware/dmi-sysfs.c:149) dmi_sysfs\n do_one_initcall (init/main.c:1296)\n ...\nKernel panic - not syncing: Fatal exception\nKernel Offset: 0x4000000 from 0xffffffff81000000\n---[ end Kernel panic - not syncing: Fatal exception ]---\n\nIt is because previous patch added kobject_put() to release the memory\nwhich will call  dmi_sysfs_entry_release() and list_del().\n\nHowever, list_add_tail(entry-\u003elist) is called after the error block,\nso the list_head is uninitialized and cannot be deleted.\n\nMove error handling to after list_add_tail to fix this."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-09-15T14:46:20.011Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/b4fe158259fb5fead52ff2b55841ec5c39492604"
        },
        {
          "url": "https://git.kernel.org/stable/c/e851996b32264e78a10863c2ac41a8689d7b9252"
        },
        {
          "url": "https://git.kernel.org/stable/c/5d0492d1d934642bdfd2057acc1b56f4b57be465"
        },
        {
          "url": "https://git.kernel.org/stable/c/18e126e97c961f7a93823795c879d7c085fe5098"
        }
      ],
      "title": "firmware: dmi-sysfs: Fix null-ptr-deref in dmi_sysfs_register_handle",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-53250",
    "datePublished": "2025-09-15T14:46:20.011Z",
    "dateReserved": "2025-09-15T14:19:21.849Z",
    "dateUpdated": "2025-09-15T14:46:20.011Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2023-53250\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-09-15T15:15:52.280\",\"lastModified\":\"2025-09-15T15:22:27.090\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nfirmware: dmi-sysfs: Fix null-ptr-deref in dmi_sysfs_register_handle\\n\\nKASAN reported a null-ptr-deref error:\\n\\nKASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]\\nCPU: 0 PID: 1373 Comm: modprobe\\nHardware name: QEMU Standard PC (i440FX + PIIX, 1996)\\nRIP: 0010:dmi_sysfs_entry_release\\n...\\nCall Trace:\\n \u003cTASK\u003e\\n kobject_put\\n dmi_sysfs_register_handle (drivers/firmware/dmi-sysfs.c:540) dmi_sysfs\\n dmi_decode_table (drivers/firmware/dmi_scan.c:133)\\n dmi_walk (drivers/firmware/dmi_scan.c:1115)\\n dmi_sysfs_init (drivers/firmware/dmi-sysfs.c:149) dmi_sysfs\\n do_one_initcall (init/main.c:1296)\\n ...\\nKernel panic - not syncing: Fatal exception\\nKernel Offset: 0x4000000 from 0xffffffff81000000\\n---[ end Kernel panic - not syncing: Fatal exception ]---\\n\\nIt is because previous patch added kobject_put() to release the memory\\nwhich will call  dmi_sysfs_entry_release() and list_del().\\n\\nHowever, list_add_tail(entry-\u003elist) is called after the error block,\\nso the list_head is uninitialized and cannot be deleted.\\n\\nMove error handling to after list_add_tail to fix this.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/18e126e97c961f7a93823795c879d7c085fe5098\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/5d0492d1d934642bdfd2057acc1b56f4b57be465\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b4fe158259fb5fead52ff2b55841ec5c39492604\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/e851996b32264e78a10863c2ac41a8689d7b9252\",\"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.
  • 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…