VDB

CVE-2026-89589

CVE-2026-89589 PUBLISHED

acpi/apei/ghes: Use raw_spinlock_t for CXL CPER work locks

Reported by linux · Published September 11, 2026

In the Linux kernel, the following vulnerability has been resolved: acpi/apei/ghes: Use raw_spinlock_t for CXL CPER work locks The CXL CPER work registration and unregistration helpers acquire cxl_cper_work_lock and cxl_cper_prot_err_work_lock with a spinlock guard(), which leaves local interrupts enabled. The corresponding post paths (cxl_cper_post_event(), cxl_cper_post_prot_err()) execute in hard IRQ context (they are called from the GHES error notification path) and acquire the same locks with an irqsave guard(). If a CPU is holding one of these locks via a spinlock guard() when a GHES interrupt arrives on the same CPU, the IRQ handler spins on the held lock waiting for it to release, while the lock holder is preempted by the IRQ. The result is a deadlock. Convert both locks from spinlock_t to raw_spinlock_t and use guard() at all call sites. On PREEMPT_RT kernels spinlock_t is backed by rt_mutex and sleeping from hard IRQ context is not permitted; raw_spinlock_t is safe in both contexts. Add WARN_ONCE to both register functions to surface double-registration bugs at runtime. Restructure both unregister functions to clear the global work pointer under the lock before calling cancel_work_sync(), closing the window where a CPER interrupt could schedule work on a pointer about to be freed. Add kfifo_reset() after cancel_work_sync() so stale entries are not replayed on next module load. Both kfifos are single-consumer: only one work_struct is registered at a time, enforced by the WARN_ONCE guard in the register functions. kfifo_reset() is safe outside the lock because cancel_work_sync() has already quiesced the consumer, and no new consumer can register until the current module exit completes and a fresh module init runs. Remove the redundant cancel_work_sync() call from cxl_ras_exit() and cxl_pci_driver_exit(). The CPER unregister functions now quiesce the work internally.

EPSS 0.18% · 7.1th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
perf6.18Amazon Linux1:6.18.51-120.162.amzn2023
kernel6.18-modules-extra-commonAmazon Linux1:6.18.51-120.162.amzn2023
bpftool6.12Amazon Linux1:6.12.111-136.204.amzn2023
kernel6.18-headersAmazon Linux1:6.18.51-120.162.amzn2023
bpftool6.18Amazon Linux1:6.18.51-120.162.amzn2023

Risk scores

EPSS Score
0.18%
7.1th percentile

Affected products

VendorProductVersions
LinuxLinux5e4a264bf8b55d5a1b4c8cd96ac10b99f98d7487, 5e4a264bf8b55d5a1b4c8cd96ac10b99f98d7487, 5e4a264bf8b55d5a1b4c8cd96ac10b99f98d7487
LinuxLinux6.10, 0, 6.12.111
amazon:2023perf6.180
amazon:2023kernel6.18-modules-extra-common0
amazon:2023bpftool6.120
amazon:2023kernel6.18-headers0
amazon:2023bpftool6.180
linuxlinux_kernel6.10, 6.10, 6.10
amazon:2023kernel6.12-tools0
amazon:2023kernel6.12-headers0
amazon:2023python3-perf6.120
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel-livepatch-6.18.51-120.1620
amazon:2023kernel6.18-tools0
amazon:2023kernel6.18-devel0
amazon:2023python3-perf6.180
amazon:2023kernel6.12-modules-extra-common0
amazon:2023perf6.120
amazon:2023kernel-livepatch-6.12.111-136.2040

…and 7 more

Timeline

  • Sep 11, 2026 CVE Published
  • Sep 12, 2026 EPSS Score (15 in total, the first dated here)
  • Oct 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-89589
vulnetix vdb fixes CVE-2026-89589

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-89589/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›