GHSA-447m-c2m6-7v5xunknown
In the Linux kernel, the following vulnerability has been resolved: cxl/region: Block region...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (5)
- https://nvd.nist.gov/vuln/detail/CVE-2026-74273
- https://git.kernel.org/stable/c/b0b6a9c65cb72c901fdcc6ae83d7afd70cdca1b8
- https://git.kernel.org/stable/c/d91feb88692e81b00cd22f0125cfcd04970b4a0b
- https://git.kernel.org/stable/c/98c7e206af48b4433b2192cc1a538db2acc49876
- https://github.com/advisories/GHSA-447m-c2m6-7v5x