# CVE-2023-53250: firmware: dmi-sysfs: Fix null-ptr-deref in dmi\_sysfs\_register\_handle

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.23% (percentile 8, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-09-15T14:46:20.011Z
- **Modified:** 2026-06-17T06:44:38.027Z

## Who should check

- Anyone running Linux \>= fdffa4ad8f6bf1ece877edfb807f2b2c729d8578, \< b4fe158259fb5fead52ff2b55841ec5c39492604; \>= 660ba678f9998aca6db74f2dd912fa5124f0fa31, \< e851996b32264e78a10863c2ac41a8689d7b9252; \>= 660ba678f9998aca6db74f2dd912fa5124f0fa31, \< 5d0492d1d934642bdfd2057acc1b56f4b57be465; \>= 660ba678f9998aca6db74f2dd912fa5124f0fa31, \< 18e126e97c961f7a93823795c879d7c085fe5098; a9bfb37d6ba7c376b0d53337a4c5f5ff324bd725; ed38d04342dfbe9e5aca745c8b5eb4188a74f0ef; c66cc3c62870a27ea8f060a7e4c1ad8d26dd3f0d; a724634b2a49f6ff0177a9e19a5a92fc1545e1b7; 985706bd3bbeffc8737bc05965ca8d24837bc7db; 3ba359ebe914ac3f8c6c832b28007c14c39d3766; …
- Anyone running Linux 5.19

## Description

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.

## Affected and fixed versions

- Linux: \>= fdffa4ad8f6bf1ece877edfb807f2b2c729d8578, \< b4fe158259fb5fead52ff2b55841ec5c39492604; \>= 660ba678f9998aca6db74f2dd912fa5124f0fa31, \< e851996b32264e78a10863c2ac41a8689d7b9252; \>= 660ba678f9998aca6db74f2dd912fa5124f0fa31, \< 5d0492d1d934642bdfd2057acc1b56f4b57be465; \>= 660ba678f9998aca6db74f2dd912fa5124f0fa31, \< 18e126e97c961f7a93823795c879d7c085fe5098; a9bfb37d6ba7c376b0d53337a4c5f5ff324bd725; ed38d04342dfbe9e5aca745c8b5eb4188a74f0ef; c66cc3c62870a27ea8f060a7e4c1ad8d26dd3f0d; a724634b2a49f6ff0177a9e19a5a92fc1545e1b7; 985706bd3bbeffc8737bc05965ca8d24837bc7db; 3ba359ebe914ac3f8c6c832b28007c14c39d3766; … (cvelist)
- Linux: 5.19 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-53250. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53250.md
Affected: Linux >= fdffa4ad8f6bf1ece877edfb807f2b2c729d8578, < b4fe158259fb5fead52ff2b55841ec5c39492604; >= 660ba678f9998aca6db74f2dd912fa5124f0fa31, < e851996b32264e78a10863c2ac41a8689d7b9252; >= 660ba678f9998aca6db74f2dd912fa5124f0fa31, < 5d0492d1d934642bdfd2057acc1b56f4b57be465; >= 660ba678f9998aca6db74f2…
Fixed in: Linux 5d0492d1d934642bdfd2057acc1b56f4b57be465, Linux 18e126e97c961f7a93823795c879d7c085fe5098

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-53250 being exploited?

There is no confirmed exploitation: CVE-2023-53250 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-53250?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-53250?

Linux \>= fdffa4ad8f6bf1ece877edfb807f2b2c729d8578, \< b4fe158259fb5fead52ff2b55841ec5c39492604; \>= 660ba678f9998aca6db74f2dd912fa5124f0fa31, \< e851996b32264e78a10863c2ac41a8689d7b9252; \>= 660ba678f9998aca6db74f2dd912fa5124f0fa31, \< 5d0492d1d934642bdfd2057acc1b56f4b57be465; \>= 660ba678f9998aca6db74f2dd912fa5124f0fa31, \< 18e126e97c961f7a93823795c879d7c085fe5098; a9bfb37d6ba7c376b0d53337a4c5f5ff324bd725; ed38d04342dfbe9e5aca745c8b5eb4188a74f0ef; c66cc3c62870a27ea8f060a7e4c1ad8d26dd3f0d; a724634b2a49f6ff0177a9e19a5a92fc1545e1b7; 985706bd3bbeffc8737bc05965ca8d24837bc7db; 3ba359ebe914ac3f8c6c832b28007c14c39d3766; …; Linux 5.19.

### Is there a fix for CVE-2023-53250?

Yes. Fixed in Linux 5d0492d1d934642bdfd2057acc1b56f4b57be465, Linux 18e126e97c961f7a93823795c879d7c085fe5098. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-53250?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/b4fe158259fb5fead52ff2b55841ec5c39492604>
- patch: <https://git.kernel.org/stable/c/e851996b32264e78a10863c2ac41a8689d7b9252>
- patch: <https://git.kernel.org/stable/c/5d0492d1d934642bdfd2057acc1b56f4b57be465>
- patch: <https://git.kernel.org/stable/c/18e126e97c961f7a93823795c879d7c085fe5098>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53250>

HTML: <https://flawdb.com/CVE-2023-53250> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53250>
