Re: [PATCH V2] Fix memory leak in sctp_process_init

2019-06-08 Thread Xin Long
On Fri, Jun 7, 2019 at 8:48 PM Marcelo Ricardo Leitner wrote: > > On Fri, Jun 07, 2019 at 06:56:39AM -0400, Neil Horman wrote: > > On Thu, Jun 06, 2019 at 12:47:55PM -0300, Marcelo Ricardo Leitner wrote: > > > On Wed, Jun 05, 2019 at 07:20:10AM -0400, Neil Horman wrote: > > > > On Wed, Jun 05, 201

Re: [PATCH V2] Fix memory leak in sctp_process_init

2019-06-07 Thread Marcelo Ricardo Leitner
On Fri, Jun 07, 2019 at 06:56:39AM -0400, Neil Horman wrote: > On Thu, Jun 06, 2019 at 12:47:55PM -0300, Marcelo Ricardo Leitner wrote: > > On Wed, Jun 05, 2019 at 07:20:10AM -0400, Neil Horman wrote: > > > On Wed, Jun 05, 2019 at 04:16:24AM +0800, Xin Long wrote: > > > > On Tue, Jun 4, 2019 at 4:3

Re: [PATCH V2] Fix memory leak in sctp_process_init

2019-06-07 Thread Neil Horman
On Thu, Jun 06, 2019 at 12:47:55PM -0300, Marcelo Ricardo Leitner wrote: > On Wed, Jun 05, 2019 at 07:20:10AM -0400, Neil Horman wrote: > > On Wed, Jun 05, 2019 at 04:16:24AM +0800, Xin Long wrote: > > > On Tue, Jun 4, 2019 at 4:34 AM Neil Horman wrote: > > > > > > > > syzbot found the following l

Re: [PATCH V2] Fix memory leak in sctp_process_init

2019-06-06 Thread Marcelo Ricardo Leitner
On Wed, Jun 05, 2019 at 07:20:10AM -0400, Neil Horman wrote: > On Wed, Jun 05, 2019 at 04:16:24AM +0800, Xin Long wrote: > > On Tue, Jun 4, 2019 at 4:34 AM Neil Horman wrote: > > > > > > syzbot found the following leak in sctp_process_init > > > BUG: memory leak > > > unreferenced object 0x888

Re: [PATCH V2] Fix memory leak in sctp_process_init

2019-06-05 Thread David Miller
From: Neil Horman Date: Mon, 3 Jun 2019 16:32:59 -0400 > syzbot found the following leak in sctp_process_init > BUG: memory leak > unreferenced object 0x88810ef68400 (size 1024): ... > The problem was that the peer.cookie value points to an skb allocated > area on the first pass through thi

Re: [PATCH V2] Fix memory leak in sctp_process_init

2019-06-05 Thread Neil Horman
On Wed, Jun 05, 2019 at 04:16:24AM +0800, Xin Long wrote: > On Tue, Jun 4, 2019 at 4:34 AM Neil Horman wrote: > > > > syzbot found the following leak in sctp_process_init > > BUG: memory leak > > unreferenced object 0x88810ef68400 (size 1024): > > comm "syz-executor273", pid 7046, jiffies 42

Re: [PATCH V2] Fix memory leak in sctp_process_init

2019-06-04 Thread Marcelo Ricardo Leitner
On Wed, Jun 05, 2019 at 04:16:24AM +0800, Xin Long wrote: > On Tue, Jun 4, 2019 at 4:34 AM Neil Horman wrote: > > > > syzbot found the following leak in sctp_process_init > > BUG: memory leak > > unreferenced object 0x88810ef68400 (size 1024): > > comm "syz-executor273", pid 7046, jiffies 42

Re: [PATCH V2] Fix memory leak in sctp_process_init

2019-06-04 Thread Xin Long
On Tue, Jun 4, 2019 at 4:34 AM Neil Horman wrote: > > syzbot found the following leak in sctp_process_init > BUG: memory leak > unreferenced object 0x88810ef68400 (size 1024): > comm "syz-executor273", pid 7046, jiffies 4294945598 (age 28.770s) > hex dump (first 32 bytes): > 1d de 28 8

Re: [PATCH V2] Fix memory leak in sctp_process_init

2019-06-03 Thread Marcelo Ricardo Leitner
On Mon, Jun 03, 2019 at 04:32:59PM -0400, Neil Horman wrote: > syzbot found the following leak in sctp_process_init > BUG: memory leak > unreferenced object 0x88810ef68400 (size 1024): > comm "syz-executor273", pid 7046, jiffies 4294945598 (age 28.770s) > hex dump (first 32 bytes): > 1d

[PATCH V2] Fix memory leak in sctp_process_init

2019-06-03 Thread Neil Horman
syzbot found the following leak in sctp_process_init BUG: memory leak unreferenced object 0x88810ef68400 (size 1024): comm "syz-executor273", pid 7046, jiffies 4294945598 (age 28.770s) hex dump (first 32 bytes): 1d de 28 8d de 0b 1b e3 b5 c2 f9 68 fd 1a 97 25 ..(h...% 00 00