AZL-117277: CVE-2026-139669 affecting package kernel 6.6.161.1-1
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
What conditions are required to trigger this issue?
The issue requires a race between binding a CXL region and unbinding cxl_acpi. In the reported test, racing cxl_region bind against cxl_acpi unbind leaked a pmem_region device on every attempt.
What is the impact if the race occurs?
A cxl_pmem_region can be left orphaned after its nvdimm bridge is unbound. The orphaned device pins its region and memdevs, and a later cxl_acpi bind can renumber associated root ports, ports, endpoints, decoders, and the memdev.
How can I tell whether this issue has occurred?
Look for a pmem_region device that remains after cxl_acpi teardown or unbinding. The described failure leaves a cxl_pmem_region registered without a bridge available to remove it.
Is there a documented workaround if the fix cannot be deployed immediately?
No workaround is provided in the available data. Avoiding concurrent cxl_region binding and cxl_acpi unbinding would avoid the specific race described.