linux/sound/usb/line6
Takashi Iwai 25fd7ee3ba ALSA: line6: Sync the pending work cancel at disconnection
commit 68359a1ad8 upstream.

Recently syzkaller reported a UAF in LINE6 driver, and it's likely
because we call cancel_delayed_work() at the disconnect callback
instead of cancel_delayed_work_sync().  Let's use the correct one
instead.

Reported-by: syzbot+145012a46658ac00fc9e@syzkaller.appspotmail.com
Suggested-by: Alan Stern <stern@rowland.harvard.edu>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/s5hlfjr4gio.wl-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-07-22 09:33:08 +02:00
..
Kconfig
Makefile
capture.c ALSA: line6: Perform sanity check for each URB creation 2020-07-22 09:33:08 +02:00
capture.h
driver.c ALSA: line6: Sync the pending work cancel at disconnection 2020-07-22 09:33:08 +02:00
driver.h
midi.c
midi.h
midibuf.c
midibuf.h
pcm.c
pcm.h
playback.c ALSA: line6: Perform sanity check for each URB creation 2020-07-22 09:33:08 +02:00
playback.h
pod.c
podhd.c
toneport.c
variax.c