Re: [PATCH] KVM: pfncache: track HVA invalidations for HVA-based caches

From: Sean Christopherson

Date: Mon Jul 27 2026 - 13:31:50 EST


On Mon, Jul 27, 2026, Jeongjun Park wrote:
> Hi,
>
> Sean Christopherson <seanjc@xxxxxxxxxx> wrote:
> >
> > On Wed, May 20, 2026, Jeongjun Park wrote:
> > > HVA-based gfn_to_pfn caches are not necessarily backed by a KVM memslot.
> > > When an MMU notifier invalidation targets such an HVA, KVM's global
> [....]
> > >
> > > Reported-by: syzbot+0948c82180d475ad24e2@xxxxxxxxxxxxxxxxxxxxxxxxx
> > > Closes: https://lore.kernel.org/all/6a0c5f2c.a00a0220.2c7954.0000.GAE@xxxxxxxxxx
> >
> > Given that there's no reproducer, how did you test this?
> >
>
> For some unknown reason, repro was not generated in syzbot, so I analyzed
> the KASAN logs separately to predict a sequence similar to the race
> sequence you suggested, and then wrote the repro code myself to test it.

Can you provide the reproducer? That would be super helpful for reviewing and
iterating on this fix, and probably as a regression test for future changes as
well.

Thanks!