# CVE-2024-26761: cxl/pci: Fix disabling memory if DVSEC CXL Range does not match a CFMWS window

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-04-03T17:00:44.934Z
- Modified: 2026-06-17T07:18:16.650Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

cxl/pci: Fix disabling memory if DVSEC CXL Range does not match a CFMWS window

The Linux CXL subsystem is built on the assumption that HPA == SPA.
That is, the host physical address (HPA) the HDM decoder registers are
programmed with are system physical addresses (SPA).

During HDM decoder setup, the DVSEC CXL range registers (cxl-3.1,
8.1.3.8) are checked if the memory is enabled and the CXL range is in
a HPA window that is described in a CFMWS structure of the CXL host
bridge (cxl-3.1, 9.18.1.3).

Now, if the HPA is not an SPA, the CXL range does not match a CFMWS
window and the CXL memory range will be disabled then. The HDM decoder
stops working which causes system memory being disabled and further a
system hang during HDM decoder initialization, typically when a CXL
enabled kernel boots.

Prevent a system hang and do not disable the HDM decoder if the
decoder's CXL range is not found in a CFMWS window.

Note the change only fixes a hardware hang, but does not implement
HPA/SPA translation. Support for this can be added in a follow on
patch series.

(As written by CVE List.)

## Affected

- Linux Linux: from 34e37b4c432cd0f1842b352fde4b8878b4166888 before 031217128990d7f0ab8c46db1afb3cf1e075fd29; from 34e37b4c432cd0f1842b352fde4b8878b4166888 before 2cc1a530ab31c65b52daf3cb5d0883c8b614ea69; from 34e37b4c432cd0f1842b352fde4b8878b4166888 before 3a3181a71935774bda2398451256d7441426420b; from 34e37b4c432cd0f1842b352fde4b8878b4166888 before 0cab687205986491302cd2e440ef1d253031c221; 5.19 (not affected: before 5.19; from 6.1.80 up to 6.1.*; from 6.6.19 up to 6.6.*; from 6.7.7 up to 6.7.*; from 6.8 up to *)
- linux linux_kernel: from 5.19 before 6.1.80; from 6.2 before 6.6.19; from 6.7 before 6.7.7; 6.8

## References

- <https://git.kernel.org/stable/c/031217128990d7f0ab8c46db1afb3cf1e075fd29> (patch)
- <https://git.kernel.org/stable/c/2cc1a530ab31c65b52daf3cb5d0883c8b614ea69> (patch)
- <https://git.kernel.org/stable/c/3a3181a71935774bda2398451256d7441426420b> (patch)
- <https://git.kernel.org/stable/c/0cab687205986491302cd2e440ef1d253031c221> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2024-26761 · Whole record: https://cve.day/CVE-2024-26761.json · Rebuilt by cve.day 2026-11-25T22:58:38.689Z
