CVE-2024-26761
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
03/04/2024
Last modified:
17/03/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
cxl/pci: Fix disabling memory if DVSEC CXL Range does not match a CFMWS window<br />
<br />
The Linux CXL subsystem is built on the assumption that HPA == SPA.<br />
That is, the host physical address (HPA) the HDM decoder registers are<br />
programmed with are system physical addresses (SPA).<br />
<br />
During HDM decoder setup, the DVSEC CXL range registers (cxl-3.1,<br />
8.1.3.8) are checked if the memory is enabled and the CXL range is in<br />
a HPA window that is described in a CFMWS structure of the CXL host<br />
bridge (cxl-3.1, 9.18.1.3).<br />
<br />
Now, if the HPA is not an SPA, the CXL range does not match a CFMWS<br />
window and the CXL memory range will be disabled then. The HDM decoder<br />
stops working which causes system memory being disabled and further a<br />
system hang during HDM decoder initialization, typically when a CXL<br />
enabled kernel boots.<br />
<br />
Prevent a system hang and do not disable the HDM decoder if the<br />
decoder&#39;s CXL range is not found in a CFMWS window.<br />
<br />
Note the change only fixes a hardware hang, but does not implement<br />
HPA/SPA translation. Support for this can be added in a follow on<br />
patch series.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.19 (including) | 6.1.80 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.2 (including) | 6.6.19 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7 (including) | 6.7.7 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.8:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.8:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.8:rc3:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.8:rc4:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.8:rc5:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/031217128990d7f0ab8c46db1afb3cf1e075fd29
- https://git.kernel.org/stable/c/0cab687205986491302cd2e440ef1d253031c221
- https://git.kernel.org/stable/c/2cc1a530ab31c65b52daf3cb5d0883c8b614ea69
- https://git.kernel.org/stable/c/3a3181a71935774bda2398451256d7441426420b
- https://git.kernel.org/stable/c/031217128990d7f0ab8c46db1afb3cf1e075fd29
- https://git.kernel.org/stable/c/0cab687205986491302cd2e440ef1d253031c221
- https://git.kernel.org/stable/c/2cc1a530ab31c65b52daf3cb5d0883c8b614ea69
- https://git.kernel.org/stable/c/3a3181a71935774bda2398451256d7441426420b



