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

Paolo Bonzini <[email protected]> Tue, 4 Aug 2026 09:43:44 +0200
Newsgroups org.kernel.vger.kvm,org.kernel.vger.linux-kernel
Message-ID <CABgObfYZvs6rZKSk_Ym=L-vxLHY6WLoo2dL3NneabbUqvZxaDQ@mail.gmail.com>
On Tue, Aug 4, 2026 at 12:40=E2=80=AFAM Sean Christopherson <seanjc@google.=
com> 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 misunder=
stand that
> > > one too? :-)
> >
> > Yes, that's correct.  My point is I'd rather not introduce other change=
s to
> > the !VM_WRITE case in stable releases.
>
> Yeah, agreed.  But what I don't understand is why this would be sent to s=
table@
> 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.

Paolo