Re: [PATCH] kvm: apply VM_READ/VM_WRITE checks to all VMA types

Sean Christopherson <[email protected]> Tue, 4 Aug 2026 06:11:43 -0700
Newsgroups org.kernel.vger.kvm,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Tue, Aug 04, 2026, Paolo Bonzini wrote:
> On Tue, Aug 4, 2026 at 12:40 AM Sean Christopherson <[email protected]> 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/[email protected]/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.