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&amp;#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.

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:*:*:*:*:*:*