Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99472

published high CVSS 3.1 · 7.8

KVM: pfncache: use a dedicated invalidation sequence for cache refresh

Published
19 Nov 2026, 14:42:59 UTC
Updated
22 Nov 2026, 11:08:29 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxb9220d32799a62c634f7b0b3618da52772626952 to < fabc002f6396202b5ad7ad4ceec24d27aad90f3f · b9220d32799a62c634f7b0b3618da52772626952 to < da260bcb56feeb6489a83f310308453a0a7de25e · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.9 (affected) · 0 to < 6.9 (unaffected · semver) · 7.3.2 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
SUSE / openSUSE openSUSE-Tumbleweed kernel-develaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-devels390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develx86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
Show 12 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macross390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosx86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sources390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourcex86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillaaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillappc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillas390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillax86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1

Description

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

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

1

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The stale pfn is published by hva_to_pfn_retry() when the host process races KVM_XEN_HVM_SET_ATTR (KVM_XEN_ATTR_TYPE_SHARED_INFO_HVA) or KVM_XEN_VCPU_SET_ATTR (KVM_XEN_VCPU_ATTR_TYPE_VCPU_INFO_HVA) against an mmu_notifier invalidation of that same HVA. The HVA comes from that local ioctl, not a remote protocol message, and kvm_vm_ioctl/kvm_vcpu_ioctl reject a caller whose mm is not kvm->mm. AC:L - The same process drives both sides: one thread calls kvm_gpc_activate_hva(), which drops gpc->lock inside hva_to_pfn_retry() across hva_to_pfn(), while another munmaps that HVA so kvm_mmu_notifier_invalidate_range_end() completes in the window. The attacker chooses an HVA that overlaps no memslot, so the old mmu_invalidate_seq check never moves. PR:L - KVM_XEN_HVM_SET_ATTR and KVM_XEN_VCPU_SET_ATTR are dispatched from kvm_vm_ioctl and kvm_vcpu_ioctl with no capability check, and kvm_dev_ioctl(KVM_CREATE_VM) has none either. A local user who can open /dev/kvm creates the VM and issues the ioctl; the only gate is kvm->mm == current->mm. UI:N - The attacker mmaps the HVA, issues the Xen attribute ioctl, and invalidates that mapping itself. kvm_xen_shared_info_init() then dereferences the stale khva in the same KVM_XEN_HVM_SET_ATTR call, with no other user mounting or opening anything. S:U - The corrupted mapping is a host-kernel kmap of the attacking process's own page, reached from that process's VM fd. A guest cannot invoke KVM_XEN_ATTR_TYPE_SHARED_INFO_HVA, and kvm_vm_ioctl returns -EIO unless current->mm == kvm->mm, so this is host user-to-kernel escalation, not a guest escape. C:H - After kvm_release_page_clean() drops the last reference, kvm_xen_shared_info_init() reads shared_info.wc.version through the published gpc->khva (KASAN 4-byte use-after-free), and xen_get_guest_pvclock() memcpy's pvclock_vcpu_time_info from the same stale mapping. A reallocated page makes those reads observe the new owner. I:H - kvm_xen_shared_info_init() writes wall-clock fields at shared_info.wc (offset 0xc00) through that khva, kvm_setup_guest_pvclock() memcpy's a pvclock struct into the vcpu_info mapping, and kvm_xen_set_evtchn_fast() test_and_set_bit()s the caller-chosen port in evtchn_pending. Those stores land in the freed page. A:H - The published khva is consumed after the page is freed. syzbot reports BUG: KASAN use-after-free in kvm_xen_shared_info_init() on the shared_info path and in kvm_setup_guest_pvclock() on the vcpu_info path, which oopses the host kernel.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux b9220d32799a62c634f7b0b3618da52772626952 to < fabc002f6396202b5ad7ad4ceec24d27aad90f3f (affected · git)b9220d32799a62c634f7b0b3618da52772626952 to < da260bcb56feeb6489a83f310308453a0a7de25e (affected · git)Default: unaffected Linux · cna
Linux Linux 6.9 (affected)0 to < 6.9 (unaffected · semver)7.3.2 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

2

Provider assertions

1

Linux · cna

KVM: pfncache: use a dedicated invalidation sequence for cache refresh

Provenance

Schema
5.2
Searchable
yes
Content hash
45c59a2c4d345fe790b7f8ca8854b68fda1895021eff260ee5eac0d638e34dfa
Ingested
23 Nov 2026, 14:35:29 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected