Files
linux/net/rds
Tetsuo Handa dd3ac9a684 net/rds: Check address length before reading address family
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.com/bug?id=f4e61c010416c1e6f0fa3ffe247561b60a50ad71
[2] https://syzkaller.appspot.com/bug?id=a4bf9e41b7e055c3823fdcd83e8c58ca7270e38f

Reported-by: syzbot <[email protected]>
Reported-by: syzbot <[email protected]>
Signed-off-by: Tetsuo Handa <[email protected]>
Acked-by: Santosh Shilimkar <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2019-04-12 10:25:03 -07:00
..
…
2019-02-04 14:59:13 -08:00
2018-06-12 16:19:22 -07:00
2018-08-31 23:09:53 -07:00
2016-12-26 21:35:39 -05:00
2019-02-04 14:59:13 -08:00
…
…
2018-07-23 21:17:44 -07:00
2018-07-23 21:17:44 -07:00
2019-02-04 14:59:11 -08:00