Re: [PATCH net v2] vsock/virtio: clear vqs[] to avoid a UAF on a failed PM restore

From: jrmmhm . kernel

Date: Wed Nov 04 2026 - 11:40:10 EST


On Fri, Oct 30, 2026 at 10:21:09AM -0400, Michael S. Tsirkin wrote:
> On Fri, Oct 30, 2026 at 02:51:26PM +0100, Stefano Garzarella wrote:
> > Do we really need to write in a commit message that checkpatch.pl --strict
> > is clean?

No, v3 will drop it.

> Yea please write it yourself and make it concise. My eyes glazed over
> in the 1st paragraph.

Point taken. v3 will have a commit message shorter than the diff.

> > This is already in the commit description, no?

Yes, v3 will have it in the commit message only.

> > I guess this issue could be spread around virtio drivers, so would be nice
> > to add common API in the virtio core to be used in all of them.

Agreed, that would be a good follow-up; this patch stays the minimal fix.

Thanks for the reviews,
Jerome