diff options
| author | Johan Hovold <johan@kernel.org> | 2019-10-15 19:55:22 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-29 09:13:25 +0100 |
| commit | 3e4cf06e1938a358b05048726a341b98852eadb1 (patch) | |
| tree | 329cdfed1ffb1c0a6c3792772944813d423f957e /tools/perf/scripts/python | |
| parent | a81304eb043c05c00efe43d2bf600e32caa95053 (diff) | |
USB: usblp: fix use-after-free on disconnect
commit 7a759197974894213621aa65f0571b51904733d6 upstream.
A recent commit addressing a runtime PM use-count regression, introduced
a use-after-free by not making sure we held a reference to the struct
usb_interface for the lifetime of the driver data.
Fixes: 9a31535859bf ("USB: usblp: fix runtime PM after driver unbind")
Cc: stable <stable@vger.kernel.org>
Reported-by: syzbot+cd24df4d075c319ebfc5@syzkaller.appspotmail.com
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20191015175522.18490-1-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
