CVE-2026-139226: Drivers: hv: Run VMBus kexec cleanup from syscore shutdown
In the Linux kernel, the following vulnerability has been resolved:
Drivers: hv: Run VMBus kexec cleanup from syscore shutdown
ARM64 Hyper-V guests do not run the VMBus kexec cleanup before secondary CPUs are stopped. Consequently, the old VMBus connection and SynIC state remain active when the kexec kernel starts.
Run the VMBus kexec handler from the existing VMBus syscore shutdown callback. syscoreshutdown() runs after device shutdown and before machine shutdown, while all CPUs needed by the SynIC CPU hotplug teardown are still available. Guard the callback with kexecisinprogress() so normal restart, halt, and poweroff paths are unchanged.
Use the same path on x86 and remove the architecture-specific handler pointer and the weak setup/remove interfaces. VMBus teardown now precedes hvstimerglobalcleanup() on x86.
The new x86 ordering relies on commit be0cfab740e5 ("clocksource: hyper-v: Remove support for stimer interrupts in message mode"), which removed the synthetic timer's dependency on VMBus message delivery. Older kernels that retain message-mode stimer interrupts must preserve the existing x86 ordering and therefore require an ARM64-specific backport.
Document the VMBus cleanup path and its position in shutdown ordering.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In the Linux kernel, run the VMBus kexec handler from the existing VMBus syscore shutdown callback and guard it with kexec_is_in_progress(). Use this path on x86 as well, removing the architecture-specific handler pointer and weak setup/remove interfaces.