CVE-2023-53250 (GCVE-0-2023-53250)

Vulnerability from cvelistv5 – Published: 2025-09-15 14:46 – Updated: 2025-09-15 14:46
VLAI?
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.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: fdffa4ad8f6bf1ece877edfb807f2b2c729d8578 , < b4fe158259fb5fead52ff2b55841ec5c39492604 (git)
Affected: 660ba678f9998aca6db74f2dd912fa5124f0fa31 , < e851996b32264e78a10863c2ac41a8689d7b9252 (git)
Affected: 660ba678f9998aca6db74f2dd912fa5124f0fa31 , < 5d0492d1d934642bdfd2057acc1b56f4b57be465 (git)
Affected: 660ba678f9998aca6db74f2dd912fa5124f0fa31 , < 18e126e97c961f7a93823795c879d7c085fe5098 (git)
Affected: a9bfb37d6ba7c376b0d53337a4c5f5ff324bd725 (git)
Affected: ed38d04342dfbe9e5aca745c8b5eb4188a74f0ef (git)
Affected: c66cc3c62870a27ea8f060a7e4c1ad8d26dd3f0d (git)
Affected: a724634b2a49f6ff0177a9e19a5a92fc1545e1b7 (git)
Affected: 985706bd3bbeffc8737bc05965ca8d24837bc7db (git)
Affected: 3ba359ebe914ac3f8c6c832b28007c14c39d3766 (git)
Affected: ec752973aa721ee281d5441e497364637c626c7b (git)
Create a notification for this product.
    Linux Linux Affected: 5.19
Unaffected: 0 , < 5.19 (semver)
Unaffected: 5.15.99 , ≤ 5.15.* (semver)
Unaffected: 6.1.16 , ≤ 6.1.* (semver)
Unaffected: 6.2.3 , ≤ 6.2.* (semver)
Unaffected: 6.3 , ≤ * (original_commit_for_fix)
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-12-03T17:20:57.290\",\"vulnStatus\":\"Analyzed\",\"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\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-476\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.9.318\",\"versionEndExcluding\":\"4.10\",\"matchCriteriaId\":\"794F2B40-9265-4F11-8447-D5AC80C0841B\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.14.283\",\"versionEndExcluding\":\"4.15\",\"matchCriteriaId\":\"B6E507A0-625F-4594-9901-2D493C6EA6A7\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.19.247\",\"versionEndExcluding\":\"4.20\",\"matchCriteriaId\":\"8C704EA5-520B-4711-9F2C-0663D4251715\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.4.198\",\"versionEndExcluding\":\"5.5\",\"matchCriteriaId\":\"81CDA30E-0E3B-47FD-A824-FDDFD9CA4E3C\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.10.122\",\"versionEndExcluding\":\"5.11\",\"matchCriteriaId\":\"FF8171FF-208D-4EF9-A820-B5DFD62A13B2\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.15.47\",\"versionEndExcluding\":\"5.15.99\",\"matchCriteriaId\":\"95447AFB-5AEB-4963-9DEA-7FD6E97D5103\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.17.15\",\"versionEndExcluding\":\"5.18\",\"matchCriteriaId\":\"5BF6ED63-C6AF-4B5E-9814-C77A3C45349D\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.18.4\",\"versionEndExcluding\":\"6.1.16\",\"matchCriteriaId\":\"DB302C02-501E-4715-98E0-2C35F197BE9B\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.2\",\"versionEndExcluding\":\"6.2.3\",\"matchCriteriaId\":\"88C67289-22AD-4CA9-B202-5F5A80E5BA4B\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/18e126e97c961f7a93823795c879d7c085fe5098\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/5d0492d1d934642bdfd2057acc1b56f4b57be465\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/b4fe158259fb5fead52ff2b55841ec5c39492604\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/e851996b32264e78a10863c2ac41a8689d7b9252\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}"
  }
}


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 observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…