Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local access to /dev/kvm
-
DeliveryRun KVM guest with Xen HVA cache (SHARED_INFO_HVA/VCPU_INFO_HVA)
-
ExploitRace mmu-notifier invalidation during cache refresh
-
ExecutionDereference freed page in host kernel
-
ImpactCorrupt kernel memory / escalate privileges
Vulnerability Assessment
| Exploitation Conditions | Exploitation requires local access to a KVM host and the privileges to create and run a guest, with Xen emulation support enabled (CONFIG_KVM_XEN). The attacker must register an HVA-based guest cache - specifically via KVM_XEN_ATTR_TYPE_SHARED_INFO_HVA (shared_info page) or KVM_XEN_VCPU_ATTR_TYPE_VCPU_INFO_HVA (per-vCPU vcpu_info) - that need not be backed by any memslot, then win a timing race: trigger an mmu-notifier invalidation of the cached HVA that starts and ends entirely within the gfn_to_pfn_cache refresh's HVA->PFN lookup window so the stale mapping is published. Limiting factors: the vector is local only (no network reachability), the KVM Xen HVA-cache code path must be reachable (non-default on many deployments), the attacker needs VM-management privileges (PR:L), and success depends on winning the invalidation-versus-refresh race window. |
| Impact | Signals are consistent in pointing to a serious but access-constrained flaw. The supplied CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, 7.8 HIGH) describes a local, low-complexity bug requiring some privilege (PR:L) that yields full confidentiality, integrity and availability impact on the host - a kernel use-after-free, consistent with memory corruption rather than mere disclosure. EPSS is low at 0.16% (6th percentile), the CVE is NOT in CISA KEV, and the exploitation signal is limited to public reproducer references rather than confirmed in-the-wild use, so this is a priority to patch rather than an active-exploitation emergency; the vuln.today decision label is this_week, which aligns with that reading. The AV:L vector is the dominant limiter: this is not remotely reachable, so widespread opportunistic exploitation is unlikely, and the low EPSS is expected for a local kernel race. Note a conflict worth flagging: the input Tags include 'Information Disclosure', but the CVSS vector (I:H/A:H) and the KASAN use-after-free evidence indicate memory corruption with potential for privilege escalation, not a pure disclosure issue - treat the tag as understating impact. Real priority is highest for multi-tenant KVM hosts that enable Xen emulation (CONFIG_KVM_XEN); for hosts without KVM/Xen the practical exposure is much lower. |
| Exploit ScenarioDerived | A local user with the ability to create and run a KVM guest enables Xen emulation and registers an HVA-based cache (shared_info or per-vCPU vcpu_info), then races an mmu-notifier invalidation of the cached host virtual address so the pfn cache publishes a mapping of an already-freed page; the next host-kernel read dereferences freed memory, producing a use-after-free that can corrupt kernel state. Public reproducers are referenced in the advisory (xen_shinfo_race.c and vcpu_info_race.c by David Woodhouse), but they are reproducer references and are not verified here as working weaponized exploit code. Attack vector is local (AV:L) and complexity is rated low (AC:L), so a user who can drive the KVM/Xen ioctl paths can attempt the race repeatedly. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 22, 2026
Use-after-free in the Linux kernel's KVM gfn_to_pfn_cache affects hosts running Xen-emulating guests, where a stale HVA-backed mapping (shared_info or per-vCPU vcpu_info) is published after a racing mmu-notifier invalidation and then dereferenced on the next access or KVM_RUN, producing KASAN use-after-free reports in kvm_xen_shared_info_init() and kvm_setup_guest_pvclock(). The flaw is local-only: reaching it requires the privileges to create and run a guest on the KVM host (CVSS PR:L), a kernel built with Xen emulation (CONFIG_KVM_XEN), and registration of an HVA-based cache via KVM_XEN_ATTR_TYPE_SHARED_INFO_HVA or KVM_XEN_VCPU_ATTR_TYPE_VCPU_INFO_HVA, plus winning a narrow invalidation-versus-refresh race window. There is no CISA KEV listing and EPSS is low at 0.16% (6th percentile), though public reproducer programs for both code paths have been published by the reporter; upstream fixes exist in the cited stable commits and are listed by EUVD as landing in Linux 7.3.2 and 7.4-rc1.
RemediationAI
Vendor-released patch: Linux 7.3.2 and 7.4-rc1 (also Linux 7.4-rc1) carry the fix, delivered by commits fabc002f6396202b5ad7ad4ceec24d27aad90f3f and da260bcb56feeb6489a83f310308453a0a7de25e (https://git.kernel.org/stable/c/fabc002f6396202b5ad7ad4ceec24d27aad90f3f, https://git.kernel.org/stable/c/da260bcb56feeb6489a83f310308453a0a7de25e); upgrade KVM hosts to those or later kernels, and downstream distributions should pick up the corresponding stable backport. Where upgrading is not immediately possible, the exposure is bounded by removing the preconditions: do not build or load KVM with Xen emulation support, or restrict who can create and run guests on the host, since the flaw needs VM-management privileges plus registration of an HVA-based shared_info or vcpu_info cache - the trade-off is loss of Xen guest compatibility on that host. Note that the upstream fix knowingly makes cache refresh retry on unrelated mmu-notifier events, so it may cost some refresh performance; that is the intended behaviour rather than a regression to be worked around. Public reproducer programs referenced in the advisory (https://david.woodhou.se/xen_shinfo_race.c and https://david.woodhou.se/vcpu_info_race.c) can be used to verify that a patched kernel no longer reproduces the KASAN use-after-free in kvm_xen_shared_info_init() or kvm_setup_guest_pvclock().
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
KVM's gfn_to_pfn_cache (GPC) keeps guest frame number to host PFN translations cached so that frequent emulation paths do not re-walk the HVA->PFN lookup. Caches may be backed by a memslot, or - as with Xen emulation - be HVA-based (KVM_XEN_ATTR_TYPE_SHARED_INFO_HVA, KVM_XEN_VCPU_ATTR_TYPE_VCPU_INFO_HVA), in which case the cached host virtual address need not be covered by any memslot at all. During refresh the code drops gpc->lock for the HVA->PFN lookup and relies on hva_to_pfn_retry() sampling kvm->mmu_invalidate_seq, retrying if the sequence changed or if mn_active_invalidate_count is still elevated. That guard is incomplete for HVA-based caches: mmu_invalidate_seq is only advanced by kvm_mmu_invalidate_end() when the invalidated range overlaps a memslot, so an invalidation of the cached HVA that begins and ends entirely inside the lookup window leaves both the sequence and the in-progress counter unchanged. Because gfn_to_pfn_cache_invalidate_start() deliberately skips caches that are not currently valid (the refresh clears the valid flag before dropping the lock), the retry check is the only defence and it does not fire. The published fix introduces a dedicated kvm->gpc_invalidate_seq, incremented by every kvm_mmu_notifier_invalidate_range_end() under mn_invalidate_lock before mn_active_invalidate_count is decremented, and checked in hva_to_pfn_retry() instead of mmu_invalidate_seq; doing the increment in the same critical section as the in-progress count also covers the variant where the cache is activated with the contested HVA after invalidate_range_start() has already run. The sources do not assign a CWE; the observable impact is a race-condition-driven use-after-free (CWE-416-style) of a host page reached from KVM's Xen emulation code. As a deliberate trade-off, the fix makes refresh retry on unrelated mmu-notifier events, with precision restoration deferred to a later series.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Local /dev/kvm access to run a Xen-enabled guest gives AV:L and PR:L; the host-kernel use-after-free yields C:H/I:H/A:H with no cross-boundary scope change (S:U).
Primary rating from Vendor (Linux).
CVSS VectorVendor: Linux
Lifecycle Timeline
3DescriptionCVE.org
In the Linux kernel, the following vulnerability has been resolved:
KVM: pfncache: use a dedicated invalidation sequence for cache refresh
The gfn_to_pfn_cache refresh path guards against mmu notifier invalidations which complete while it has dropped gpc->lock for the HVA->PFN lookup: hva_to_pfn_retry() samples kvm->mmu_invalidate_seq and retries if it changed, or if mn_active_invalidate_count is still elevated.
That is insufficient for HVA-based caches. mmu_invalidate_seq is only advanced by kvm_mmu_invalidate_end() when the invalidated range overlaps a memslot, and an HVA-based cache (e.g. the Xen shared_info page mapped with KVM_XEN_ATTR_TYPE_SHARED_INFO_HVA) need not be backed by any memslot at all. An invalidation of the cached HVA which starts and ends entirely within the lookup window is thus invisible to the retry check: mn_active_invalidate_count is back to zero and the sequence never moved. The refresh then publishes a mapping of a page which has already been freed, and the next reader dereferences it:
BUG: KASAN: use-after-free in kvm_xen_shared_info_init+0x3c6/0x440 Read of size 4 at addr ffff8880599c2900 by task syz.2.383/7257
Since gfn_to_pfn_cache_invalidate_start() deliberately skips caches which are not currently valid (including one whose refresh is in progress, as the refresh clears the valid flag before dropping the lock), the retry check is the only line of defence, and it must fire for *any* invalidation, not just those hitting a memslot.
Add a dedicated kvm->gpc_invalidate_seq, incremented by every kvm_mmu_notifier_invalidate_range_end() under mn_invalidate_lock before mn_active_invalidate_count is decremented, and check it in hva_to_pfn_retry() instead of mmu_invalidate_seq. Incrementing in range_end() in the same critical section as the in-progress count also closes the variant where the cache is activated with the contested HVA only after invalidate_range_start() has run.
The same bug is also reachable through the per-vCPU vcpu_info cache (KVM_XEN_VCPU_ATTR_TYPE_VCPU_INFO_HVA), where the stale mapping is then dereferenced by kvm_setup_guest_pvclock() on the next KVM_RUN:
BUG: KASAN: use-after-free in kvm_setup_guest_pvclock+0x5bf/0x660
This intentionally makes refresh retry on *unrelated* mmu notifier events; restoring precision (and reworking the GPC locking more generally) is left for a subsequent series.
Reproducers: https://david.woodhou.se/xen_shinfo_race.c https://david.woodhou.se/vcpu_info_race.c
Executive ViewAI
Linux kernel KVM hosts configured for Xen emulation contain a use-after-free vulnerability (CVE-2026-99472) that could be triggered by a local privileged user with guest management rights, potentially causing host kernel crashes or memory corruption. While the attack requires specific conditions and winning a narrow race, the high severity and availability of public reproducers warrant immediate leadership attention to assess exposure and implement mitigations, as no vendor patch is yet available.
No vendor-released patch identified at time of analysis. Interim mitigations: disable Xen emulation (CONFIG_KVM_XEN) if not needed; restrict guest creation and execution privileges to trusted users; monitor for use-after-free indicators (KASAN reports) and avoid using HVA-based KVM_XEN_ATTR_TYPE_SHARED_INFO_HVA and KVM_XEN_VCPU_ATTR_TYPE_VCPU_INFO_HVA attributes.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-130144
GHSA-6cjq-7h3x-f93m
NVD
CVE.org
EPSS
VulDB
Exploit-DB