lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 19 Apr 2022 15:41:45 +0200 From: Paolo Abeni <pabeni@...hat.com> To: David Kahurani <k.kahurani@...il.com>, netdev@...r.kernel.org Cc: syzbot+d3dbdf31fbe9d8f5f311@...kaller.appspotmail.com, davem@...emloft.net, jgg@...pe.ca, kuba@...nel.org, linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org, phil@...lpotter.co.uk, syzkaller-bugs@...glegroups.com, arnd@...db.de, dan.carpenter@...cle.com Subject: Re: [PATCH] net: ax88179: add proper error handling of usb read errors On Sat, 2022-04-16 at 10:48 +0300, David Kahurani wrote: > Reads that are lesser than the requested size lead to uninit-value bugs. > In this particular case a variable which was supposed to be initialized > after a read is left uninitialized after a partial read. > > Qualify such reads as errors and handle them correctly and while at it > convert the reader functions to return zero on success for easier error > handling. > > Fixes: e2ca90c276e1 ("ax88179_178a: ASIX AX88179_178A USB 3.0/2.0 to > gigabit ethernet adapter driver") In the next version, please additionally fix the above tag: it must use a single line, even if that means exceeding the 72 chars length limit. Thanks! Paolo
Powered by blists - more mailing lists