kernel-fxtec-pro1x/drivers/usb/class
Oliver Neukum 51e7ea12cc usblp: fix race between disconnect() and read()
commit 9cdabcb3ef8c24ca3a456e4db7b012befb688e73 upstream.

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-23 12:11:01 +02:00
..
cdc-acm.c USB: cdc-acm: rework notification_buffer resizing 2020-09-03 11:24:30 +02:00
cdc-acm.h cdc-acm: introduce a cool down 2020-04-29 16:31:33 +02:00
cdc-wdm.c cdc-wdm: pass return value of recover_from_urb_loss 2020-01-27 14:50:24 +01:00
Kconfig usb: fix some references for /proc/bus/usb 2017-04-18 16:54:19 +02:00
Makefile USB: add SPDX identifiers to all remaining Makefiles 2017-11-07 15:53:48 +01:00
usblp.c usblp: fix race between disconnect() and read() 2020-09-23 12:11:01 +02:00
usbtmc.c usb: usbtmc: uninitialized symbol 'actual' in usbtmc_ioctl_clear 2019-11-20 18:47:53 +01:00