Database/Kernel, userspace & hypervisor

Linux KVM guest_memfd: unbind race with memory-failure handling leaves a guest hung
Impact
When a guest_memfd file is being torn down, kvm_gmem_unbind() removes the memslot binding without taking the invalidate lock. If that races with memory-failure handling (for example a poisoned page), the MMU invalidation counter is left raised and never comes back down. The guest's page faults then retry forever and the VM hangs. guest_memfd backs private memory for confidential VMs (SEV-SNP/TDX), so hosts running confidential GPU guests are the ones exposed. The record describes a hang of the affected VM only. It does not mention any memory disclosure or host compromise.
Who can reach it
Host-side race between a memory-failure event and a memslot delete on a dying guest_memfd file. The record does not describe a way for a guest or tenant to trigger it on demand. Only hosts whose VMM uses guest_memfd are affected.
What to do
Install a kernel that carries the stable fix (commits linked below) and reboot the host. Migrate or drain the VMs before the reboot. Livepatch may also be an option if your vendor ships one. The record does not list fixed version numbers, so check your distribution's kernel advisory.
References
Related entries
- Linux KVM TDX: Bus Lock VM exit reported as enabled for TDX guests but never programmedCVE-2026-99337 · Linux kernel KVM TDX (Bus Lock VM exit)Unscored
- Linux KVM TDX: Notify VM exit accepted for TDX guests but never enabled in the TD VMCSCVE-2026-99338 · Linux kernel KVM TDX (Notify VM exit / instruction timeout)Unscored
- Linux KVM x86: SynIC message delivery leaks seven bits of host kernel stack to the guestCVE-2026-99339 · Linux kernel KVM x86 Hyper-V SynIC emulationUnscored
- Linux KVM x86: kvm_zap_gfn_range races memslot deletion, use-after-free via KVM-VFIO deviceCVE-2026-99340 · Linux kernel KVM x86 MMU (kvm_zap_gfn_range, VFIO noncoherent DMA path)Unscored
- Linux KVM nSVM: L1 guest can enter L2 with EFER.LMA=1 and LME=0, breaking KVM MMU invariantsCVE-2026-99344 · Linux kernel KVM nSVM (nested AMD virtualization, VMRUN EFER handling)Unscored
- Linux KVM nSVM: KVM_SET_NESTED_STATE accepts LMA=1/LME=0, shadow MMU walks past its paging arraysCVE-2026-99345 · Linux kernel KVM nSVM (KVM_SET_NESTED_STATE)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.