A use-after-free vulnerability exists in the Linux kernel's KVM pfncache refresh mechanism. The flaw arises because the existing invalidation sequence does not cover all cases of cache invalidation, particularly for HVA-based caches not backed by memslots. This can lead to stale mappings being published and dereferenced, causing kernel memory corruption. The issue affects the Xen shared_info page and per-vCPU vcpu_info cache, potentially leading to kernel crashes detected by KASAN.