Re: [PATCH net v2] vsock: fix potential null pointer dereference in vsock_poll()

2020-08-12 Thread David Miller
From: Stefano Garzarella Date: Wed, 12 Aug 2020 14:56:02 +0200 > syzbot reported this issue where in the vsock_poll() we find the > socket state at TCP_ESTABLISHED, but 'transport' is null: > general protection fault, probably for non-canonical address > 0xdc12: [#1] PREEMPT S

RE: [PATCH net v2] vsock: fix potential null pointer dereference in vsock_poll()

2020-08-12 Thread Jorgen Hansen
> From: Stefano Garzarella > Sent: Wednesday, August 12, 2020 2:56 PM > To: da...@davemloft.net > Cc: linux-ker...@vger.kernel.org; Dexuan Cui ; > netdev@vger.kernel.org; Stefan Hajnoczi ; Jakub > Kicinski ; Jorgen Hansen ; > Stefano Garzarella > Subject: [PATCH net v2] v

[PATCH net v2] vsock: fix potential null pointer dereference in vsock_poll()

2020-08-12 Thread Stefano Garzarella
syzbot reported this issue where in the vsock_poll() we find the socket state at TCP_ESTABLISHED, but 'transport' is null: general protection fault, probably for non-canonical address 0xdc12: [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0090-0x0