CVE-2026-99335

In the Linux kernel, the following vulnerability has been resolved:

KVM: guest_memfd: Establish memslot<=>guest_memfd bindings after mems

Not rated published · updated

Not rated
No CVSS score yet

Description

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().

Affected products and versions

No product details yet.

References