# CVE-2023-54323: cxl/pmem: Fix nvdimm registration races

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.26% (percentile 11, 2026-11-28)
- **Published:** 2025-12-30T12:37:07.656Z
- **Modified:** 2026-06-17T06:47:13.623Z

## Who should check

- Anyone running Linux \>= 21083f51521fb0f60dbac591f175c3ed48435af4, \< a371788d4f4a7f59eecd22644331d599979fd283; \>= 21083f51521fb0f60dbac591f175c3ed48435af4, \< 18c65667fa9104780eeaa0dc1bc240f0c2094772; \>= 21083f51521fb0f60dbac591f175c3ed48435af4, \< f57aec443c24d2e8e1f3b5b4856aea12ddda4254
- Anyone running Linux 5.14

## Description

In the Linux kernel, the following vulnerability has been resolved:

cxl/pmem: Fix nvdimm registration races

A loop of the form:

    while true; do modprobe cxl\_pci; modprobe -r cxl\_pci; done

...fails with the following crash signature:

    BUG: kernel NULL pointer dereference, address: 0000000000000040
    \[..\]
    RIP: 0010:cxl\_internal\_send\_cmd+0x5/0xb0 \[cxl\_core\]
    \[..\]
    Call Trace:
     \<TASK\>
     cxl\_pmem\_ctl+0x121/0x240 \[cxl\_pmem\]
     nvdimm\_get\_config\_data+0xd6/0x1a0 \[libnvdimm\]
     nd\_label\_data\_init+0x135/0x7e0 \[libnvdimm\]
     nvdimm\_probe+0xd6/0x1c0 \[libnvdimm\]
     nvdimm\_bus\_probe+0x7a/0x1e0 \[libnvdimm\]
     really\_probe+0xde/0x380
     \_\_driver\_probe\_device+0x78/0x170
     driver\_probe\_device+0x1f/0x90
     \_\_device\_attach\_driver+0x85/0x110
     bus\_for\_each\_drv+0x7d/0xc0
     \_\_device\_attach+0xb4/0x1e0
     bus\_probe\_device+0x9f/0xc0
     device\_add+0x445/0x9c0
     nd\_async\_device\_register+0xe/0x40 \[libnvdimm\]
     async\_run\_entry\_fn+0x30/0x130

...namely that the bottom half of async nvdimm device registration runs
after the CXL has already torn down the context that cxl\_pmem\_ctl()
needs. Unlike the ACPI NFIT case that benefits from launching multiple
nvdimm device registrations in parallel from those listed in the table,
CXL is already marked PROBE\_PREFER\_ASYNCHRONOUS. So provide for a
synchronous registration path to preclude this scenario.

## Affected and fixed versions

- Linux: \>= 21083f51521fb0f60dbac591f175c3ed48435af4, \< a371788d4f4a7f59eecd22644331d599979fd283; \>= 21083f51521fb0f60dbac591f175c3ed48435af4, \< 18c65667fa9104780eeaa0dc1bc240f0c2094772; \>= 21083f51521fb0f60dbac591f175c3ed48435af4, \< f57aec443c24d2e8e1f3b5b4856aea12ddda4254 (cvelist)
- Linux: 5.14 (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-54323. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-54323.md
Affected: Linux >= 21083f51521fb0f60dbac591f175c3ed48435af4, < a371788d4f4a7f59eecd22644331d599979fd283; >= 21083f51521fb0f60dbac591f175c3ed48435af4, < 18c65667fa9104780eeaa0dc1bc240f0c2094772; >= 21083f51521fb0f60dbac591f175c3ed48435af4, < f57aec443c24d2e8e1f3b5b4856aea12ddda4254; Linux 5.14
Fixed in: Linux 18c65667fa9104780eeaa0dc1bc240f0c2094772

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-54323 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 21083f51521fb0f60dbac591f175c3ed48435af4, \< a371788d4f4a7f59eecd22644331d599979fd283; \>= 21083f51521fb0f60dbac591f175c3ed48435af4, \< 18c65667fa9104780eeaa0dc1bc240f0c2094772; \>= 21083f51521fb0f60dbac591f175c3ed48435af4, \< f57aec443c24d2e8e1f3b5b4856aea12ddda4254; Linux 5.14.

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

Yes. Fixed in Linux 18c65667fa9104780eeaa0dc1bc240f0c2094772. No fix listed yet: follow the vendor advisory.

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

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

- other: <https://git.kernel.org/stable/c/a371788d4f4a7f59eecd22644331d599979fd283>
- other: <https://git.kernel.org/stable/c/18c65667fa9104780eeaa0dc1bc240f0c2094772>
- other: <https://git.kernel.org/stable/c/f57aec443c24d2e8e1f3b5b4856aea12ddda4254>

## 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-54323>

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