{"id":"CVE-2024-26761","published":"2024-04-03T17:00:44Z","modified":"2026-05-11T20:03:39Z","title":"cxl/pci: Fix disabling memory if DVSEC CXL Range does not match a CFMWS window","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncxl/pci: Fix disabling memory if DVSEC CXL Range does not match a CFMWS window\n\nThe Linux CXL subsystem is built on the assumption that HPA == SPA.\nThat is, the host physical address (HPA) the HDM decoder registers are\nprogrammed with are system physical addresses (SPA).\n\nDuring HDM decoder setup, the DVSEC CXL range registers (cxl-3.1,\n8.1.3.8) are checked if the memory is enabled and the CXL range is in\na HPA window that is described in a CFMWS structure of the CXL host\nbridge (cxl-3.1, 9.18.1.3).\n\nNow, if the HPA is not an SPA, the CXL range does not match a CFMWS\nwindow and the CXL memory range will be disabled then. The HDM decoder\nstops working which causes system memory being disabled and further a\nsystem hang during HDM decoder initialization, typically when a CXL\nenabled kernel boots.\n\nPrevent a system hang and do not disable the HDM decoder if the\ndecoder's CXL range is not found in a CFMWS window.\n\nNote the change only fixes a hardware hang, but does not implement\nHPA/SPA translation. Support for this can be added in a follow on\npatch series.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00305,"percentile":0.15735,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/031217128990d7f0ab8c46db1afb3cf1e075fd29","tags":[]},{"url":"https://git.kernel.org/stable/c/2cc1a530ab31c65b52daf3cb5d0883c8b614ea69","tags":[]},{"url":"https://git.kernel.org/stable/c/3a3181a71935774bda2398451256d7441426420b","tags":[]},{"url":"https://git.kernel.org/stable/c/0cab687205986491302cd2e440ef1d253031c221","tags":[]}],"priority":{"score":3.1,"factors":[{"name":"EPSS percentile","points":3.15}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 34e37b4c432cd0f1842b352fde4b8878b4166888, < 031217128990d7f0ab8c46db1afb3cf1e075fd29",">= 34e37b4c432cd0f1842b352fde4b8878b4166888, < 2cc1a530ab31c65b52daf3cb5d0883c8b614ea69",">= 34e37b4c432cd0f1842b352fde4b8878b4166888, < 3a3181a71935774bda2398451256d7441426420b",">= 34e37b4c432cd0f1842b352fde4b8878b4166888, < 0cab687205986491302cd2e440ef1d253031c221"]},{"vendor":"Linux","product":"Linux","versions":["5.19"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-04-03T18:38:51.943125Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-24023","exploited":false,"provenance":"source"}}