CVE-2026-99336
CVE-2026-99336 — KVM: guest_memfd: take the invalidate lock when unbinding a dying file
In the Linux kernel, the following vulnerability has been resolved: KVM: guest_memfd: take the invalidate lock when unbinding a dying file kvm_gmem_unbind() takes mapping->invalidate_lock only if the get_file_active() succeeds. When the guest_memfd file is dying, its reference count is already zero so get_file_active fails and the binding is removed without holding the invalidate lock. kvm_gmem_invalidate_{start,end}() checks f->bindings independently to decide whether to begin or end KVM MMU invalidation. So, the bindings must therefore remain stable between the two calls. Otherwise, unbind can remove a binding after start increments mmu_invalidate_in_progress, but before end finds the binding and decrements it. Example, unbind race with memory failure: CPU 0: memory failure CPU 1: memslot delete ---------------------------------- --------------------------- (guest_memfd file is dying) kvm_gmem_error_folio() kvm_gmem_invalidate_start() finds binding mmu_invalidate_in_progress++ kvm_gmem_unbind() get_file_active() fails removes binding kvm_gmem_invalidate_end() no binding found counter stays elevated mmu_invalidate_retry() then returns 1 forever, so guest page faults retry without ever installing a mapping and the guest hangs. Remove the distinction between live and dying files in the unbind path. Always use slot->gmem.file and take the invalidate lock when it's non-NULL. Normal unbind callers hold slots_lock, which prevents release from clearing the pointer or freeing the file state until unbind completes. Final VM teardown can only see a NULL pointer because guest_memfd pins the KVM until release has cleared all bindings.
Published Updated Sources: NVD, Linux (CNA), GitHub, GitHub Security Advisory, Red Hat (VEX), SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
0%
ahead of 0% of scored CVEs
CVSS base
Unscored
no source published a base score
Remediation
The vendor's own words where we have them.
Upgrade Linux to a fixed release (0 to < 6.18). Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
Red Hat VEX · CVE-2026-99336
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Prioritize based on EPSS, PoC availability, and external exposure.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Linux | Linux | a8ac2bd0f98e1a230f1eb3260fa552bf2ef1753b to < 4ae4316682cdc78d8f5a856ab0712a8281f211ca | Vulnerable |
| Linux | Linux | ae431059e75d36170a5ae6b44cc4d06d43613215 to < 3af94f4e3526efdf52d84d7ba8d9fb8e8facb93a | Vulnerable |
| Linux | Linux | ae431059e75d36170a5ae6b44cc4d06d43613215 to < 024be82ac4c4df650cc6daca6d7db79daee95470 | Vulnerable |
| Linux | Linux | ae431059e75d36170a5ae6b44cc4d06d43613215 to < 0ee2c883b62deb74d8c43007e8049dc006d3a2fb | Vulnerable |
| Linux | Linux | 393893693a523e053f84d69320d090b93503f79f | Vulnerable |
| Linux | Linux | 6.12.59 to < 6.12.118 | Vulnerable |
| Linux | Linux | 6.17.9 to < 6.18 | Vulnerable |
| Linux | Linux | 6.18 | Vulnerable |
| Linux | Linux | 0 to < 6.18 | Patched |
| Linux | Linux | 6.12.118 to <= 6.12.* | Patched |
| Linux | Linux | 6.18.64 to <= 6.18.* | Patched |
| Linux | Linux | 7.3.2 to <= 7.3.* | Patched |
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 4.7 | CVSS 3.1 | medium | n/a | n/a | Red Hat (VEX) |
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Timeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Initial · CVE published
Nov 19, 2026 · NVD
Added · GHSA-gh4c-w75c-262g published (unknown)
Nov 19, 2026 · GitHub Security Advisory
CVE published by MITRE.
Nov 19, 2026 · SOCRadar CTI
References
9 on the record
- git.kernel.org/stable/c/024be82ac4c4df650cc6daca6d7db79daee95470
Vendor Advisory, NIST
- git.kernel.org/stable/c/0ee2c883b62deb74d8c43007e8049dc006d3a2fb
Vendor Advisory, NIST
- git.kernel.org/stable/c/3af94f4e3526efdf52d84d7ba8d9fb8e8facb93a
Vendor Advisory, NIST
- git.kernel.org/stable/c/4ae4316682cdc78d8f5a856ab0712a8281f211ca
Vendor Advisory, NIST
- nvd.nist.gov/vuln/detail/CVE-2026-99336
NVD
- github.com/advisories/GHSA-gh4c-w75c-262g
Exploit, Third Party Advisory
- access.redhat.com/security/cve/CVE-2026-99336
Vendor Advisory
- bugzilla.redhat.com/show_bug.cgi?id=2576681
Vendor Advisory
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-39682 tls: fix handling of zero-length records on the rx_listCVSS 9.8 · CISA KEV
- CVE-2016-3427 Oracle Java SE and JRockit Unspecified VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2026-53266 netfilter: bridge: make ebt_snat ARP rewrite writableCVSS 8.8 · CISA KEV
- CVE-2026-46300 net: skbuff: preserve shared-frag marker during coalescingCVSS 7.8 · CISA KEV
- CVE-2026-31431 crypto: algif_aead - Revert to operating out-of-placeCVSS 7.8 · CISA KEV
- CVE-2014-3153 Linux Kernel Privilege Escalation VulnerabilityCVSS 7.8 · CISA KEV
Elsewhere on this site
- Linuxevery CVE for this vendor
- Unclassifiedsame class
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2026-99336 is KVM: guest_memfd: take the invalidate lock when unbinding a dying file, a unscored vulnerability affecting Linux from Linux. The current evidence does not list it in CISA KEV, and the exploit status is: Active exploitation is not confirmed from current sources for CVE-2026-99336. Public exploit evidence is: A public PoC is not confirmed from current sources for CVE-2026-99336. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS null describes technical severity, while EPSS 0% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.