diff options
| author | Takashi Iwai <tiwai@suse.de> | 2022-05-25 15:12:03 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-06-09 10:20:48 +0200 |
| commit | 40bdb5ec957aca5c5c1924602bef6b0ab18e22d3 (patch) | |
| tree | 270ffd0f1b5f873e7b783e68a5ed476da8ad36e9 /include/linux/mbcache.h | |
| parent | 1cf70d5c15bcab4411f826fd2e83a9aabfe5166d (diff) | |
ALSA: usb-audio: Cancel pending work at closing a MIDI substream
commit 0125de38122f0f66bf61336158d12a1aabfe6425 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>
Diffstat (limited to 'include/linux/mbcache.h')
0 files changed, 0 insertions, 0 deletions
