KVM: guest_memfd: Establish memslot<=>guest_memfd bindings *after* memslot is ready
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 6.8.0, < 6.12.118→ 6.12.118 ≥ 6.13.0, < 6.18.64→ 6.18.64 ≥ 6.19.0, < 7.3.2→ 7.3.2 |
6.12.118 6.18.64 7.3.2 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- BellSoft Alpaquita BELL-CVE-2026-99335 linux-lts Fix available
- Debian DEBIAN-CVE-2026-99335 linux-6.12, linux Fix available
- Ubuntu UBUNTU-CVE-2026-99335 linux-xilinx, linux-vmware, linux-starfive-6.5 +139 more No fixed version in this record
Original description The description as published by the source.
In the Linux kernel, the following vulnerability has been resolved:
KVM: guest_memfd: Establish memslot<=>guest_memfd bindings after memslot is ready
Wait to bind a memslot to a guest_memfd instance until after the memslot
is fully prepared, as creating the binding in guest_memfd will effectively
expose the memslot to readers. As pointed out by Sashiko, binding the
memslot before it's ready to be exposed to the rest of the world can break
various memslot assumption and rules. E.g. x86 could observe a NULL rmap
pointer if a PUNCH_HOLE hit the guest_memfd after the binding was created,
but before KVM made it through kvm_prepare_memory_region().
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web github.com