Re: [PATCH net] sctp: change sctp_prot .no_autobind with true

2019-10-15 Thread Xin Long
On Wed, Oct 16, 2019 at 11:39 AM David Miller wrote: > > From: Xin Long > Date: Tue, 15 Oct 2019 15:24:38 +0800 > > > syzbot reported a memory leak: > > > > BUG: memory leak, unreferenced object 0x888120b3d380 (size 64): > > backtrace: > ... > > It was caused by when sending msgs without

Re: [PATCH net] sctp: change sctp_prot .no_autobind with true

2019-10-15 Thread David Miller
From: Xin Long Date: Tue, 15 Oct 2019 15:24:38 +0800 > syzbot reported a memory leak: > > BUG: memory leak, unreferenced object 0x888120b3d380 (size 64): > backtrace: ... > It was caused by when sending msgs without binding a port, in the path: > inet_sendmsg() -> inet_send_prepare() ->

Re: [PATCH net] sctp: change sctp_prot .no_autobind with true

2019-10-15 Thread Marcelo Ricardo Leitner
On Tue, Oct 15, 2019 at 03:24:38PM +0800, Xin Long wrote: > syzbot reported a memory leak: > > BUG: memory leak, unreferenced object 0x888120b3d380 (size 64): > backtrace: > > [...] slab_alloc mm/slab.c:3319 [inline] > [...] kmem_cache_alloc+0x13f/0x2c0 mm/slab.c:3483 > [...]

[PATCH net] sctp: change sctp_prot .no_autobind with true

2019-10-15 Thread Xin Long
syzbot reported a memory leak: BUG: memory leak, unreferenced object 0x888120b3d380 (size 64): backtrace: [...] slab_alloc mm/slab.c:3319 [inline] [...] kmem_cache_alloc+0x13f/0x2c0 mm/slab.c:3483 [...] sctp_bucket_create net/sctp/socket.c:8523 [inline] [...] sctp_get_port