CVE-2026-74273: cxl/region: Block region delete during region creation
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
cxl/region: Block region delete during region creation
Expand the range lock, rename it "regions_lock", to disable region deletion in the critical period between construct_region() and attach_target(), as well as the period between device_add() and registering the remove actions.
Otherwise, userspace can confuse the kernel. It can violate the assumption the region stays registered through the completion of cxl_add_to_region(). It can violate the assumption that devm_add_action_or_reset() is working with a live 'struct cxl_region'.
It is ok for the region to disappear outside of those windows as that mirrors device hotplug flows where the proper locks are held.
The Linux kernel CVE team has assigned CVE-2026-74273 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.3 with commit a32320b71f085f8d82afedcf285f1682c8c00aed and fixed in 7.1.5 with commit b0b6a9c65cb72c901fdcc6ae83d7afd70cdca1b8 Issue introduced in 6.3 with commit a32320b71f085f8d82afedcf285f1682c8c00aed and fixed in 7.2-rc1 with commit d91feb88692e81b00cd22f0125cfcd04970b4a0b
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-74273
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/cxl/core/port.c
drivers/cxl/core/region.c
drivers/cxl/cxl.h
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/b0b6a9c65cb72c901fdcc6ae83d7afd70cdca1b8 https://git.kernel.org/stable/c/d91feb88692e81b00cd22f0125cfcd04970b4a0b