On Mon, Feb 28, 2022 at 10:50:58AM +0100, Stefano Garzarella wrote: > In vhost_vsock_common_send_transport_reset(), if an element popped from > the virtqueue is invalid, we should call virtqueue_detach_element() to > detach it from the virtqueue before freeing its memory. > > Fixes: fc0b9b0e1c ("vhost-vsock: add virtio sockets device") > Cc: qemu-sta...@nongnu.org > Reported-by: VictorV <vv474172...@gmail.com> > Signed-off-by: Stefano Garzarella <sgarz...@redhat.com> > --- > hw/virtio/vhost-vsock-common.c | 10 +++++++--- > 1 file changed, 7 insertions(+), 3 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
signature.asc
Description: PGP signature