cxl/region: Unregister the pmem region when the bridge is unbound
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
cxl/region: Unregister the pmem region when the bridge is unbound
Removing cxl_acpi unbinds the nvdimm bridge before the regions it serves. A region probe can therefore register its cxl_pmem_region and only then find the bridge unbound, which leaves the new device with nothing to remove it.
The orphan outlives the teardown and pins its region and its memdevs, so a later cxl_acpi bind renumbers the root port, ports, endpoints, decoders and the memdev.
Unregister the cxl_pmem_region when the bridge is unbound.
Found by code inspection. Racing a cxl_region bind against a cxl_acpi unbind leaked a pmem_region device on 12 of 12 attempts, and none with this patch.
| Product | Versions |
|---|---|
| Linux Linux | f17b558d6663101f876a1d9cbbad3de0c8f4ce4d to before 6c112bc45f5b87229eeb569097b14b937552a55f Affectedf17b558d6663101f876a1d9cbbad3de0c8f4ce4d to before e46c57c6503eeee46d925b2e09f963a5faa813f4 Affectedf17b558d6663101f876a1d9cbbad3de0c8f4ce4d to before 08b4602dbac862678d7dafbba7a32de6a97cc863 Affectedf17b558d6663101f876a1d9cbbad3de0c8f4ce4d to before bb26797c08d408ea7e8d3625045f0fe28714a425 Affected |
| Linux Linux | 6.2 Affectedbefore 6.2 Not Affected6.12.120 through 6.12.* Not Affected6.18.66 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.