{
  "threat_severity" : "Moderate",
  "public_date" : "2026-11-19T14:42:59Z",
  "bugzilla" : {
    "description" : "kernel: kernel: KVM: denial of service via use-after-free in pfncache",
    "id" : "2576779",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2576779"
  },
  "cvss3" : {
    "cvss3_base_score" : "5.5",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
    "status" : "draft"
  },
  "cwe" : "CWE-825",
  "details" : [ "In the Linux kernel, the following vulnerability has been resolved:\nKVM: pfncache: use a dedicated invalidation sequence for cache refresh\nThe gfn_to_pfn_cache refresh path guards against mmu notifier\ninvalidations which complete while it has dropped gpc->lock for the\nHVA->PFN lookup: hva_to_pfn_retry() samples kvm->mmu_invalidate_seq\nand retries if it changed, or if mn_active_invalidate_count is still\nelevated.\nThat is insufficient for HVA-based caches. mmu_invalidate_seq is only\nadvanced by kvm_mmu_invalidate_end() when the invalidated range\noverlaps a memslot, and an HVA-based cache (e.g. the Xen shared_info\npage mapped with KVM_XEN_ATTR_TYPE_SHARED_INFO_HVA) need not be backed\nby any memslot at all. An invalidation of the cached HVA which starts\nand ends entirely within the lookup window is thus invisible to the\nretry check: mn_active_invalidate_count is back to zero and the\nsequence never moved. The refresh then publishes a mapping of a page\nwhich has already been freed, and the next reader dereferences it:\nBUG: KASAN: use-after-free in kvm_xen_shared_info_init+0x3c6/0x440\nRead of size 4 at addr ffff8880599c2900 by task syz.2.383/7257\nSince gfn_to_pfn_cache_invalidate_start() deliberately skips caches\nwhich are not currently valid (including one whose refresh is in\nprogress, as the refresh clears the valid flag before dropping the\nlock), the retry check is the only line of defence, and it must fire\nfor *any* invalidation, not just those hitting a memslot.\nAdd a dedicated kvm->gpc_invalidate_seq, incremented by every\nkvm_mmu_notifier_invalidate_range_end() under mn_invalidate_lock\nbefore mn_active_invalidate_count is decremented, and check it in\nhva_to_pfn_retry() instead of mmu_invalidate_seq. Incrementing in\nrange_end() in the same critical section as the in-progress count\nalso closes the variant where the cache is activated with the\ncontested HVA only after invalidate_range_start() has run.\nThe same bug is also reachable through the per-vCPU vcpu_info cache\n(KVM_XEN_VCPU_ATTR_TYPE_VCPU_INFO_HVA), where the stale mapping is\nthen dereferenced by kvm_setup_guest_pvclock() on the next KVM_RUN:\nBUG: KASAN: use-after-free in kvm_setup_guest_pvclock+0x5bf/0x660\nThis intentionally makes refresh retry on *unrelated* mmu notifier\nevents; restoring precision (and reworking the GPC locking more\ngenerally) is left for a subsequent series.\nReproducers: https://david.woodhou.se/xen_shinfo_race.c\nhttps://david.woodhou.se/vcpu_info_race.c", "A flaw was found in the Linux kernel's KVM (Kernel-based Virtual Machine) subsystem. A race condition in the page frame number cache refresh mechanism fails to properly detect memory invalidations for host virtual address-based caches. A local attacker can exploit this flaw to access previously freed memory, triggering a use-after-free condition. This issue primarily leads to a Denial of Service (DoS) through a system crash, or potentially local privilege escalation." ],
  "statement" : "This vulnerability is rated as Moderate severity rather than Important because exploitation requires local host access to virtualization controls, relies on specific Xen compatibility features, and demands winning a precise timing window to trigger kernel instability. On standard Red Hat Enterprise Linux installations, interaction with the KVM subsystem is restricted to administrative accounts or privileged hypervisor management services. Consequently, unprivileged users cannot directly access the underlying interface to trigger the condition, substantially constraining the practical exposure.",
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 10",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:10"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:rhel_els:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:rhel_els:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Not affected",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:rhel_els:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Not affected",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Not affected",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 4",
    "fix_state" : "Not affected",
    "package_name" : "openshift/ose-rhel-coreos-8",
    "cpe" : "cpe:/a:redhat:openshift:4"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 4",
    "fix_state" : "Not affected",
    "package_name" : "openshift/ose-rhel-coreos-9",
    "cpe" : "cpe:/a:redhat:openshift:4"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 5",
    "fix_state" : "Not affected",
    "package_name" : "openshift/ose-rhel-coreos-10",
    "cpe" : "cpe:/a:redhat:openshift:5"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 5",
    "fix_state" : "Not affected",
    "package_name" : "openshift/ose-rhel-coreos-9",
    "cpe" : "cpe:/a:redhat:openshift:5"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2026-99472\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-99472\nhttps://git.kernel.org/stable/c/da260bcb56feeb6489a83f310308453a0a7de25e\nhttps://git.kernel.org/stable/c/fabc002f6396202b5ad7ad4ceec24d27aad90f3f" ],
  "name" : "CVE-2026-99472",
  "csaw" : false
}