# CVE-2026-74274: cxl/region: Fill first free targets\[\] slot during auto-discovery

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-08-15T05:57:46.798Z
- **Modified:** 2026-08-17T06:19:21.097Z

## Who should check

- Anyone running Linux \>= 2230c4bdc4120417799c74326ade3123da226d54, \< 6fde3fcdfec438ba0df26e25a8ac7c3707211799; \>= 2230c4bdc4120417799c74326ade3123da226d54, \< aa8a76711c15041ec1e42c3a74c15c2df0bd31f6
- Anyone running Linux 6.19

## Description

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

cxl/region: Fill first free targets\[\] slot during auto-discovery

Any invalid endpoint decoder pointer in the target array of an active
region is not allowed by cxl driver. This means cxl driver always
assumes the first p-\>nr\_targets entries of the target array in an
auto-assembly region are valid. However, there are scenarios that could
leave NULL endpoint decoder pointer holes in the target array.

1. When cxl\_cancel\_auto\_attach() removes an endpoint decoder from a
   target array, the target slot is set to NULL. If the removed endpoint
   decoder is not the last element in the target array, the target array
   will contain a NULL hole.

2. When a auto-assembly region removes an assigned endpoint decoder, if
   the removed endpoint decoder is not the last element in the target
   array, always remains a NULL hole in the target array.

When a NULL pointer hole exists in a region's target array, it
introduces two potential problems:
1. Access an endpoint decoder via a NULL pointer. it always trigger
   calltrace like that.
    Oops: general protection fault, probably for non-canonical address 0xdffffc0000000008: 0000 \[\#1\] SMP KASAN PTI
    RIP: 0010:cxl\_calc\_interleave\_pos+0x26/0x810 \[cxl\_core\]
    Call Trace:
      \<TASK\>
      cxl\_region\_attach+0xc50/0x2140 \[cxl\_core\]
      cxl\_add\_to\_region+0x321/0x2330 \[cxl\_core\]
      discover\_region+0x92/0x150 \[cxl\_port\]
      device\_for\_each\_child+0xf3/0x170
      cxl\_port\_probe+0x150/0x200 \[cxl\_port\]
      cxl\_bus\_probe+0x4f/0xa0 \[cxl\_core\]
      really\_probe+0x1c8/0x960
      \_\_driver\_probe\_device+0x323/0x450
      driver\_probe\_device+0x45/0x120
      \_\_device\_attach\_driver+0x15d/0x280
      bus\_for\_each\_drv+0x10f/0x190

2. Not having enough valid endpoint decoders attached to an
   auto-assembly region. if an auto-assembly region is created with lock
   flag or assigned endpoint decoder with lock flag, which means
   assigned endpoint decoder will not be reset during detaching, they
   could re-attach to the auto-assembly region again. But cxl region
   driver relies on p-\>nr\_targets to verify whether the required number
   of endpoint decoders has been attached, and NULL endpoint decoder
   pointers are still counted in that case.

To fix above issues, adjust cxl\_region\_attach\_auto() logic to find the
first free target slot for endpoint decoder attachment, this ensures
NULL holes in the target array are filled, rather than adding new
endpoint decoders at the tail of the target array.

## Affected and fixed versions

- Linux: \>= 2230c4bdc4120417799c74326ade3123da226d54, \< 6fde3fcdfec438ba0df26e25a8ac7c3707211799; \>= 2230c4bdc4120417799c74326ade3123da226d54, \< aa8a76711c15041ec1e42c3a74c15c2df0bd31f6 (cvelist)
- Linux: 6.19 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-74274. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-74274.md
Affected: Linux >= 2230c4bdc4120417799c74326ade3123da226d54, < 6fde3fcdfec438ba0df26e25a8ac7c3707211799; >= 2230c4bdc4120417799c74326ade3123da226d54, < aa8a76711c15041ec1e42c3a74c15c2df0bd31f6; Linux 6.19
Fixed in: Linux 6fde3fcdfec438ba0df26e25a8ac7c3707211799

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-74274 being exploited?

There is no confirmed exploitation: CVE-2026-74274 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-74274?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-74274?

Linux \>= 2230c4bdc4120417799c74326ade3123da226d54, \< 6fde3fcdfec438ba0df26e25a8ac7c3707211799; \>= 2230c4bdc4120417799c74326ade3123da226d54, \< aa8a76711c15041ec1e42c3a74c15c2df0bd31f6; Linux 6.19.

### Is there a fix for CVE-2026-74274?

Yes. Fixed in Linux 6fde3fcdfec438ba0df26e25a8ac7c3707211799. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-74274?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/6fde3fcdfec438ba0df26e25a8ac7c3707211799>
- other: <https://git.kernel.org/stable/c/aa8a76711c15041ec1e42c3a74c15c2df0bd31f6>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-74274>

HTML: <https://flawdb.com/CVE-2026-74274> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-74274>
