CVE-2026-97423: cxl/region: Validate partition index before array access
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
cxl/region: Validate partition index before array access
construct_region() reads cxled->part and uses it to index cxlds->part[] without checking for a negative value. If the partition was never resolved, part remains at its initial value of -1, causing an out-of-bounds array access.
Add a guard to return -EBUSY when part is negative.
The check was dropped during a merge.
The Linux kernel CVE team has assigned CVE-2026-97423 to this issue.
Affected and fixed versions
===========================
Fixed in 6.18.53 with commit 06322da06116f1ee52271dd4d84dc69580087df7 Fixed in 7.2 with commit 16329b510f76e5b824e05bf8add8b29850f1f16f
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-97423
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/region.c
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/06322da06116f1ee52271dd4d84dc69580087df7 https://git.kernel.org/stable/c/16329b510f76e5b824e05bf8add8b29850f1f16f