KVM: guest_memfd: Establish memslot<=>guest_memfd bindings *after* memslot is ready
- State
- Published
- Severity
- Not Scored
- Published
- Nov 19, 2026
- Updated
- Nov 19, 2026
- Reserved
- Sep 25, 2026
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().
| Product | Versions |
|---|---|
| Linux Linux | a7800aa80ea4d5356b8474c2302812e9d4926fa6 to before 698f807aa8df9414fdc23d9ea454f4883b5b08ff Affecteda7800aa80ea4d5356b8474c2302812e9d4926fa6 to before dc0cb5d30647b22a3da252a2847ed8f6afb5d567 Affecteda7800aa80ea4d5356b8474c2302812e9d4926fa6 to before fd224f1778e13660aec4e1f51fcdaeab5794e7ee Affecteda7800aa80ea4d5356b8474c2302812e9d4926fa6 to before 3fe5d2944e5ac3fc5073344b0982c73703332e18 Affected |
| Linux Linux | 6.8 Affectedbefore 6.8 Not Affected6.12.118 through 6.12.* Not Affected6.18.64 through 6.18.* Not Affected7.3.2 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.