android_kernel_sony_sdm845/drivers/usb/class
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Johan Hovold e5e48d279f 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>
2019-10-29 09:15:17 +01:00
..
cdc-acm.c usb: cdc-acm: make sure a refcount is taken early enough 2019-08-25 10:51:49 +02:00
cdc-acm.h cdc-acm: fix abnormal DATA RX issue for Mediatek Preloader. 2019-01-09 16:16:44 +01:00
cdc-wdm.c USB: cdc-wdm: fix race between write and disconnect due to flag abuse 2019-09-06 10:19:48 +02:00
Kconfig USB: regroup all depends on USB within an if USB block 2013-04-09 16:49:07 -07:00
Makefile
usblp.c USB: usblp: fix use-after-free on disconnect 2019-10-29 09:15:17 +01:00
usbtmc.c USB: usbtmc: fix probe error path 2017-03-30 09:41:24 +02:00