1
0
Fork 0
alistair23-linux/drivers/usb/class
Oliver Neukum 6c56942bd2 usblp: fix race between disconnect() and read()
commit 9cdabcb3ef 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:40:44 +02:00
..
Kconfig docs: usb: rename files to .rst and add them to drivers-api 2019-06-20 14:28:36 +02: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-09-03 11:27:08 +02:00
cdc-acm.h cdc-acm: introduce a cool down 2020-04-29 16:33:22 +02:00
cdc-wdm.c USB: cdc-wdm: fix race between write and disconnect due to flag abuse 2019-08-28 22:48:38 +02:00
usblp.c usblp: fix race between disconnect() and read() 2020-09-23 12:40:44 +02:00
usbtmc.c Merge 5.3-rc7 into usb-next 2019-09-02 19:31:18 +02:00