Re: [PATCH net] sctp: add chunks to sk_backlog when the newsk sk_socket is not set

2019-10-09 Thread Jakub Kicinski
On Tue, 8 Oct 2019 19:09:23 +0800, Xin Long wrote: > This patch is to fix a NULL-ptr deref in selinux_socket_connect_helper: > > [...] kasan: GPF could be caused by NULL-ptr deref or user memory access > [...] RIP: 0010:selinux_socket_connect_helper+0x94/0x460 > [...] Call Trace: > [...]

Re: [PATCH net] sctp: add chunks to sk_backlog when the newsk sk_socket is not set

2019-10-09 Thread Neil Horman
On Tue, Oct 08, 2019 at 07:09:23PM +0800, Xin Long wrote: > This patch is to fix a NULL-ptr deref in selinux_socket_connect_helper: > > [...] kasan: GPF could be caused by NULL-ptr deref or user memory access > [...] RIP: 0010:selinux_socket_connect_helper+0x94/0x460 > [...] Call Trace: >

Re: [PATCH net] sctp: add chunks to sk_backlog when the newsk sk_socket is not set

2019-10-08 Thread Marcelo Ricardo Leitner
On Tue, Oct 08, 2019 at 07:09:23PM +0800, Xin Long wrote: > This patch is to fix a NULL-ptr deref in selinux_socket_connect_helper: > > [...] kasan: GPF could be caused by NULL-ptr deref or user memory access > [...] RIP: 0010:selinux_socket_connect_helper+0x94/0x460 > [...] Call Trace: >

Re: [PATCH net] sctp: add chunks to sk_backlog when the newsk sk_socket is not set

2019-10-08 Thread Ondrej Mosnacek
On Tue, Oct 8, 2019 at 1:09 PM Xin Long wrote: > This patch is to fix a NULL-ptr deref in selinux_socket_connect_helper: > > [...] kasan: GPF could be caused by NULL-ptr deref or user memory access > [...] RIP: 0010:selinux_socket_connect_helper+0x94/0x460 > [...] Call Trace: > [...] seli

[PATCH net] sctp: add chunks to sk_backlog when the newsk sk_socket is not set

2019-10-08 Thread Xin Long
This patch is to fix a NULL-ptr deref in selinux_socket_connect_helper: [...] kasan: GPF could be caused by NULL-ptr deref or user memory access [...] RIP: 0010:selinux_socket_connect_helper+0x94/0x460 [...] Call Trace: [...] selinux_sctp_bind_connect+0x16a/0x1d0 [...] security_sctp_bi