Saltar al contenido
DayZeroHub
Alta Sin redactarCVSS 7.8CVE-2026-99472

CVE-2026-99472: KVM: pfncache: use a dedicated invalidation sequence for cache refresh

Linux Linux

Aviso preliminar: se publicó de inmediato con los datos originales de las fuentes, sin redacción editorial. En breve se reemplaza por una versión redactada y revisada.

Resumen

CVE-2026-99472: vulnerabilidad de severidad alta (CVSS 7.8) en Linux Linux.

Qué ocurre

Descripción original de la fuente (en inglés): 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…

Por qué importa

Severidad alta, CVSS 7.8.

Productos y versiones afectados

Linux Linux >= b9220d32799a62c634f7b0b3618da52772626952, < fabc002f6396202b5ad7ad4ceec24d27aad90f3f; Linux Linux >= b9220d32799a62c634f7b0b3618da52772626952, < da260bcb56feeb6489a83f310308453a0a7de25e; Linux Linux 6.9; Linux Linux < 6.9; Linux Linux 7.3.2 (corregido en 7.3.2); Linux Linux 7.4-rc1 (corregido en 7.4-rc1)

ProductoVersionesCorregido en
Linux Linux>= b9220d32799a62c634f7b0b3618da52772626952, < fabc002f6396202b5ad7ad4ceec24d27aad90f3f—
Linux Linux>= b9220d32799a62c634f7b0b3618da52772626952, < da260bcb56feeb6489a83f310308453a0a7de25e—
Linux Linux6.9—
Linux Linux< 6.9—
Linux Linux7.3.27.3.2
Linux Linux7.4-rc17.4-rc1

Acción recomendada por la fuente

Actualizar a una versión corregida: 7.3.2, 7.4-rc1.

Corregido en: 7.3.2, 7.4-rc1

Información tomada de la fuente o del proveedor. Verificala en el enlace original antes de actuar.

Fuentes y referencias

Historial de cambios relevantes

  1. Publicado

    Aviso preliminar publicado.