Re: [PATCH net] net/rds: Check laddr_check before calling it

2019-09-27 Thread David Miller
From: Ka-Cheong Poon Date: Tue, 24 Sep 2019 08:51:16 -0700 > In rds_bind(), laddr_check is called without checking if it is NULL or > not. And rs_transport should be reset if rds_add_bound() fails. > > Fixes: c5c1a030a7db ("net/rds: An rds_sock is added too early to the hash > table") > Report

Re: [PATCH net] net/rds: Check laddr_check before calling it

2019-09-24 Thread Ka-Cheong Poon
On 9/21/19 9:09 AM, Jakub Kicinski wrote: On Tue, 17 Sep 2019 08:29:18 -0700, Ka-Cheong Poon wrote: In rds_bind(), laddr_check is called without checking if it is NULL or not. And rs_transport should be reset if rds_add_bound() fails. Reported-by: syzbot+fae39afd2101a17ec...@syzkaller.appspotm

[PATCH net] net/rds: Check laddr_check before calling it

2019-09-24 Thread Ka-Cheong Poon
In rds_bind(), laddr_check is called without checking if it is NULL or not. And rs_transport should be reset if rds_add_bound() fails. Fixes: c5c1a030a7db ("net/rds: An rds_sock is added too early to the hash table") Reported-by: syzbot+fae39afd2101a17ec...@syzkaller.appspotmail.com Signed-off-b

Re: [PATCH net] net/rds: Check laddr_check before calling it

2019-09-23 Thread David Miller
From: Ka-Cheong Poon Date: Tue, 17 Sep 2019 08:29:18 -0700 > In rds_bind(), laddr_check is called without checking if it is NULL or > not. And rs_transport should be reset if rds_add_bound() fails. > > Reported-by: syzbot+fae39afd2101a17ec...@syzkaller.appspotmail.com > Signed-off-by: Ka-Cheong

Re: [PATCH net] net/rds: Check laddr_check before calling it

2019-09-20 Thread Jakub Kicinski
On Tue, 17 Sep 2019 08:29:18 -0700, Ka-Cheong Poon wrote: > In rds_bind(), laddr_check is called without checking if it is NULL or > not. And rs_transport should be reset if rds_add_bound() fails. > > Reported-by: syzbot+fae39afd2101a17ec...@syzkaller.appspotmail.com > Signed-off-by: Ka-Cheong Po

Re: [PATCH net] net/rds: Check laddr_check before calling it

2019-09-17 Thread santosh . shilimkar
On 9/17/19 8:29 AM, Ka-Cheong Poon wrote: In rds_bind(), laddr_check is called without checking if it is NULL or not. And rs_transport should be reset if rds_add_bound() fails. Reported-by: syzbot+fae39afd2101a17ec...@syzkaller.appspotmail.com Signed-off-by: Ka-Cheong Poon --- Thanks Ka-Cheon

[PATCH net] net/rds: Check laddr_check before calling it

2019-09-17 Thread Ka-Cheong Poon
In rds_bind(), laddr_check is called without checking if it is NULL or not. And rs_transport should be reset if rds_add_bound() fails. Reported-by: syzbot+fae39afd2101a17ec...@syzkaller.appspotmail.com Signed-off-by: Ka-Cheong Poon --- net/rds/bind.c | 5 - 1 file changed, 4 insertions(+),