[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190412.102525.1740328191555062244.davem@davemloft.net>
Date: Fri, 12 Apr 2019 10:25:25 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: penguin-kernel@...ove.SAKURA.ne.jp
Cc: santosh.shilimkar@...cle.com, netdev@...r.kernel.org,
syzbot+0049bebbf3042dbd2e8f@...kaller.appspotmail.com,
syzbot+915c9f99f3dbc4bd6cd1@...kaller.appspotmail.com
Subject: Re: [PATCH 1/9] net/rds: Check address length before reading
address family
From: Tetsuo Handa <penguin-kernel@...ove.SAKURA.ne.jp>
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 minimal address length for validation.
>
> [1] https://syzkaller.appspot.com/bug?id=f4e61c010416c1e6f0fa3ffe247561b60a50ad71
> [2] https://syzkaller.appspot.com/bug?id=a4bf9e41b7e055c3823fdcd83e8c58ca7270e38f
>
> Reported-by: syzbot <syzbot+0049bebbf3042dbd2e8f@...kaller.appspotmail.com>
> Reported-by: syzbot <syzbot+915c9f99f3dbc4bd6cd1@...kaller.appspotmail.com>
> Signed-off-by: Tetsuo Handa <penguin-kernel@...ove.SAKURA.ne.jp>
Applied.
Powered by blists - more mailing lists