CVE-2026-139669: cxl/region: Unregister the pmem region when the bridge is unbound
In the Linux kernel, the following vulnerability has been resolved:
cxl/region: Unregister the pmem region when the bridge is unbound
Removing cxlacpi unbinds the nvdimm bridge before the regions it serves. A region probe can therefore register its cxlpmemregion 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 cxlacpi bind renumbers the root port, ports, endpoints, decoders and the memdev.
Unregister the cxlpmemregion when the bridge is unbound.
Found by code inspection. Racing a cxlregion bind against a cxlacpi unbind leaked a pmemregion device on 12 of 12 attempts, and none with this patch.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Unregister the cxl_pmem_region when the nvdimm bridge is unbound.
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
Systems using the Linux kernel CXL stack are exposed when a cxl_region bind can race with removal or unbinding of cxl_acpi and its nvdimm bridge. The issue concerns CXL persistent-memory region handling rather than all Linux systems generally.
What is the impact if the race occurs?
A pmem_region device can be left orphaned after teardown. That orphan pins its associated region and memdevs, and a later cxl_acpi bind can renumber the root port, ports, endpoints, decoders, and memdev.
How can administrators tell whether they are affected?
The reported trigger is racing a cxl_region bind against a cxl_acpi unbind. In testing described for this issue, the race leaked a pmem_region device in 12 of 12 attempts before the fix; the patch prevented the leak in those tests.