Database/Kernel, userspace & hypervisor

Linux kernel KVM arm64: vCPU event ioctls before init hit a BUG() and take down the host
Impact
KVM on arm64 accepted KVM_SET_VCPU_EVENTS for a vCPU that had not yet been through KVM_ARM_VCPU_INIT, so exception routing and injection ran against uninitialized state. In the reported case the injection code and the hypervisor disagree about whether the vCPU has a 32-bit EL1, the vCPU ends up in a mode illegal for AArch64, and the next injection trips the BUG() in exception_target_el() - a kernel oops on the host, not a contained guest fault. On arm64 accelerator nodes (Grace-class hosts running tenant VMs), one process holding /dev/kvm can drop the whole host and every co-resident GPU with it, which is the expensive kind of outage because the node has to be drained after the fact rather than before. The fix rejects the ioctls outright before init. The record carries no CVSS score.
Who can reach it
Local: any process that can open /dev/kvm and issue vCPU ioctls, found by syzkaller. No authentication beyond access to the KVM device node; no remote or in-guest path - it is the VMM-facing API that is abused.
What to do
Apply the stable-kernel fix for your branch (five backports are listed on the record, e.g. b498f0da45a3) and drain plus reboot each arm64 hypervisor node; the fix is in the KVM core path and is not picked up by restarting VMMs. Meanwhile, restrict /dev/kvm to the VMM service account rather than to tenant-reachable processes.
References
Related entries
- Linux kernel amdkfd (KFD compute driver, /dev/kfd) (drm/amdkfd): A NULL pointer dereference in the amdkfd (KFD computeCVE-2025-40191 · Linux kernel amdkfd (KFD compute driver, /dev/kfd) (drm/amdkfd)Unscored
- AMD Zen 1-Zen 5 - branch predictor isolation between guest and userspace hypervisor (AMD-SB-7046): InsufficientCVE-2025-40300 · AMD Zen 1-Zen 5 - branch predictor isolation between guest and userspace hypervisor (AMD-SB-7046)Unscored
- Linux kernel amdkfd (KFD compute driver, /dev/kfd) (amd/amdkfd): A NULL pointer dereference in the amdkfd (KFD computeCVE-2025-40310 · Linux kernel amdkfd (KFD compute driver, /dev/kfd) (amd/amdkfd)Unscored
- Linux kernel amdkfd (KFD compute driver, /dev/kfd) (drm/amdkfd): A race condition or locking defect in the amdkfd (KFDCVE-2025-40332 · Linux kernel amdkfd (KFD compute driver, /dev/kfd) (drm/amdkfd)Unscored
- Xen / x86 CPU: Floating Point Divider State Sampling - transient-execution leak of FP divider state across domainsCVE-2025-54505 · Xen / x86 CPUUnscored
- Xen (Viridian): Incorrect input sanitisation in Viridian (Hyper-V enlightenment) hypercallsCVE-2025-58147 · Xen (Viridian)Unscored
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.