Database/Kernel, userspace & hypervisor

Linux kernel KVM arm64: mismanaged userspace irqchip state triggers a kernel WARN on vCPU re-init
Impact
KVM on arm64 tracked whether userspace owns the interrupt controller with a static key that could fall out of sync with reality: a vCPU initialised with a vPMU but no vGIC fails KVM_RUN partway through, leaving the timer enabled but the counter un-incremented, and a second KVM_ARM_VCPU_INIT then reaches WARN_ON() in kvm_timer_update_irq(). What the operator gets is a kernel warning and splat per occurrence, reachable from whatever process holds /dev/kvm - a hypervisor-level reliability bug rather than a guest escape. On arm64 GPU hosts (Grace/Grace-Hopper class nodes running tenant VMs), a tenant-facing VMM or any local user with /dev/kvm can produce these at will, filling the host log and tripping panic_on_warn fleets into a reboot that drains every accelerator on the node. The record shows no memory corruption, no host-to-guest or guest-to-host data exposure, and the fix is a cleanup that removes the static key entirely.
Who can reach it
Local user or VMM process with access to /dev/kvm on an arm64 host, issuing a specific KVM_ARM_VCPU_INIT / KVM_RUN / KVM_ARM_VCPU_INIT sequence. No network reach, nothing from inside an already-running guest, and x86 hosts are unaffected.
What to do
Pick up the stable kernel fix (commits in the record) from your distribution and reboot the arm64 hosts onto the patched kernel after draining them; this is in-tree KVM code with no module reload or runtime switch. Until then, hosts running with panic_on_warn should be aware that any holder of /dev/kvm can force the panic.
References
Related entries
- Linux KVM x86 - hypercall completion for protected guests: KVM used the wrong helper to decide whether a hypercallCVE-2024-55881 · Linux KVM x86 - hypercall completion for protected guestsMedium
- Linux kernel sched/deadline: WARN_ON reachable by a local task when a PI-boosted task is requeuedCVE-2024-56583 · Linux kernel deadline scheduler (setup_new_dl_entity on PI-boosted tasks)Medium
- Linux kernel mm/mempolicy: NULL VMA deref in migrate_pages() crashes the host kernelCVE-2024-56611 · Linux kernel mm/mempolicy (do_migrate_pages / migrate_to_node)Medium
- Linux kernel amdkfd (KFD compute driver, /dev/kfd) (drm/amdkfd): A correctness defect in the amdkfd (KFD computeCVE-2024-56666 · Linux kernel amdkfd (KFD compute driver, /dev/kfd) (drm/amdkfd)Medium
- Linux kernel amdkfd (KFD compute driver, /dev/kfd) (drm/amdkfd): A race condition or locking defect in the amdkfd (KFDCVE-2024-57897 · Linux kernel amdkfd (KFD compute driver, /dev/kfd) (drm/amdkfd)Medium
- QEMU: guest-triggerable assertion failure in USB endpoint lookup crashes the VM processCVE-2024-8354 · QEMU USB device emulation (usb_ep_get assertion)Medium
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.