[PATCH 4.14 02/35] Fix memory leak in sctp_process_init

2019-06-09 Thread Greg Kroah-Hartman
From: Neil Horman [ Upstream commit 0a8dd9f67cd0da7dc284f48b032ce00db1a68791 ] 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

[PATCH 4.19 02/51] Fix memory leak in sctp_process_init

2019-06-09 Thread Greg Kroah-Hartman
From: Neil Horman [ Upstream commit 0a8dd9f67cd0da7dc284f48b032ce00db1a68791 ] 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

[PATCH 5.1 02/70] Fix memory leak in sctp_process_init

2019-06-09 Thread Greg Kroah-Hartman
From: Neil Horman [ Upstream commit 0a8dd9f67cd0da7dc284f48b032ce00db1a68791 ] 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

Re: memory leak in sctp_process_init

2019-05-31 Thread Neil Horman
On Fri, May 31, 2019 at 09:42:42AM -0300, Marcelo Ricardo Leitner wrote: > On Thu, May 30, 2019 at 03:56:34PM -0400, Neil Horman wrote: > > On Thu, May 30, 2019 at 12:17:05PM -0300, Marcelo Ricardo Leitner wrote: > ... > > > --- a/net/sctp/sm_sideeffect.c > > > +++ b/net/sctp/sm_sideeffect.c > > >

Re: memory leak in sctp_process_init

2019-05-31 Thread Marcelo Ricardo Leitner
On Thu, May 30, 2019 at 03:56:34PM -0400, Neil Horman wrote: > On Thu, May 30, 2019 at 12:17:05PM -0300, Marcelo Ricardo Leitner wrote: ... > > --- a/net/sctp/sm_sideeffect.c > > +++ b/net/sctp/sm_sideeffect.c > > @@ -898,6 +898,11 @@ static void sctp_cmd_new_state(struct sctp_cmd_seq > > *cmds,

Re: memory leak in sctp_process_init

2019-05-30 Thread Neil Horman
On Thu, May 30, 2019 at 12:17:05PM -0300, Marcelo Ricardo Leitner wrote: > On Thu, May 30, 2019 at 10:20:11AM -0400, Neil Horman wrote: > > On Wed, May 29, 2019 at 08:37:57PM -0300, Marcelo Ricardo Leitner wrote: > > > On Wed, May 29, 2019 at 03:07:09PM -0400, Neil Horman wrote: > > > > ---

Re: memory leak in sctp_process_init

2019-05-30 Thread Marcelo Ricardo Leitner
On Thu, May 30, 2019 at 10:20:11AM -0400, Neil Horman wrote: > On Wed, May 29, 2019 at 08:37:57PM -0300, Marcelo Ricardo Leitner wrote: > > On Wed, May 29, 2019 at 03:07:09PM -0400, Neil Horman wrote: > > > --- a/net/sctp/sm_make_chunk.c > > > +++ b/net/sctp/sm_make_chunk.c > > > @@ -2419,9

Re: memory leak in sctp_process_init

2019-05-30 Thread Neil Horman
On Wed, May 29, 2019 at 08:37:57PM -0300, Marcelo Ricardo Leitner wrote: > On Wed, May 29, 2019 at 03:07:09PM -0400, Neil Horman wrote: > > --- a/net/sctp/sm_make_chunk.c > > +++ b/net/sctp/sm_make_chunk.c > > @@ -2419,9 +2419,12 @@ int sctp_process_init(struct sctp_association *asoc, > > struct

Re: memory leak in sctp_process_init

2019-05-30 Thread Neil Horman
On Wed, May 29, 2019 at 08:37:57PM -0300, Marcelo Ricardo Leitner wrote: > On Wed, May 29, 2019 at 03:07:09PM -0400, Neil Horman wrote: > > --- a/net/sctp/sm_make_chunk.c > > +++ b/net/sctp/sm_make_chunk.c > > @@ -2419,9 +2419,12 @@ int sctp_process_init(struct sctp_association *asoc, > > struct

Re: memory leak in sctp_process_init

2019-05-29 Thread Marcelo Ricardo Leitner
On Wed, May 29, 2019 at 03:07:09PM -0400, Neil Horman wrote: > --- a/net/sctp/sm_make_chunk.c > +++ b/net/sctp/sm_make_chunk.c > @@ -2419,9 +2419,12 @@ int sctp_process_init(struct sctp_association *asoc, > struct sctp_chunk *chunk, > /* Copy cookie in case we need to resend COOKIE-ECHO. */

Re: memory leak in sctp_process_init

2019-05-29 Thread Neil Horman
On Tue, May 28, 2019 at 07:15:50AM -0400, Neil Horman wrote: > On Mon, May 27, 2019 at 10:36:00PM -0300, Marcelo Ricardo Leitner wrote: > > On Mon, May 27, 2019 at 05:48:06PM -0700, syzbot wrote: > > > Hello, > > > > > > syzbot found the following crash on: > > > > > > HEAD commit:9c7db500

Re: memory leak in sctp_process_init

2019-05-28 Thread Neil Horman
On Mon, May 27, 2019 at 10:36:00PM -0300, Marcelo Ricardo Leitner wrote: > On Mon, May 27, 2019 at 05:48:06PM -0700, syzbot wrote: > > Hello, > > > > syzbot found the following crash on: > > > > HEAD commit:9c7db500 Merge tag 'selinux-pr-20190521' of git://git.kern.. > > git tree:

Re: memory leak in sctp_process_init

2019-05-27 Thread Marcelo Ricardo Leitner
On Mon, May 27, 2019 at 05:48:06PM -0700, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:9c7db500 Merge tag 'selinux-pr-20190521' of git://git.kern.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=10388530a0 >

memory leak in sctp_process_init

2019-05-27 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:9c7db500 Merge tag 'selinux-pr-20190521' of git://git.kern.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=10388530a0 kernel config: https://syzkaller.appspot.com/x/.config?x=61dd9e15a761691d