# CVE-2026-74275: cxl/region: Fix out-of-bounds access in cxl_cancel_auto_attach()

- Severity: High 8.4 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-08-15T05:57:47.455Z
- Modified: 2026-08-17T06:19:21.187Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

cxl/region: Fix out-of-bounds access in cxl_cancel_auto_attach()

In cxl_cancel_auto_attach(), it assumes cxled->pos is a valid index for
accessing p->targets[]. However, cxled->pos can be set to negative errno
in cxl_region_sort_targets() if cxl_calc_interleave_pos() fails. This
causes the driver to use a negative index to access p->targets[],
resulting in out-of-bounds access.

Fix it by walking p->targets[] instead of using cxled->pos directly.

(As written by CVE List.)

## Affected

- Linux Linux: from 87805c32e6ad7b5ce2d9f7f47e76081857a4a335 before 44b2397eb67b7f728640989a22d062e41f94ab64; from 87805c32e6ad7b5ce2d9f7f47e76081857a4a335 before cbda6a2c2bec2a5fb30a2ce85baeab15b5fc7db3; 7.1 (not affected: before 7.1; from 7.1.5 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/44b2397eb67b7f728640989a22d062e41f94ab64>
- <https://git.kernel.org/stable/c/cbda6a2c2bec2a5fb30a2ce85baeab15b5fc7db3>

## Sources

- CVE List: [CVE-2026-74275](https://www.cve.org/CVERecord?id=CVE-2026-74275), CVE Terms of Use, modified 2026-08-17
- NVD: [CVE-2026-74275](https://nvd.nist.gov/vuln/detail/CVE-2026-74275), Public domain, modified 2026-08-17

---

Page: https://cve.day/CVE-2026-74275 · Whole record: https://cve.day/CVE-2026-74275.json · Rebuilt by cve.day 2026-11-25T22:59:33.154Z
