Database/Kernel, userspace & hypervisor

Linux kernel KVM guest_memfd: memslot bound to guest_memfd before it is ready, racing hole-punch into a NULL rmap
Impact
KVM bound a memslot to its guest_memfd before the memslot was fully set up, which made the half-built memslot visible to other code paths. The commit gives one example: on x86 a PUNCH_HOLE on the guest_memfd that lands between the binding and kvm_prepare_memory_region() can see a NULL rmap pointer. A kernel NULL dereference takes down the host and every VM on it. guest_memfd backs confidential VMs (SEV-SNP, TDX), so hosts running confidential GPU tenants are the ones exposed. The record has no score and says nothing about exploitability beyond the race.
Who can reach it
A local process that can create VMs through /dev/kvm and back their memory with guest_memfd (normally the VMM, e.g. QEMU), racing memslot creation against a hole-punch on the same file. Needs local access to /dev/kvm. The record does not describe a trigger from inside a guest.
What to do
Apply the stable kernel fix that creates the guest_memfd binding only after the memslot is prepared. This is a host kernel update, so each node has to be drained of VMs and rebooted. Hosts that do not use guest_memfd-backed (confidential) VMs are not affected by this path. The record has no CVSS score or vendor advisory.
References
Related entries
- Linux KVM guest_memfd: failed xarray binding leaves memslot pointing at freed file, use-after-freeCVE-2026-99473 · Linux kernel KVM guest_memfd (memslot binding)Unscored
- Linux KVM guest_memfd: unbind race with memory-failure handling leaves a guest hungCVE-2026-99336 · Linux kernel KVM guest_memfd (memslot unbind)Unscored
- 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
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.