linux-uconsole/drivers/usb/misc
Oliver Neukum 356440a79b appledisplay: fix error handling in the scheduled work
commit 91feb01596 upstream.

The work item can operate on

1. stale memory left over from the last transfer
the actual length of the data transfered needs to be checked
2. memory already freed
the error handling in appledisplay_probe() needs
to cancel the work in that case

Reported-and-tested-by: syzbot+495dab1f175edc9c2f13@syzkaller.appspotmail.com
Signed-off-by: Oliver Neukum <oneukum@suse.com>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20191106124902.7765-1-oneukum@suse.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-12-01 09:17:42 +01:00
..
sisusbvga USB: sisusbvga: fix oops in error path of sisusb_probe 2019-06-09 09:17:12 +02:00
adutux.c USB: adutux: fix use-after-free on release 2019-10-17 13:44:55 -07:00
appledisplay.c appledisplay: fix error handling in the scheduled work 2019-12-01 09:17:42 +01:00
chaoskey.c USB: chaoskey: fix error case of a timeout 2019-12-01 09:17:41 +01:00
cypress_cy7c63.c
cytherm.c
ehset.c
emi26.c
emi62.c
ezusb.c
ftdi-elan.c
idmouse.c
iowarrior.c USB: iowarrior: fix use-after-free after driver unbind 2019-10-17 13:44:58 -07:00
isight_firmware.c
Kconfig USB: rio500: Remove Rio 500 kernel driver 2019-10-17 13:44:47 -07:00
ldusb.c USB: ldusb: use unsigned size format specifiers 2019-11-12 19:21:08 +01:00
legousbtower.c USB: legousbtower: fix a signedness bug in tower_probe() 2019-11-06 13:06:12 +01:00
lvstest.c
Makefile USB: rio500: Remove Rio 500 kernel driver 2019-10-17 13:44:47 -07:00
trancevibrator.c
usb251xb.c usb: usb251xb: fix to avoid potential NULL pointer dereference 2019-05-04 09:20:20 +02:00
usb3503.c
usb4604.c
usb_u132.h
usblcd.c USB: usblcd: fix I/O after disconnect 2019-10-17 13:45:04 -07:00
usbsevseg.c
usbtest.c
uss720.c usb: misc: uss720: Fix two sleep-in-atomic-context bugs 2018-09-05 14:36:53 +02:00
yurex.c USB: yurex: fix NULL-derefs on disconnect 2019-10-17 13:44:49 -07:00