[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1509961757.2024.21.camel@suse.com>
Date: Mon, 06 Nov 2017 10:49:17 +0100
From: Oliver Neukum <oneukum@...e.com>
To: Andrey Konovalov <andreyknvl@...gle.com>,
allan <allan@...x.com.tw>,
Colin Ian King <colin.king@...onical.com>,
"David S . Miller" <davem@...emloft.net>,
Philippe Reynes <tremyfr@...il.com>,
Greg Ungerer <gerg@...ux-m68k.org>,
Dean Jenkins <Dean_Jenkins@...tor.com>,
Peter Chen <peter.chen@....com>, linux-kernel@...r.kernel.org,
linux-usb@...r.kernel.org, netdev@...r.kernel.org
Cc: Dmitry Vyukov <dvyukov@...gle.com>,
Kostya Serebryany <kcc@...gle.com>
Subject: Re: [PATCH] net: usb: asix: fill null-ptr-deref in asix_suspend
Am Donnerstag, den 02.11.2017, 21:26 +0100 schrieb Andrey Konovalov:
> When asix_suspend() is called dev->driver_priv might not have been
> assigned a value, so we need to check that it's not NULL.
>
> Found by syzkaller.
Hi,
1. if that happens on suspend, it will also happen on resume
2. Will a device work after that? The appropriate fix may be to wait
until the device is properly initialized.
Regards
Oliver
Powered by blists - more mailing lists