From: David Miller <davem@davemloft.net>
To: andreyknvl@google.com
Cc: Dean_Jenkins@mentor.com, allan@asix.com.tw, peter.chen@nxp.com,
tremyfr@gmail.com, gerg@linux-m68k.org, colin.king@canonical.com,
linux-usb@vger.kernel.org, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, dvyukov@google.com, kcc@google.com
Subject: Re: [PATCH] net: usb: asix: fill null-ptr-deref in asix_suspend
Date: Sat, 04 Nov 2017 22:42:39 +0900 (KST) [thread overview]
Message-ID: <20171104.224239.229769899811546000.davem@davemloft.net> (raw)
In-Reply-To: <9e768a837391af216cf1d2c8ac08af41f28cb147.1509654127.git.andreyknvl@google.com>
From: Andrey Konovalov <andreyknvl@google.com>
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@google.com>
Applied, thank you.
next prev parent reply other threads:[~2017-11-04 13:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-02 20:26 Andrey Konovalov
2017-11-04 13:42 ` David Miller [this message]
2017-11-06 9:49 ` Oliver Neukum
2017-11-06 12:30 ` Andrey Konovalov
2017-11-06 15:20 ` Oliver Neukum
2017-11-06 16:05 ` Andrey Konovalov
2017-11-06 16:32 ` Oliver Neukum
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171104.224239.229769899811546000.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=Dean_Jenkins@mentor.com \
--cc=allan@asix.com.tw \
--cc=andreyknvl@google.com \
--cc=colin.king@canonical.com \
--cc=dvyukov@google.com \
--cc=gerg@linux-m68k.org \
--cc=kcc@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=peter.chen@nxp.com \
--cc=tremyfr@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®