{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-99593","id":"CVE-2026-99593","title":"Linux kernel exception context corruption in arm64 SDEI handling","description":"In the Linux kernel, the following vulnerability has been resolved:\n\narm64: sdei: Preserve the interrupted context's exception registers\n\nAn SDEI event is dispatched by firmware regardless of PSTATE.DAIF, so it\ncan interrupt the kernel where the exception registers are live:\n\n - exception entry, before kernel_entry has saved ELR_EL1/SPSR_EL1 and\n   before the C handler has read ESR_EL1/FAR_EL1;\n -","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\narm64: sdei: Preserve the interrupted context's exception registers\n\nAn SDEI event is dispatched by firmware regardless of PSTATE.DAIF, so it\ncan interrupt the kernel where the exception registers are live:\n\n - exception entry, before kernel_entry has saved ELR_EL1/SPSR_EL1 and\n   before the C handler has read ESR_EL1/FAR_EL1;\n - exception return, after kernel_exit has loaded ELR_EL1/SPSR_EL1 and\n   before the ERET.\n\nAn IRQ or pseudo-NMI cannot arrive there with PSTATE.I set. Firmware\nsaves only x0-x17, PC and PSTATE around an SDEI event, so a synchronous\nexception taken by the handler overwrites the interrupted context's\nELR, SPSR, ESR and FAR. do_sdei_event() only notices that ELR changed,\nand warns.\n\nThe interrupted context then carries on with the handler's state. A\ntask interrupted on its way into the kernel can be sent SIGILL for the\nhandler's kernel data abort. A task interrupted on its way back to user\nspace ERETs to EL1, at the handler's fixup address, with user registers\nloaded.\n\nWith SDEI delivering NMI backtraces, this happens in normal operation.\nThe handler runs show_regs(), which reads through possibly-NULL pointers\nwith the _nofault() accessors. print_worker_info() faults this way for a\nkworker that is not running a work item, and a single sysrq-l warned\nonce per such kworker.\n\nSave ELR, SPSR, ESR and FAR in __sdei_handler() before\nirqentry_nmi_enter(), which can take an exception too, and restore them\nafter irqentry_nmi_exit().\n\nOnce they are restored, a nested exception is harmless if its handler is\nsafe in NMI context. That holds for EL1 data aborts on translation,\npermission and access-flag faults, which never take the mmap lock in NMI\ncontext, and for BRK. Warn once, with the syndrome, about any other\nexception class.","published":"2026-11-20T05:49:20.961Z","updated":"2026-11-20T07:00:39.698201673Z","reserved":"2026-09-25T10:25:14.423Z","status":"Received","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f5df26961853d6809d704cedcaf082c57f635a64","lessThan":"41069c9f124e98e0f0f4dbc859a0d1bde5aa6774","status":"affected","versionType":"git"},{"version":"f5df26961853d6809d704cedcaf082c57f635a64","lessThan":"4eb6fe1ba6373c573e9940298092fc5d5cd08844","status":"affected","versionType":"git"},{"version":"f5df26961853d6809d704cedcaf082c57f635a64","lessThan":"d56db59d42d03d138ab643f765c84a48876f7a6a","status":"affected","versionType":"git"},{"version":"f5df26961853d6809d704cedcaf082c57f635a64","lessThan":"58c1eb84e97701c583605ba2fd553b69afba2245","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.16","status":"affected"},{"version":"0","lessThan":"4.16","status":"unaffected","versionType":"semver"},{"version":"6.12.118","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.64","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.5","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/41069c9f124e98e0f0f4dbc859a0d1bde5aa6774","tags":["web"]},{"url":"https://git.kernel.org/stable/c/4eb6fe1ba6373c573e9940298092fc5d5cd08844","tags":["web"]},{"url":"https://git.kernel.org/stable/c/d56db59d42d03d138ab643f765c84a48876f7a6a","tags":["web"]},{"url":"https://git.kernel.org/stable/c/58c1eb84e97701c583605ba2fd553b69afba2245","tags":["web"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99593.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99593","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":null,"epssPercentile":null,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-99593","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99593","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-99593","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-99593","ok":false,"note":"no score yet"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}