CVE-2026-139669

cxl/region: Unregister the pmem region when the bridge is unbound

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability occurs when a CXL power management bridge is unbound before the minimal persistent memory regions it provides are deallocated, leaving the region registered and the associated memory device still mapped. This resource leakage can accumulate, potentially exhausting system resources or creating stale device representations that interfere with subsequent operations. The flaw originates from improper lifecycle management of CXL persistent memory regions during unbind operations.

Affected Systems

Linux kernel environments that support CXL persistent memory regions, specifically all kernel releases before the inclusion of the patch that unregisters the pmem region upon bridge unbinding.

Risk and Exploitability

The flaw was identified through code inspection and reproduced by racing a cxl_region bind against a cxl_acpi unbind, evidencing a race condition that repeatedly leaked pmem_region devices. No public exploit has been observed, and the EPSS score is not available. It is not listed in the CISA KEV catalog, suggesting a lower likelihood of active exploitation. However, the CVSS is not supplied; the risk can be mitigated by applying the kernel update that addresses the flaw.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a Linux kernel update that includes the committed patch to unregister the pmem region when the bridge is unbound.
  • Reboot the system after upgrading the kernel to ensure the new code takes effect.
  • Check dmesg for stray cxl_pmem_region registrations indicating that the issue persists.

Generated by OpenCVE AI on December 1, 2026 at 00:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-362
CWE-401
Type Values Removed Values Added
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.
Title cxl/region: Unregister the pmem region when the bridge is unbound
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

  • CWE-401

    Missing Release of Memory after Effective Lifetime

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:36 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM