CVE-2024-26762
cxl/pci: Skip to handle RAS errors if CXL.mem device is detached
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 6ac07883dbb5f60f7bc56a13b7a84a382aa9c1ab, < 21e5e84f3f63fdf44e49642a6e45cd895e921a84; >= 6ac07883dbb5f60f7bc56a13b7a84a382aa9c1ab, < eef5c7b28dbecd6b141987a96db6c54e49828102
- Anyone running Linux 6.7
Vulnerability facts
- Affected
- Linux >= 6ac07883dbb5f60f7bc56a13b7a84a382aa9c1ab, < 21e5e84f3f63fdf44e49642a6e45cd895e921a84; >= 6ac07883dbb5f60f7bc56a13b7a84a382aa9c1ab, < eef5c7b28dbecd6b141987a96db6c54e49828102; Linux 6.7
- Fixed in
- Linux 21e5e84f3f63fdf44e49642a6e45cd895e921a84
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.29% chance of exploitation in 30 days (percentile 14, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: cxl/pci: Skip to handle RAS errors if CXL.mem device is detached The PCI AER model is an awkward fit for CXL error handling. While the expectation is that a PCI device can escalate to link reset to recover from an AER event, the same reset on CXL amounts to a surprise memory hotplug of massive amounts of memory. At present, the CXL error handler attempts some optimistic error handling to unbind the device from the cxl_mem driver after reaping some RAS register values. This results in a "hopeful" attempt to unplug the memory, but there is no guarantee that will succeed. A subsequent AER notification after the memdev unbind event can no longer assume the registers are mapped. Check for memdev bind before reaping status register values to avoid crashes of the form: BUG: unable to handle page fault for address: ffa00000195e9100 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page [...] RIP: 0010:__cxl_handle_ras+0x30/0x110 [cxl_core] [...] Call Trace: <TASK> ? __die+0x24/0x70 ? page_fault_oops+0x82/0x160 ? kernelmode_fixup_or_oops+0x84/0x110 ? exc_page_fault+0x113/0x170 ? asm_exc_page_fault+0x26/0x30 ? __pfx_dpc_reset_link+0x10/0x10 ? __cxl_handle_ras+0x30/0x110 [cxl_core] ? find_cxl_port+0x59/0x80 [cxl_core] cxl_handle_rp_ras+0xbc/0xd0 [cxl_core] cxl_error_detected+0x6c/0xf0 [cxl_core] report_error_detected+0xc7/0x1c0 pci_walk_bus+0x73/0x90 pcie_do_recovery+0x23f/0x330 Longer term, the unbind and PCI_ERS_RESULT_DISCONNECT behavior might need to be replaced with a new PCI_ERS_RESULT_PANIC.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-26762. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-26762.md Affected: Linux >= 6ac07883dbb5f60f7bc56a13b7a84a382aa9c1ab, < 21e5e84f3f63fdf44e49642a6e45cd895e921a84; >= 6ac07883dbb5f60f7bc56a13b7a84a382aa9c1ab, < eef5c7b28dbecd6b141987a96db6c54e49828102; Linux 6.7 Fixed in: Linux 21e5e84f3f63fdf44e49642a6e45cd895e921a84 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.
References
FAQ
Is CVE-2024-26762 being exploited?
There is no confirmed exploitation: CVE-2024-26762 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-26762?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-26762?
Linux >= 6ac07883dbb5f60f7bc56a13b7a84a382aa9c1ab, < 21e5e84f3f63fdf44e49642a6e45cd895e921a84; >= 6ac07883dbb5f60f7bc56a13b7a84a382aa9c1ab, < eef5c7b28dbecd6b141987a96db6c54e49828102; Linux 6.7.
Is there a fix for CVE-2024-26762?
Yes. Fixed in Linux 21e5e84f3f63fdf44e49642a6e45cd895e921a84. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2024-26762?
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.