Fix a race between mmu_notifier invalidation and pfncache refresh, and then fix another race of sorts within pfncache that exists because of the hacky approach pfncache currently employs to try and handle races with mmu_notifiers. Both issues were found by inspection and not proven on hardware. Sean Christopherson (2): KVM: Fix race between mmu_notifier invalidation and pfncache refresh KVM: Do not speculatively mark pfn cache valid to "fix" race virt/kvm/kvm_main.c | 9 ++++++ virt/kvm/pfncache.c | 79 +++++++++++++++++++++++++++++---------------- 2 files changed, 61 insertions(+), 27 deletions(-) base-commit: 150866cd0ec871c765181d145aa0912628289c8a -- 2.36.0.rc0.470.gd361397f0d-goog