linux/sound/usb
Takashi Iwai 40bdb5ec95 ALSA: usb-audio: Cancel pending work at closing a MIDI substream
commit 0125de3812 upstream.

At closing a USB MIDI output substream, there might be still a pending
work, which would eventually access the rawmidi runtime object that is
being released.  For fixing the race, make sure to cancel the pending
work at closing.

Reported-by: syzbot+6912c9592caca7ca0e7d@syzkaller.appspotmail.com
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/000000000000e7e75005dfd07cf6@google.com
Link: https://lore.kernel.org/r/20220525131203.11299-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-06-09 10:20:48 +02:00
..
6fire ALSA: 6fire: fix control and bulk message timeouts 2021-11-18 14:03:39 +01:00
bcd2000
caiaq
hiface
line6 ALSA: line6: fix control and interrupt message timeouts 2021-11-18 14:03:39 +01:00
misc ALSA: ua101: fix division by zero at probe 2021-11-18 14:03:39 +01:00
usx2y
card.c ALSA: usb-audio: Fix superfluous autosuspend recovery 2021-08-12 13:22:10 +02:00
card.h
clock.c ALSA: usb-audio: fix incorrect clock source setting 2021-08-12 13:22:03 +02:00
clock.h
debug.h
endpoint.c
endpoint.h
format.c ALSA: usb-audio: Drop superfluous '0' in Presonus Studio 1810c's ID 2022-01-27 10:54:06 +01:00
format.h
helper.c
helper.h
Kconfig
Makefile
media.c
media.h
midi.c ALSA: usb-audio: Cancel pending work at closing a MIDI substream 2022-06-09 10:20:48 +02:00
midi.h
mixer_maps.c ALSA: usb-audio: add mapping for new Corsair Virtuoso SE 2022-03-28 09:57:08 +02:00
mixer_quirks.c ALSA: usb-audio: Add mute TLV for playback volumes on RODE NT-USB 2022-03-28 09:57:09 +02:00
mixer_quirks.h
mixer_s1810c.c
mixer_s1810c.h
mixer_scarlett_gen2.c
mixer_scarlett_gen2.h
mixer_scarlett.c
mixer_scarlett.h
mixer_us16x08.c
mixer_us16x08.h
mixer.c
mixer.h
pcm.c
pcm.h
power.c
power.h
proc.c
proc.h
quirks-table.h ALSA: usb-audio: Restore Rane SL-1 quirk 2022-05-25 09:17:55 +02:00
quirks.c ALSA: usb-audio: Drop superfluous '0' in Presonus Studio 1810c's ID 2022-01-27 10:54:06 +01:00
quirks.h
stream.c
stream.h
usbaudio.h ALSA: usb-audio: Fix undefined behavior due to shift overflowing the constant 2022-04-27 13:53:53 +02:00
validate.c