Re: [PATCH] net: usb: asix: fill null-ptr-deref in asix_suspend
From: David Miller
Date: Sat Nov 04 2017 - 09:42:56 EST
From: Andrey Konovalov <andreyknvl@xxxxxxxxxx>
Date: Thu, 2 Nov 2017 21:26:59 +0100
> 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.
...
> Signed-off-by: Andrey Konovalov <andreyknvl@xxxxxxxxxx>
Applied, thank you.