CVE-2024-26762
published high CVSS 3.1 · 7.8cxl/pci: Skip to handle RAS errors if CXL.mem device is detached
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux6ac07883dbb5f60f7bc56a13b7a84a382aa9c1ab to < 21e5e84f3f63fdf44e49642a6e45cd895e921a84 · 6ac07883dbb5f60f7bc56a13b7a84a382aa9c1ab to < eef5c7b28dbecd6b141987a96db6c54e49828102 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.7 (affected) · 0 to < 6.7 (unaffected · semver) · 6.7.7 through 6.7.* (unaffected · semver) · 6.8 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-defaultaarch64 | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-defaultppc64le | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-defaults390x | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
Show 70 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-rtx86_64 | Advisory build | 6.4.0-150700.7.8.1 | SUSE-SU-2025:02333-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-defaultaarch64 | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-defaultppc64le | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-defaults390x | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-defaultx86_64 | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-rtx86_64 | Advisory build | 6.4.0-150700.7.8.1 | SUSE-SU-2025:02333-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-defaultaarch64 | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-defaultppc64le | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-defaults390x | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-defaultx86_64 | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-rtx86_64 | Advisory build | 6.4.0-150700.7.8.1 | SUSE-SU-2025:02333-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-64kbaarch64 | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-64kb-develaarch64 | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-azureaarch64 | Advisory build | 6.4.0-150700.20.6.1 | SUSE-SU-2025:02254-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-azurex86_64 | Advisory build | 6.4.0-150700.20.6.1 | SUSE-SU-2025:02254-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-azure-develaarch64 | Advisory build | 6.4.0-150700.20.6.1 | SUSE-SU-2025:02254-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-azure-develx86_64 | Advisory build | 6.4.0-150700.20.6.1 | SUSE-SU-2025:02254-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-defaultaarch64 | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-defaultppc64le | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-defaults390x | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-defaultx86_64 | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-baseaarch64 | Advisory build | 6.4.0-150700.53.6.1.150700.17.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-baseppc64le | Advisory build | 6.4.0-150700.53.6.1.150700.17.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-basex86_64 | Advisory build | 6.4.0-150700.53.6.1.150700.17.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-develaarch64 | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-develppc64le | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-devels390x | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-develx86_64 | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-extrax86_64 | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-livepatchppc64le | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-livepatchs390x | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-livepatchx86_64 | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-livepatch-develppc64le | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-livepatch-devels390x | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-livepatch-develx86_64 | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-develnoarch | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-devel-azurenoarch | Advisory build | 6.4.0-150700.20.6.1 | SUSE-SU-2025:02254-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-devel-rtnoarch | Advisory build | 6.4.0-150700.7.8.1 | SUSE-SU-2025:02333-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-docsnoarch | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-livepatch-6_4_0-150700_53_6-defaultppc64le | Advisory build | 1-150700.15.3.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-livepatch-6_4_0-150700_53_6-defaults390x | Advisory build | 1-150700.15.3.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-livepatch-6_4_0-150700_53_6-defaultx86_64 | Advisory build | 1-150700.15.3.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-livepatch-6_4_0-150700_7_8-rtx86_64 | Advisory build | 1-150700.1.5.1 | SUSE-SU-2025:02333-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-macrosnoarch | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-obs-buildaarch64 | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-obs-buildppc64le | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-obs-builds390x | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-obs-buildx86_64 | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-rtx86_64 | Advisory build | 6.4.0-150700.7.8.1 | SUSE-SU-2025:02333-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-rt-develx86_64 | Advisory build | 6.4.0-150700.7.8.1 | SUSE-SU-2025:02333-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-sourcenoarch | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-source-azurenoarch | Advisory build | 6.4.0-150700.20.6.1 | SUSE-SU-2025:02254-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-source-rtnoarch | Advisory build | 6.4.0-150700.7.8.1 | SUSE-SU-2025:02333-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-symsaarch64 | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-symsppc64le | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-symss390x | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-symsx86_64 | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-syms-azureaarch64 | Advisory build | 6.4.0-150700.20.6.1 | SUSE-SU-2025:02254-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-syms-azurex86_64 | Advisory build | 6.4.0-150700.20.6.1 | SUSE-SU-2025:02254-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-syms-rtx86_64 | Advisory build | 6.4.0-150700.7.8.1 | SUSE-SU-2025:02333-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-zfcpdumps390x | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | ocfs2-kmp-defaultaarch64 | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | ocfs2-kmp-defaultppc64le | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | ocfs2-kmp-defaults390x | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | ocfs2-kmp-defaultx86_64 | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | ocfs2-kmp-rtx86_64 | Advisory build | 6.4.0-150700.7.8.1 | SUSE-SU-2025:02333-1 |
| SUSE / openSUSE | SLE-15-SP7 | reiserfs-kmp-defaultaarch64 | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | reiserfs-kmp-defaultppc64le | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | reiserfs-kmp-defaults390x | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
| SUSE / openSUSE | SLE-15-SP7 | reiserfs-kmp-defaultx86_64 | Advisory build | 6.4.0-150700.53.6.1 | SUSE-SU-2025:02307-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerable code is only reachable through the local PCIe AER/DPC error-reporting path (`pcie_do_recovery()` → `report_error_detected()` → `cxl_error_detected()`) on a CXL-attached host; there is no network- or peer-supplied data involved. Local access to the machine hosting the CXL memory device is the applicable vector, and it is the higher-severity of the two candidate vectors (Local vs. Physical device manipulation). AC:L - The vulnerable state is entered deterministically — the kernel's own handler calls `device_release_driver()` on the first uncorrectable/frozen event, unmapping the devm-owned RAS/AER blocks — and any following AER notification unconditionally dereferences the stale `dport->regs.ras`. The sequence is repeatable at will on affected hardware with no condition outside the attacker's influence. PR:L - No privilege is needed to enter the vulnerable state: the memdev unbind that invalidates the mappings is performed by the kernel error handler itself, not by an administrator. CXL Type-3 media is surfaced as an ordinary System-RAM NUMA node that any unprivileged local user can allocate from and drive CXL.mem RAS reporting against, so basic local user access suffices to keep error notifications flowing into the stale-pointer path. UI:N - No victim action is required; PCIe AER/DPC notifications are consumed automatically by the kernel recovery worker, which invokes `cxl_error_detected()`/`cxl_cor_error_detected()` without any user involvement. S:U - The stale `__iomem` dereference, disclosure, and corruption all occur inside the kernel's own security authority in the CXL core driver, with no crossing of a VM, IOMMU, or sandbox boundary. C:H - `dport->regs.ras`/`dport->regs.dport_aer` dangle into the shared vmalloc/ioremap address space after `devm_iounmap()`, and `header_log_copy()` reads 512 bytes from that address into the `cxl_aer_uncorrectable_error` trace event; once the range is recycled by another `ioremap()`/`vmalloc()` this leaks foreign device registers or kernel memory, a use-after-unmap read primitive. I:H - `__cxl_handle_ras()` and `__cxl_handle_cor_ras()` perform `writel()` through the same dangling mapping, storing a status value back at a fixed offset; after the VA is reclaimed this corrupts whatever now occupies it — another device's MMIO window or a recycled vmalloc allocation — giving a groomable write primitive alongside the read. A:H - The documented and near-certain outcome is an immediate kernel page fault on a not-present page inside `__cxl_handle_ras()` running in the AER recovery path, producing an oops (panic with `panic_on_oops`) and taking down a host whose main memory is the CXL device being torn down.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 6ac07883dbb5f60f7bc56a13b7a84a382aa9c1ab to < 21e5e84f3f63fdf44e49642a6e45cd895e921a84 (affected · git)6ac07883dbb5f60f7bc56a13b7a84a382aa9c1ab to < eef5c7b28dbecd6b141987a96db6c54e49828102 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.7 (affected)0 to < 6.7 (unaffected · semver)6.7.7 through 6.7.* (unaffected · semver)6.8 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
3Linux · cna
cxl/pci: Skip to handle RAS errors if CXL.mem device is detached
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c48da81adad575fd9660ae91c7e9ed5392576f288391ace583a8e002d252266c
- Ingested
- 23 Sep 2026, 08:20:34 UTC
- Source record
- Official CVE record