Re: [BUG] net: rds: rds_send_probe memory leak

2021-03-14 Thread Fatih Yildirim
On Sun, 2021-03-14 at 13:44 +0100, Greg KH wrote: > On Sun, Mar 14, 2021 at 03:19:05PM +0300, Fatih Yildirim wrote: > > On Sun, 2021-03-14 at 09:36 +0100, Greg KH wrote: > > > On Sun, Mar 14, 2021 at 11:23:10AM +0300, Fatih Yildirim wrote: > > > > Hi Santosh, > > > > > > > > I've been working on a

Re: [BUG] net: rds: rds_send_probe memory leak

2021-03-14 Thread Greg KH
On Sun, Mar 14, 2021 at 03:19:05PM +0300, Fatih Yildirim wrote: > On Sun, 2021-03-14 at 09:36 +0100, Greg KH wrote: > > On Sun, Mar 14, 2021 at 11:23:10AM +0300, Fatih Yildirim wrote: > > > Hi Santosh, > > > > > > I've been working on a memory leak bug reported by syzbot. > > > https://syzkaller.a

Re: [BUG] net: rds: rds_send_probe memory leak

2021-03-14 Thread Fatih Yildirim
On Sun, 2021-03-14 at 09:36 +0100, Greg KH wrote: > On Sun, Mar 14, 2021 at 11:23:10AM +0300, Fatih Yildirim wrote: > > Hi Santosh, > > > > I've been working on a memory leak bug reported by syzbot. > > https://syzkaller.appspot.com/bug?id=39b72114839a6dbd66c1d2104522698a813f9ae2 > > > > It seems

Re: [BUG] net: rds: rds_send_probe memory leak

2021-03-14 Thread Greg KH
On Sun, Mar 14, 2021 at 11:23:10AM +0300, Fatih Yildirim wrote: > Hi Santosh, > > I've been working on a memory leak bug reported by syzbot. > https://syzkaller.appspot.com/bug?id=39b72114839a6dbd66c1d2104522698a813f9ae2 > > It seems that memory allocated in rds_send_probe function is not freed.

[BUG] net: rds: rds_send_probe memory leak

2021-03-14 Thread Fatih Yildirim
Hi Santosh, I've been working on a memory leak bug reported by syzbot. https://syzkaller.appspot.com/bug?id=39b72114839a6dbd66c1d2104522698a813f9ae2 It seems that memory allocated in rds_send_probe function is not freed. Let me share my observations. rds_message is allocated at the beginning of