[PATCH net 0/2] vsock: fix null pointer dereference and cleanup in vsock_poll()

From: Stefano Garzarella
Date: Tue Aug 11 2020 - 05:55:25 EST


The first patch fixes a potential null pointer dereference in vsock_poll()
reported by syzbot.
The second patch is a simple cleanup in the same block code. I put this later,
to make it easier to backport the first patch in the stable branches.

Thanks,
Stefano

Stefano Garzarella (2):
vsock: fix potential null pointer dereference in vsock_poll()
vsock: small cleanup in vsock_poll()

net/vmw_vsock/af_vsock.c | 27 ++++++++++++---------------
1 file changed, 12 insertions(+), 15 deletions(-)

--
2.26.2