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

Summary

CVECVE-2026-99593
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-20 06:17:50 UTC
Updated2026-11-23 08:18:00 UTC
DescriptionIn 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.

Risk And Classification

EPSS: 0.002110000 probability, percentile 0.113360000 (date 2026-11-23)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected f5df26961853d6809d704cedcaf082c57f635a64 914665278485cd633221b637d97bfe923b5290ba git Not specified
CNA Linux Linux affected f5df26961853d6809d704cedcaf082c57f635a64 6b0e6363ec642ec05a12b485a2cbdcf8dc9cc1ee git Not specified
CNA Linux Linux affected f5df26961853d6809d704cedcaf082c57f635a64 c5b3ef8685cfb61635fc4b5b9ef51d9a09c4e484 git Not specified
CNA Linux Linux affected f5df26961853d6809d704cedcaf082c57f635a64 c1fafdf7ca618197fb26880b991f53f41a81c230 git Not specified
CNA Linux Linux affected f5df26961853d6809d704cedcaf082c57f635a64 41069c9f124e98e0f0f4dbc859a0d1bde5aa6774 git Not specified
CNA Linux Linux affected f5df26961853d6809d704cedcaf082c57f635a64 4eb6fe1ba6373c573e9940298092fc5d5cd08844 git Not specified
CNA Linux Linux affected f5df26961853d6809d704cedcaf082c57f635a64 d56db59d42d03d138ab643f765c84a48876f7a6a git Not specified
CNA Linux Linux affected f5df26961853d6809d704cedcaf082c57f635a64 58c1eb84e97701c583605ba2fd553b69afba2245 git Not specified
CNA Linux Linux affected 4.16 Not specified
CNA Linux Linux unaffected 4.16 semver Not specified
CNA Linux Linux unaffected 5.10.275 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.226 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.193 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.163 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.118 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.64 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.5 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc2 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/41069c9f124e98e0f0f4dbc859a0d1bde5aa6774 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/4eb6fe1ba6373c573e9940298092fc5d5cd08844 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/c1fafdf7ca618197fb26880b991f53f41a81c230 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/c5b3ef8685cfb61635fc4b5b9ef51d9a09c4e484 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/6b0e6363ec642ec05a12b485a2cbdcf8dc9cc1ee 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/914665278485cd633221b637d97bfe923b5290ba 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/58c1eb84e97701c583605ba2fd553b69afba2245 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/d56db59d42d03d138ab643f765c84a48876f7a6a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report