lkml.org 
[lkml]   [2017]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] net: usb: asix: fill null-ptr-deref in asix_suspend
    From
    Date
    Am Montag, den 06.11.2017, 17:05 +0100 schrieb Andrey Konovalov:
    > On Mon, Nov 6, 2017 at 4:20 PM, Oliver Neukum <oneukum@suse.com> wrote:
    > >

    > I do have a way to reproduce this.
    >
    > As far as I understand, for this particular device ax88172_bind() is
    > called, which doesn't assign anything to dev->driver_priv, so that's
    > why it is NULL in suspend() and resume().

    Thanks and ouch. That means it never worked for those devices.
    That makes this a rather serious bug and your fix is right.

    Regards
    Oliver

    \
     
     \ /
      Last update: 2017-11-06 17:37    [W:2.175 / U:0.448 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site