Database/Kernel, userspace & hypervisor

Linux KVM guest_memfd: failed xarray binding leaves memslot pointing at freed file, use-after-free
Impact
If inserting a memslot into a guest_memfd's bindings xarray fails, KVM still reports success and creates the memslot. The memslot then keeps a reference to the guest_memfd after the file is freed, which is a use-after-free in the host kernel. guest_memfd backs confidential-VM memory (SEV-SNP, TDX), so this concerns hosts that run confidential GPU VMs. The trigger depends on the xarray insert failing, for example under memory pressure, and the record does not describe a reliable way to cause that.
Who can reach it
Local. Needs access to /dev/kvm to create guest_memfd memslots, in practice the VMM process. The insert has to fail as well. The record does not describe a path for a guest to trigger it.
What to do
Install a kernel with the stable fix, then drain and reboot each hypervisor host. The record gives no fixed version numbers and no workaround.
References
Related entries
- Linux kernel KVM guest_memfd: memslot bound to guest_memfd before it is ready, racing hole-punch into a NULL rmapCVE-2026-99335 · Linux kernel KVM guest_memfd (memslot binding)Unscored
- Linux kernel mm/hugetlb: page fault touches freed folio, unprivileged user can corrupt host memoryCVE-2026-99506 · Linux kernel mm/hugetlb (hugetlb_no_page private-mapping fault)Unscored
- Linux kernel mm/hugetlb: use-after-free of folio in hugetlb_mfill_atomic_pte() after dropping PTLCVE-2026-99507 · Linux kernel mm/hugetlb (hugetlb_mfill_atomic_pte, userfaultfd)Unscored
- Linux kernel iommufd: event queue release reads freed memory when racing IOMMU_DESTROYCVE-2026-99515 · Linux kernel iommufd (event queue / fault fd release)Unscored
- Linux kernel nvmet-fc: create-connection races disconnect, use-after-free of association in NVMe/FC targetCVE-2026-99516 · Linux kernel nvmet-fc (NVMe over Fibre Channel target)Unscored
- ProFTPD mod_copy: unauthenticated SITE CPFR/CPTO gives arbitrary file read and writeCVE-2015-3306 · ProFTPD mod_copy (SITE CPFR / SITE CPTO)Critical
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.