Re: [PATCH] kvm: apply VM_READ/VM_WRITE checks to all VMA types
Paolo Bonzini <[email protected]>
| Newsgroups | gmane.linux.kernel,gmane.comp.emulators.kvm.devel |
|---|---|
| Message-ID | <CABgObfYZvs6rZKSk_Ym=L-vxLHY6WLoo2dL3NneabbUqvZxaDQ@mail.gmail.com> |
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. Paolo