CVE-2026-143423: arm64: sdei: Run the event handler on the kernel vectors
In the Linux kernel, the following vulnerability has been resolved:
arm64: sdei: Run the event handler on the kernel vectors
With KPTI, VBAREL1 holds the trampoline vectors from the return to EL0 until the next exception from EL0 maps the kernel and installs the kernel vectors. The trampoline vectors only handle exceptions from EL0; their current-EL half is zero-filled.
An SDEI event is dispatched regardless of PSTATE.DAIF, so it lands there whenever the CPU is in user space. The SDEI entry trampoline maps the kernel but leaves VBAREL1 alone. An exception taken by the handler then executes the zeros, takes an undefined instruction exception to the same vector, and loops there forever. The event never completes and the CPU is lost; RCU stall reports are the first sign of it.
RAS notifications land in user space whenever a task consumes the error, and NMI backtraces land wherever the CPU happens to be. The GHES handler takes no exception on its own, but any exception in the handler path does it: a WARN, a kprobe hit, or a fault fixed up by a nofault() accessor.
Install the kernel vectors in sdeihandler() when VBAREL1 holds the trampoline vectors, and restore it before returning to firmware. The switch covers irqentrynmienter() and irqentrynmiexit() too, as Usama Arif pointed out: their tracepoints and context tracking WARNs can take an exception as well.
The IRQ-like resume into user space must still go through the trampoline to map the kernel. dosdeievent() takes the interrupted VBAREL1 and keeps basing the resume address on it.
[catalin.marinas@arm.com: use rawcpuread() for thiscpuvector]
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In __sdei_handler(), install the kernel vectors when VBAR_EL1 holds the trampoline vectors, then restore them before returning to firmware.
Event History
Frequently Asked Questions
Which systems are exposed to this failure mode?
Affected systems are arm64 Linux systems using KPTI where an SDEI event is dispatched while the CPU is in user space. RAS notifications can occur in this context when a task consumes an error, and NMI backtraces can occur wherever the CPU is executing.
What condition causes the CPU to become unusable?
After the SDEI entry trampoline maps the kernel, an exception in the event handler can enter the zero-filled current-EL half of the trampoline vectors. This repeatedly raises undefined-instruction exceptions, prevents the event from completing, and loses the CPU.
How might this issue appear operationally?
RCU stall reports are described as the first sign. Handler-path events that can trigger the failure include a WARN, a kprobe hit, or a fault handled by a _nofault() accessor.