guest_memfd is the kernel’s private guest memory for confidential virtual machines: KVM hands out a file descriptor whose pages the host cannot map, and a memory slot is bound to a range of it. The binding is recorded in an xarray, and when that insertion failed KVM carried on and signalled success, which the commit message says “results in use-after-free, as the guest_memfd instance will remain reachable via the memslot after the file is freed”. A local user who can open /dev/kvm and drive the binding to fail reaches freed memory in the host kernel. The kernel CNA scores it 7.0 (local, high complexity, full impact); Red Hat rates it Important and scores it 7.8 with a scope change. On virtualisation hosts running a 6.8 or later kernel, upgrade to 6.12.117, 6.18.63, 7.3.2 or later and reboot; until then, keep /dev/kvm to the users and services that run guests.
CVE-2026-99473 at a glance.
| Component | Linux kernel, KVM: memory slot binding in virt/kvm/guest_memfd.c (kvm_gmem_bind() and its unwind), built when the kernel enables guest_memfd private memory (CONFIG_KVM_PRIVATE_MEM on 6.8–6.1x, CONFIG_KVM_GUEST_MEMFD on newer trees) |
| Affected versions | mainline 6.8 up to 7.4-rc1 (from commit a7800aa8, which introduced guest_memfd); 6.12.x below 6.12.117, 6.18.x below 6.18.63, 7.3.x below 7.3.2. Kernels before 6.8 have no guest_memfd and are not affected; the 6.1 and 6.6 stable series carry no fix because they carry no code |
| Fixed in | mainline 7.4-rc1 (commit e6ecb887, the one Debian cites as upstream) and stable 6.12.117, 6.18.63, 7.3.2; four fix commits in the record. The fix propagates the xarray error so that memslot creation fails, nullifies the partial bindings on unwind, and rejects a binding when KVM_MEMSLOT_GMEM_ONLY is already set |
| Severity | kernel CNA CVSS 3.1 7.0 High (AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H); NVD Received with no metrics of its own on 20 November. Red Hat Important, 7.8 with S:C, CWE-825 (expired pointer dereference), scores marked draft; Ubuntu High, 7.0; SUSE important, 7.0 and a CVSS 4.0 of 7.3, Pending. Alpine not consulted |
| Exploited in the wild | Not on CISA’s Known Exploited Vulnerabilities list as of 1 December 2026 (catalogue 2026.11.27). EPSS 0.0015 (2nd percentile) on 30 November 2026 |
| Who is exposed | hosts on a 6.8 or later kernel with guest_memfd enabled, where a user or a service that is not fully trusted can open /dev/kvm and create guest_memfd-backed memory slots: that is the confidential-computing path (SEV-SNP, TDX and the software-protected VM types), not the ordinary QEMU/KVM guest. Red Hat’s statement is that a local user with KVM access could trigger the use-after-free, possibly escalating privileges or crashing the host, and that exploitation needs control of KVM memory slots plus an internal registration failure, which is the AC:H. Red Hat’s own RHEL kernels are listed not affected; Debian, Ubuntu and SUSE ship the code |
| Published | CVE record 19 November 2026 (kernel CNA, updated 22 November); this page built 1 December 2026, last updated 1 December 2026 |
What it is
A memory slot tells KVM which guest-physical range maps to which host memory. With guest_memfd the host memory is a file KVM created itself, and binding a slot to it records the slot in the file’s bindings xarray so that, when the file is released, kvm_gmem_release() can walk the bindings and clear the file pointer from every slot that used it. The bug is in the failure path of that insertion. The commit message is direct: “If inserting a memslot into a guest_memfd’s bindings xarray fails, propagate the error back to the caller, i.e. fail memslot creation as well. Signalling success and continuing on with memslot creation results in use-after-free, as the guest_memfd instance will remain reachable via the memslot after the file is freed (kvm_gmem_release() won’t nullify the file pointer due to lack of a valid binding).” In other words the slot points at the file, the file does not know about the slot, and when the file goes the slot keeps a dangling pointer that later guest_memfd operations on that slot will follow.
The fix returns the error, and it tidies two things around it. It adds a WARN and rejects the binding if KVM_MEMSLOT_GMEM_ONLY is already set on the slot, “partly to guard against goofs elsewhere, but mostly so that KVM doesn’t need to worry about clobbering flags when unwinding on failure”. And because an xarray can store a subset of entries when populating a range, the unwind explicitly nullifies the bindings that did get stored. The author notes why the slot cannot simply be filled in after the insertion: it “must be fully prepared before inserting it into the bindings, at which point the slot becomes reachable”. One file is touched, virt/kvm/guest_memfd.c.
What makes the insertion fail is the part the record does not spell out, and Red Hat describes it only as an internal registration failure; memory pressure during xarray allocation is the obvious candidate, and the AC:H in every vector reflects that the attacker has to arrange it. The attacker also has to be allowed to create guest_memfd slots at all, which needs /dev/kvm and a VM type that uses private memory. On a host where only root and a trusted virtualisation daemon can do that, this is a stability bug; on a host that lets tenants bring their own VMM, it is a host-kernel use-after-free reachable from a tenant. The git.kernel.org pages refused our reader, so the diff is described here from the CNA’s copy of the commit message.
Who is affected on Linux
Each row is what the distribution’s own security tracker said on 1 December 2026; the link in the row is the tracker page, which will be newer than this one.
| Distribution | Status | Fixed package |
|---|---|---|
| Alpine | Not consulted for this page | — |
| Debian | Fixed in trixie (6.12.117-1, with the security update at 6.12.118-1), forky and sid, and in bookworm’s linux-6.12 backport (DLA-4927-1); bookworm’s own 6.1 kernel not affected, “vulnerable code not present” | trixie 6.12.117-1; forky and sid 7.3.6-1 (the fix recorded at 7.3.3-1); bookworm linux-6.12 6.12.118-1~deb12u1 |
| Ubuntu | High, 7.0 (CVSS 4.0 7.3); the linux package is vulnerable, work in progress on 26.10 and 26.04, vulnerable on 24.04, not affected on 22.04 and older; the cloud kernels follow the same pattern | 26.10 7.3.0-12.13 and 26.04 7.0.0-45.45 in progress; nothing for 24.04 on 1 December 2026 |
| RHEL, Rocky, Alma, CentOS Stream | Important, 7.8, CWE-825 (bug 2576786); every RHEL and OpenShift kernel listed not affected; no errata | none needed per Red Hat |
| openSUSE/SLE | important, 7.0, Pending (bugs 1291658, 1291659); affected on SLES 15 SP7, SLES 16.0 and 16.1, SLE Micro 6.x, the 15 SP6 LTSS line and Leap 15.6 to 16.1; SLE Micro 5.x and the 15 SP5 and older lines not affected | nothing on 1 December 2026 |
| Fedora, Arch; self-built kernels | Not consulted; upstream stable versions apply to 6.8 and later | 6.12.117 / 6.18.63 / 7.3.2 or later |
How to check
Three questions, in order: is the kernel in the affected range, does it have guest_memfd built in, and who can open /dev/kvm. A host that answers yes to the first two but restricts the third to root and libvirt is exposed only to itself.
# 1. the running kernel (6.8 and later carry guest_memfd; 6.12.117, 6.18.63, 7.3.2 and later are fixed)
uname -r
# 2. is guest_memfd private memory compiled in? (the option was renamed between series)
grep -E 'CONFIG_KVM_(PRIVATE_MEM|GUEST_MEMFD|GENERIC_PRIVATE_MEM)=' /boot/config-$(uname -r) 2>/dev/null
lsmod | grep -E '^kvm(_amd|_intel)?\b'
# 3. who can reach KVM, and is anything running confidential guests?
ls -l /dev/kvm; getent group kvm
grep -lE 'sev-snp|tdx|launch-security|confidential' /etc/libvirt/qemu/*.xml 2>/dev/null
pgrep -af 'qemu|firecracker|cloud-hypervisor' | grep -iE 'sev|tdx|memfd'A kernel at or above the fixed version for its series is done, as is any kernel below 6.8. A kernel with the option unset has no guest_memfd.c compiled in and nothing to reach. On the rest, the question is step 3: if /dev/kvm is mode 0660 owned by the kvm group and that group holds only the virtualisation daemon, the only party who can trigger this is one you already trust with the host; if the device is world-accessible, or tenants run their own VMMs, treat it as a local privilege escalation and schedule the reboot.
How to fix it
Install the fixed kernel and reboot; a kernel bug is not patched in place. Debian trixie and sid already carry a fixed kernel; Ubuntu’s 26.04 and 26.10 builds were in progress and its 24.04 kernel unfixed on 1 December 2026; SUSE was pending; Red Hat’s kernels do not carry the code.
# Debian trixie / forky / sid (and bookworm with the linux-6.12 backport, DLA-4927-1)
apt update && apt install linux-image-amd64 && systemctl reboot
# Ubuntu: when the pending builds land
apt update && apt full-upgrade && systemctl reboot
# SUSE: when the update is released
zypper patch && systemctl reboot
uname -rUntil the fixed kernel is booted, the mitigation is access control on the device, not a kernel parameter: make /dev/kvm group-owned and keep the group to the daemon that should run guests. What not to do: do not disable KVM on a production virtualisation host to “mitigate” a bug only reachable by users you can list; and do not assume that forbidding confidential VM types in libvirt is enough if users can run QEMU directly, since the gate is the device, not the configuration file.
# mitigation: /dev/kvm only for the virtualisation group, and only the daemon in that group
cat > /etc/udev/rules.d/60-kvm-cve-2026-99473.rules <<'EOF'
KERNEL=="kvm", GROUP="kvm", MODE="0660"
EOF
udevadm control --reload && udevadm trigger /dev/kvm
ls -l /dev/kvm; getent group kvm # the members of kvm are who can reach this bugSources
- CVE-2026-99473 at CVE.org — the kernel CNA record (19 November 2026, updated 22 November): the commit message with the mechanism and the unwind notes, the git and version ranges, CVSS 3.1 7.0
- Fix commits on git.kernel.org: e6ecb887 (mainline, 7.4-rc1 per Debian) and the backports 2cfc1ccf, 1706461e and 2fa83c61; git.kernel.org refused our reader on 1 December, so the diff was not read for this page
- NVD entry — Received on 19 November, no NVD metrics, CWE or CPE yet
- Distribution trackers: Debian (trixie fixed, DLA-4927-1 for the bookworm backport, 6.1 not affected) · Ubuntu (High, 24.04 needed, 26.04 and 26.10 in progress) · Red Hat (Important 7.8, the KVM-access statement, not affected) · SUSE (important, Pending)
- CISA KEV catalogue 2026.11.27, not listed · EPSS score for this CVE, 30 November 2026
Related reading
- CVE-2026-99312: Linux kernel KVM stale MMU context on nested-SVM INIT — another KVM state that outlived the thing it pointed at, from the same month
- CVE-2026-99346: Linux kernel KVM SVM shares an ASID after a pCPU switch — the guest-isolation side of the same subsystem
- CVE-2026-99471: Linux kernel KVM PowerPC HPT hcall writes to a freed memslot — a freed memslot on another architecture, for the pattern
- CVE-2026-99591: Linux kernel AMD IOMMU device table read past its end from a guest — the other reason to audit who can run a VMM on the host
- The Kernel — module autoload, why an unused subsystem is still an attack surface, and how
install … /bin/falsediffers fromblacklist
This advisory page was assembled from the primary sources listed above on 1 December 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.
