# CVE-2026-99593: arm64: sdei: Preserve the interrupted context's exception registers

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-02)
- Published: 2026-11-20T05:49:20.961Z
- Modified: 2026-11-23T08:18:00.927Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

arm64: sdei: Preserve the interrupted context's exception registers

An SDEI event is dispatched by firmware regardless of PSTATE.DAIF, so it
can interrupt the kernel where the exception registers are live:

 - exception entry, before kernel_entry has saved ELR_EL1/SPSR_EL1 and
   before the C handler has read ESR_EL1/FAR_EL1;
 - exception return, after kernel_exit has loaded ELR_EL1/SPSR_EL1 and
   before the ERET.

An IRQ or pseudo-NMI cannot arrive there with PSTATE.I set. Firmware
saves only x0-x17, PC and PSTATE around an SDEI event, so a synchronous
exception taken by the handler overwrites the interrupted context's
ELR, SPSR, ESR and FAR. do_sdei_event() only notices that ELR changed,
and warns.

The interrupted context then carries on with the handler's state. A
task interrupted on its way into the kernel can be sent SIGILL for the
handler's kernel data abort. A task interrupted on its way back to user
space ERETs to EL1, at the handler's fixup address, with user registers
loaded.

With SDEI delivering NMI backtraces, this happens in normal operation.
The handler runs show_regs(), which reads through possibly-NULL pointers
with the _nofault() accessors. print_worker_info() faults this way for a
kworker that is not running a work item, and a single sysrq-l warned
once per such kworker.

Save ELR, SPSR, ESR and FAR in __sdei_handler() before
irqentry_nmi_enter(), which can take an exception too, and restore them
after irqentry_nmi_exit().

Once they are restored, a nested exception is harmless if its handler is
safe in NMI context. That holds for EL1 data aborts on translation,
permission and access-flag faults, which never take the mmap lock in NMI
context, and for BRK. Warn once, with the syndrome, about any other
exception class.

(As written by CVE List.)

## Affected

- Linux Linux: from f5df26961853d6809d704cedcaf082c57f635a64 before 914665278485cd633221b637d97bfe923b5290ba; from f5df26961853d6809d704cedcaf082c57f635a64 before 6b0e6363ec642ec05a12b485a2cbdcf8dc9cc1ee; from f5df26961853d6809d704cedcaf082c57f635a64 before c5b3ef8685cfb61635fc4b5b9ef51d9a09c4e484; from f5df26961853d6809d704cedcaf082c57f635a64 before c1fafdf7ca618197fb26880b991f53f41a81c230; from f5df26961853d6809d704cedcaf082c57f635a64 before 41069c9f124e98e0f0f4dbc859a0d1bde5aa6774; from f5df26961853d6809d704cedcaf082c57f635a64 before 4eb6fe1ba6373c573e9940298092fc5d5cd08844; from f5df26961853d6809d704cedcaf082c57f635a64 before d56db59d42d03d138ab643f765c84a48876f7a6a; from f5df26961853d6809d704cedcaf082c57f635a64 before 58c1eb84e97701c583605ba2fd553b69afba2245; 4.16 (not affected: before 4.16; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.118 up to 6.12.*; from 6.18.64 up to 6.18.*; from 7.3.5 up to 7.3.*; from 7.4-rc2 up to *)

## References

- <https://git.kernel.org/stable/c/914665278485cd633221b637d97bfe923b5290ba>
- <https://git.kernel.org/stable/c/6b0e6363ec642ec05a12b485a2cbdcf8dc9cc1ee>
- <https://git.kernel.org/stable/c/c5b3ef8685cfb61635fc4b5b9ef51d9a09c4e484>
- <https://git.kernel.org/stable/c/c1fafdf7ca618197fb26880b991f53f41a81c230>
- <https://git.kernel.org/stable/c/41069c9f124e98e0f0f4dbc859a0d1bde5aa6774>
- <https://git.kernel.org/stable/c/4eb6fe1ba6373c573e9940298092fc5d5cd08844>
- <https://git.kernel.org/stable/c/d56db59d42d03d138ab643f765c84a48876f7a6a>
- <https://git.kernel.org/stable/c/58c1eb84e97701c583605ba2fd553b69afba2245>

## Sources

- CVE List: [CVE-2026-99593](https://www.cve.org/CVERecord?id=CVE-2026-99593), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-99593](https://nvd.nist.gov/vuln/detail/CVE-2026-99593), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-99593 · Whole record: https://cve.day/CVE-2026-99593.json · Rebuilt by cve.day 2026-11-25T22:59:52.273Z
