# CVE-2024-26762: cxl/pci: Skip to handle RAS errors if CXL.mem device is detached

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **Published:** 2024-04-03T17:00:45.655Z
- **Modified:** 2026-08-05T11:27:04.300Z

## Who should check

- Anyone running Linux \>= 6ac07883dbb5f60f7bc56a13b7a84a382aa9c1ab, \< 21e5e84f3f63fdf44e49642a6e45cd895e921a84; \>= 6ac07883dbb5f60f7bc56a13b7a84a382aa9c1ab, \< eef5c7b28dbecd6b141987a96db6c54e49828102
- Anyone running Linux 6.7

## 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

- Linux: \>= 6ac07883dbb5f60f7bc56a13b7a84a382aa9c1ab, \< 21e5e84f3f63fdf44e49642a6e45cd895e921a84; \>= 6ac07883dbb5f60f7bc56a13b7a84a382aa9c1ab, \< eef5c7b28dbecd6b141987a96db6c54e49828102 (cvelist)
- Linux: 6.7 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- patch: <https://git.kernel.org/stable/c/21e5e84f3f63fdf44e49642a6e45cd895e921a84>
- patch: <https://git.kernel.org/stable/c/eef5c7b28dbecd6b141987a96db6c54e49828102>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-26762>

HTML: <https://flawdb.com/CVE-2024-26762> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-26762>
