Re: [PATCH 1/9] net/rds: Check address length before reading address family

2019-04-12 Thread David Miller
From: Tetsuo Handa Date: Fri, 12 Apr 2019 19:51:52 +0900 > syzbot is reporting uninitialized value at rds_connect() [1] and > rds_bind() [2]. This is because syzbot is passing ulen == 0 whereas > these functions expect that it is safe to access sockaddr->family field > in order to determine minim

Re: [PATCH 1/9] net/rds: Check address length before reading address family

2019-04-12 Thread Santosh Shilimkar
On 4/12/2019 3:51 AM, Tetsuo Handa wrote: syzbot is reporting uninitialized value at rds_connect() [1] and rds_bind() [2]. This is because syzbot is passing ulen == 0 whereas these functions expect that it is safe to access sockaddr->family field in order to determine minimal address length for v

[PATCH 1/9] net/rds: Check address length before reading address family

2019-04-12 Thread Tetsuo Handa
syzbot is reporting uninitialized value at rds_connect() [1] and rds_bind() [2]. This is because syzbot is passing ulen == 0 whereas these functions expect that it is safe to access sockaddr->family field in order to determine minimal address length for validation. [1] https://syzkaller.appspot.c