OpenCloudOS-Kernel/drivers/usb/class
Oliver Neukum 9cdabcb3ef usblp: fix race between disconnect() and read()
read() needs to check whether the device has been
disconnected before it tries to talk to the device.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Reported-by: syzbot+be5b5f86a162a6c281e6@syzkaller.appspotmail.com
Link: https://lore.kernel.org/r/20200917103427.15740-1-oneukum@suse.com
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-09-17 18:45:30 +02:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile USB: add SPDX identifiers to all remaining Makefiles 2017-11-07 15:53:48 +01:00
cdc-acm.c USB: cdc-acm: rework notification_buffer resizing 2020-08-18 11:55:23 +02:00
cdc-acm.h cdc-acm: introduce a cool down 2020-04-16 14:59:49 +02:00
cdc-wdm.c usb: class: cdc-wdm: Provide description for usb_cdc_wdm_register()'s manage_power arg 2020-07-15 17:25:57 +02:00
usblp.c usblp: fix race between disconnect() and read() 2020-09-17 18:45:30 +02:00
usbtmc.c usb: Use fallthrough pseudo-keyword 2020-07-10 08:55:17 +02:00