[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191213184801.486675-1-sgarzare@redhat.com>
Date: Fri, 13 Dec 2019 19:47:59 +0100
From: Stefano Garzarella <sgarzare@...hat.com>
To: davem@...emloft.net
Cc: Stefano Garzarella <sgarzare@...hat.com>,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
kvm@...r.kernel.org, virtualization@...ts.linux-foundation.org,
Stefan Hajnoczi <stefanha@...hat.com>
Subject: [PATCH net 0/2] vsock/virtio: fix null-pointer dereference and related precautions
This series mainly solves a possible null-pointer dereference in
virtio_transport_recv_listen() introduced with the multi-transport
support [PATCH 1].
PATCH 2 adds a WARN_ON check for the same potential issue
and a returned error in the virtio_transport_send_pkt_info() function
to avoid crashing the kernel.
Stefano Garzarella (2):
vsock/virtio: fix null-pointer dereference in
virtio_transport_recv_listen()
vsock/virtio: add WARN_ON check on virtio_transport_get_ops()
net/vmw_vsock/virtio_transport_common.c | 25 +++++++++++++++++++------
1 file changed, 19 insertions(+), 6 deletions(-)
--
2.23.0
Powered by blists - more mailing lists