[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200827.073733.1876161431562899494.davem@davemloft.net>
Date: Thu, 27 Aug 2020 07:37:33 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: himadrispandya@...il.com
Cc: kuba@...nel.org, linux-usb@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, syzkaller-bugs@...glegroups.com,
linux-kernel-mentees@...ts.linuxfoundation.org,
gregkh@...uxfoundation.org
Subject: Re: [PATCH] net: usb: Fix uninit-was-stored issue in
asix_read_phy_addr()
From: Himadri Pandya <himadrispandya@...il.com>
Date: Thu, 27 Aug 2020 12:23:55 +0530
> The buffer size is 2 Bytes and we expect to receive the same amount of
> data. But sometimes we receive less data and run into uninit-was-stored
> issue upon read. Hence modify the error check on the return value to match
> with the buffer size as a prevention.
>
> Reported-and-tested by: syzbot+a7e220df5a81d1ab400e@...kaller.appspotmail.com
> Signed-off-by: Himadri Pandya <himadrispandya@...il.com>
Applied, thanks.
Powered by blists - more mailing lists