{"id":"CVE-2023-53250","aliases":["CVE-2023-53250"],"related":[],"kind":"vulnerability","state":"published","title":"firmware: dmi-sysfs: Fix null-ptr-deref in dmi_sysfs_register_handle","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2025-09-15T14:46:20.011Z","modified":"2026-06-17T06:44:38.027Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"fdffa4ad8f6bf1ece877edfb807f2b2c729d8578","fixed":"b4fe158259fb5fead52ff2b55841ec5c39492604","status":"affected"},{"type":"git","introduced":"660ba678f9998aca6db74f2dd912fa5124f0fa31","fixed":"e851996b32264e78a10863c2ac41a8689d7b9252","status":"affected"},{"type":"git","introduced":"660ba678f9998aca6db74f2dd912fa5124f0fa31","fixed":"5d0492d1d934642bdfd2057acc1b56f4b57be465","status":"affected"},{"type":"git","introduced":"660ba678f9998aca6db74f2dd912fa5124f0fa31","fixed":"18e126e97c961f7a93823795c879d7c085fe5098","status":"affected"},{"type":"git","version":"a9bfb37d6ba7c376b0d53337a4c5f5ff324bd725","status":"affected"},{"type":"git","version":"ed38d04342dfbe9e5aca745c8b5eb4188a74f0ef","status":"affected"},{"type":"git","version":"c66cc3c62870a27ea8f060a7e4c1ad8d26dd3f0d","status":"affected"},{"type":"git","version":"a724634b2a49f6ff0177a9e19a5a92fc1545e1b7","status":"affected"},{"type":"git","version":"985706bd3bbeffc8737bc05965ca8d24837bc7db","status":"affected"},{"type":"git","version":"3ba359ebe914ac3f8c6c832b28007c14c39d3766","status":"affected"},{"type":"git","version":"ec752973aa721ee281d5441e497364637c626c7b","status":"affected"},{"type":"semver","introduced":"5.15.47","fixed":"5.15.99","status":"affected"},{"type":"semver","introduced":"4.9.318","fixed":"4.10","status":"affected"},{"type":"semver","introduced":"4.14.283","fixed":"4.15","status":"affected"},{"type":"semver","introduced":"4.19.247","fixed":"4.20","status":"affected"},{"type":"semver","introduced":"5.4.198","fixed":"5.5","status":"affected"},{"type":"semver","introduced":"5.10.122","fixed":"5.11","status":"affected"},{"type":"semver","introduced":"5.17.15","fixed":"5.18","status":"affected"},{"type":"semver","introduced":"5.18.4","fixed":"5.19","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.19","status":"unaffected"},{"type":"semver","introduced":"5.15.99","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.16","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.2.3","lastAffected":"6.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.9.318","fixed":"4.10"},{"status":"affected","introduced":"4.14.283","fixed":"4.15"},{"status":"affected","introduced":"4.19.247","fixed":"4.20"},{"status":"affected","introduced":"5.4.198","fixed":"5.5"},{"status":"affected","introduced":"5.10.122","fixed":"5.11"},{"status":"affected","introduced":"5.15.47","fixed":"5.15.99"},{"status":"affected","introduced":"5.17.15","fixed":"5.18"},{"status":"affected","introduced":"5.18.4","fixed":"6.1.16"},{"status":"affected","introduced":"6.2","fixed":"6.2.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/b4fe158259fb5fead52ff2b55841ec5c39492604","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e851996b32264e78a10863c2ac41a8689d7b9252","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5d0492d1d934642bdfd2057acc1b56f4b57be465","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/18e126e97c961f7a93823795c879d7c085fe5098","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-01-14T18:00:07.342Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53250","url":"https://www.cve.org/CVERecord?id=CVE-2023-53250","licence":"CVE Terms of Use","modified":"2026-05-23T15:28:24.206Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53250","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53250","licence":"Public domain","modified":"2026-06-17T06:44:38.027Z"}],"updatedAt":"2026-11-25T22:58:34.796Z","epss":{"score":0.00155,"percentile":0.04917,"date":"2026-12-01T12:00:22.000Z"}}