{"id":"CVE-2023-53250","published":"2025-09-15T14:46:20Z","modified":"2026-05-23T15:28:24Z","title":"firmware: dmi-sysfs: Fix null-ptr-deref in dmi_sysfs_register_handle","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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 <TASK>\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->list) 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00228,"percentile":0.08124,"provenance":"source"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"references":[{"url":"https://git.kernel.org/stable/c/b4fe158259fb5fead52ff2b55841ec5c39492604","tags":[]},{"url":"https://git.kernel.org/stable/c/e851996b32264e78a10863c2ac41a8689d7b9252","tags":[]},{"url":"https://git.kernel.org/stable/c/5d0492d1d934642bdfd2057acc1b56f4b57be465","tags":[]},{"url":"https://git.kernel.org/stable/c/18e126e97c961f7a93823795c879d7c085fe5098","tags":[]}],"priority":{"score":5.5,"factors":[{"name":"EPSS percentile","points":1.62},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= fdffa4ad8f6bf1ece877edfb807f2b2c729d8578, < b4fe158259fb5fead52ff2b55841ec5c39492604",">= 660ba678f9998aca6db74f2dd912fa5124f0fa31, < e851996b32264e78a10863c2ac41a8689d7b9252",">= 660ba678f9998aca6db74f2dd912fa5124f0fa31, < 5d0492d1d934642bdfd2057acc1b56f4b57be465",">= 660ba678f9998aca6db74f2dd912fa5124f0fa31, < 18e126e97c961f7a93823795c879d7c085fe5098","a9bfb37d6ba7c376b0d53337a4c5f5ff324bd725","ed38d04342dfbe9e5aca745c8b5eb4188a74f0ef","c66cc3c62870a27ea8f060a7e4c1ad8d26dd3f0d","a724634b2a49f6ff0177a9e19a5a92fc1545e1b7","985706bd3bbeffc8737bc05965ca8d24837bc7db","3ba359ebe914ac3f8c6c832b28007c14c39d3766"]},{"vendor":"Linux","product":"Linux","versions":["5.19"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-14T18:00:07.342780Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-59834","exploited":false,"provenance":"source"}}