Database/Kernel, userspace & hypervisor
Linux kernel virtio: devices are not reset on shutdown, hanging kexec and poking guest memory after IOMMU teardown
Impact
virtio devices were left live across system shutdown, so drivers such as virtio-console kept writing to MMIO after the underlying virtio-pci device was reset, and devices kept touching guest memory after the IOMMUs had already been torn down - QEMU logged rejected reads and writes and the guest hung. The operator-visible failure is a VM that will not kexec and some devices left wedged, which matters wherever the GPU fleet's management or tenant VMs are rebooted fast via kexec instead of a full reboot: a hung kexec turns a seconds-long reboot into manual recovery of the guest. Availability impact in the guest; the record describes no escape or cross-guest access.
Who can reach it
Reached by the shutdown/kexec path of a guest using virtio devices, so it is triggered by whoever can reboot or kexec the VM - normally the guest's own root, not an outside attacker. Not remotely reachable.
What to do
Update the guest kernel to a version with the fix (the linked commits break and then reset all virtio devices on virtio bus shutdown) and reboot the guest; the host side needs nothing. Until then, avoid kexec in affected guests and use a full reboot, which is the available mitigation the record supports.
References
Related entries
- Linux kernel ice: failed Tx scheduler config during XDP attach leaves stale rings and crashes in NAPICVE-2025-38127 · Linux kernel ice driver (XDP program attach, Tx scheduler rollback)Medium
- Linux kernel (drivers/vfio/pci/hisilicon): The VFIO migration driver reassembled the device's event-queue DMA addressesCVE-2025-38158 · Linux kernel (drivers/vfio/pci/hisilicon)Medium
- Linux KVM - CPU soft lockup setting per-page memory attributes on large SNP guests: Running an SEV-SNP guestCVE-2025-38506 · Linux KVM - CPU soft lockup setting per-page memory attributes on large SNP guestsMedium
- Linux kernel amdkfd (KFD compute driver, /dev/kfd) (drm/amdkfd): Missing or insufficient validation of user-suppliedCVE-2025-38520 · Linux kernel amdkfd (KFD compute driver, /dev/kfd) (drm/amdkfd)Medium
- Linux kernel BPF verifier: narrow read of a pointer context field triggers a verifier bug warningCVE-2025-38591 · Linux kernel BPF verifier (narrow access to pointer context fields)Medium
- Linux kernel (drivers/pci/hotplug): A surprise device removal freezes the PCI host bridge's partitionable endpoint andCVE-2025-38623 · Linux kernel (drivers/pci/hotplug)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.