CVE-2026-74275

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

State
Published
Severity
8.4 High
Published
Aug 15, 2026
Updated
Aug 17, 2026
Reserved
Aug 15, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.4 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 87805c32e6ad7b5ce2d9f7f47e76081857a4a335 to before 44b2397eb67b7f728640989a22d062e41f94ab64Affected
  • 87805c32e6ad7b5ce2d9f7f47e76081857a4a335 to before cbda6a2c2bec2a5fb30a2ce85baeab15b5fc7db3Affected
LinuxLinux
  • 7.1Affected
  • before 7.1Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.