KVM: guest_memfd: Establish memslot<=>guest_memfd bindings *after* memslot is ready (Linux Linux)

CVE-2026-99335
Not available

At a glance

Source
NVD
EPSS
EPSS 0.21 % · percentile 13 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

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

References

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ a7800aa80ea4d5356b8474c2302812e9d4926fa6 < 698f807aa8df9414fdc23d9ea454f4883b5b08ff
affected : ≥ a7800aa80ea4d5356b8474c2302812e9d4926fa6 < dc0cb5d30647b22a3da252a2847ed8f6afb5d567
affected : ≥ a7800aa80ea4d5356b8474c2302812e9d4926fa6 < fd224f1778e13660aec4e1f51fcdaeab5794e7ee
affected : ≥ a7800aa80ea4d5356b8474c2302812e9d4926fa6 < 3fe5d2944e5ac3fc5073344b0982c73703332e18
Other versions : unaffected
Linux · Linux
affected : 6.8
unaffected : ≥ 0 < 6.8
unaffected : ≥ 6.12.118 ≤ 6.12.*
unaffected : ≥ 6.18.64 ≤ 6.18.*
unaffected : ≥ 7.3.2 ≤ 7.3.*
unaffected : ≥ 7.4-rc1 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD