Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-99472: high-severity vulnerability (CVSS 7.8) in Linux Linux.
What happened
Original description from the source: 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() in…
Why it matters
High severity, CVSS 7.8.
Affected products and versions
Linux Linux >= b9220d32799a62c634f7b0b3618da52772626952, < fabc002f6396202b5ad7ad4ceec24d27aad90f3f; Linux Linux >= b9220d32799a62c634f7b0b3618da52772626952, < da260bcb56feeb6489a83f310308453a0a7de25e; Linux Linux 6.9; Linux Linux < 6.9; Linux Linux 7.3.2 (fixed in 7.3.2); Linux Linux 7.4-rc1 (fixed in 7.4-rc1)
| Product | Versions | Fixed in |
|---|---|---|
| Linux Linux | >= b9220d32799a62c634f7b0b3618da52772626952, < fabc002f6396202b5ad7ad4ceec24d27aad90f3f | — |
| Linux Linux | >= b9220d32799a62c634f7b0b3618da52772626952, < da260bcb56feeb6489a83f310308453a0a7de25e | — |
| Linux Linux | 6.9 | — |
| Linux Linux | < 6.9 | — |
| Linux Linux | 7.3.2 | 7.3.2 |
| Linux Linux | 7.4-rc1 | 7.4-rc1 |
Action recommended by the source
Upgrade to a fixed version: 7.3.2, 7.4-rc1.
Fixed in: 7.3.2, 7.4-rc1
Sources and references
Relevant change history
Published
Preliminary advisory published.