Re: [PATCH] kvm: apply VM_READ/VM_WRITE checks to all VMA types
From: Sean Christopherson
Date: Tue Aug 04 2026 - 10:26:39 EST
On Tue, Aug 04, 2026, Paolo Bonzini wrote:
> On Tue, Aug 4, 2026 at 12:40 AM Sean Christopherson <seanjc@xxxxxxxxxx> wrote:
> > > > But the issue Sashiko reported is just saying that KVM sometimes does what I'm
> > > > saying KVM should do all the time: return -EFAULT. Or did I misunderstand that
> > > > one too? :-)
> > >
> > > Yes, that's correct. My point is I'd rather not introduce other changes to
> > > the !VM_WRITE case in stable releases.
> >
> > Yeah, agreed. But what I don't understand is why this would be sent to stable@
> > in the first place.
>
> Because the patch
> https://lore.kernel.org/kvm/20260731160514.1101989-1-pbonzini@xxxxxxxxxx/T/
> needs to be sent to stable@, and this one fixes a problem in that
> other patch. So this one needs to come first.
Oooh, that makes sense. Thanks for being patient.