# CVE-2026-23348: cxl: Fix race of nvdimm\_bus object when creating nvdimm objects

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

- **Severity:** MEDIUM 4.7
- **CVSS:** 4.7 (v3.1, NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; 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.13% (percentile 1, 2026-11-26)
- **CWE:** CWE-362
- **Published:** 2026-03-25T10:27:34.462Z
- **Modified:** 2026-11-05T22:18:16.363Z

## Who should check

- Anyone running Linux \>= 8fdcb1704f61a8fd9be0f3849a174d084def0666, \< 5fc4e150c5ada5f7d20d8f9f1b351f10481fbdf7; \>= 8fdcb1704f61a8fd9be0f3849a174d084def0666, \< 5b230daeee420833287cc77314439903e5312f10; \>= 8fdcb1704f61a8fd9be0f3849a174d084def0666, \< 96a1fd0d84b17360840f344826897fa71049870e
- Anyone running Linux 5.14

## Description

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

cxl: Fix race of nvdimm\_bus object when creating nvdimm objects

Found issue during running of cxl-translate.sh unit test. Adding a 3s
sleep right before the test seems to make the issue reproduce fairly
consistently. The cxl\_translate module has dependency on cxl\_acpi and
causes orphaned nvdimm objects to reprobe after cxl\_acpi is removed.
The nvdimm\_bus object is registered by the cxl\_nvb object when
cxl\_acpi\_probe() is called. With the nvdimm\_bus object missing,
\_\_nd\_device\_register() will trigger NULL pointer dereference when
accessing the dev-\>parent that points to &nvdimm\_bus-\>dev.

\[  192.884510\] BUG: kernel NULL pointer dereference, address: 000000000000006c
\[  192.895383\] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS edk2-20250812-19.fc42 08/12/2025
\[  192.897721\] Workqueue: cxl\_port cxl\_bus\_rescan\_queue \[cxl\_core\]
\[  192.899459\] RIP: 0010:kobject\_get+0xc/0x90
\[  192.924871\] Call Trace:
\[  192.925959\]  \<TASK\>
\[  192.926976\]  ? pm\_runtime\_init+0xb9/0xe0
\[  192.929712\]  \_\_nd\_device\_register.part.0+0x4d/0xc0 \[libnvdimm\]
\[  192.933314\]  \_\_nvdimm\_create+0x206/0x290 \[libnvdimm\]
\[  192.936662\]  cxl\_nvdimm\_probe+0x119/0x1d0 \[cxl\_pmem\]
\[  192.940245\]  cxl\_bus\_probe+0x1a/0x60 \[cxl\_core\]
\[  192.943349\]  really\_probe+0xde/0x380

This patch also relies on the previous change where
devm\_cxl\_add\_nvdimm\_bridge() is called from drivers/cxl/pmem.c instead
of drivers/cxl/core.c to ensure the dependency of cxl\_acpi on cxl\_pmem.

1. Set probe\_type of cxl\_nvb to PROBE\_FORCE\_SYNCHRONOUS to ensure the
   driver is probed synchronously when add\_device() is called.
2. Add a check in \_\_devm\_cxl\_add\_nvdimm\_bridge() to ensure that the
   cxl\_nvb driver is attached during cxl\_acpi\_probe().
3. Take the cxl\_root uport\_dev lock and the cxl\_nvb-\>dev lock in
   devm\_cxl\_add\_nvdimm() before checking nvdimm\_bus is valid.
4. Set cxl\_nvdimm flag to CXL\_NVD\_F\_INVALIDATED so cxl\_nvdimm\_probe()
   will exit with -EBUSY.

The removal of cxl\_nvdimm devices should prevent any orphaned devices
from probing once the nvdimm\_bus is gone.

\[ dj: Fixed 0-day reported kdoc issue. \]
\[ dj: Fix cxl\_nvb reference leak on error. Gregory (kreview-0811365) \]

## Affected and fixed versions

- Linux: \>= 8fdcb1704f61a8fd9be0f3849a174d084def0666, \< 5fc4e150c5ada5f7d20d8f9f1b351f10481fbdf7; \>= 8fdcb1704f61a8fd9be0f3849a174d084def0666, \< 5b230daeee420833287cc77314439903e5312f10; \>= 8fdcb1704f61a8fd9be0f3849a174d084def0666, \< 96a1fd0d84b17360840f344826897fa71049870e (cvelist)
- Linux: 5.14 (cvelist)

## Mitigation

- Upgrade Linux to 96a1fd0d84b17360840f344826897fa71049870e or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-23348.md
Affected: Linux >= 8fdcb1704f61a8fd9be0f3849a174d084def0666, < 5fc4e150c5ada5f7d20d8f9f1b351f10481fbdf7; >= 8fdcb1704f61a8fd9be0f3849a174d084def0666, < 5b230daeee420833287cc77314439903e5312f10; >= 8fdcb1704f61a8fd9be0f3849a174d084def0666, < 96a1fd0d84b17360840f344826897fa71049870e; Linux 5.14
Fixed in: Linux 5fc4e150c5ada5f7d20d8f9f1b351f10481fbdf7, Linux 5b230daeee420833287cc77314439903e5312f10, Linux 96a1fd0d84b17360840f344826897fa71049870e

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-2026-23348 being exploited?

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

### How serious is CVE-2026-23348?

Medium: CVSS 4.7 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-23348?

Linux \>= 8fdcb1704f61a8fd9be0f3849a174d084def0666, \< 5fc4e150c5ada5f7d20d8f9f1b351f10481fbdf7; \>= 8fdcb1704f61a8fd9be0f3849a174d084def0666, \< 5b230daeee420833287cc77314439903e5312f10; \>= 8fdcb1704f61a8fd9be0f3849a174d084def0666, \< 96a1fd0d84b17360840f344826897fa71049870e; Linux 5.14.

### Is there a fix for CVE-2026-23348?

Yes. Fixed in Linux 5fc4e150c5ada5f7d20d8f9f1b351f10481fbdf7, Linux 5b230daeee420833287cc77314439903e5312f10, Linux 96a1fd0d84b17360840f344826897fa71049870e. Upgrade Linux to 96a1fd0d84b17360840f344826897fa71049870e or later.

### How do I check if I'm affected by CVE-2026-23348?

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/5fc4e150c5ada5f7d20d8f9f1b351f10481fbdf7>
- patch: <https://git.kernel.org/stable/c/5b230daeee420833287cc77314439903e5312f10>
- patch: <https://git.kernel.org/stable/c/96a1fd0d84b17360840f344826897fa71049870e>

## 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-2026-23348>

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