linux-stable/sound/firewire
Takashi Sakamoto 4d35c01a36 ALSA: dice: fix null pointer dereference when node is disconnected
commit dd7b836d6b upstream.

When node is removed from IEEE 1394 bus, any transaction fails to the node.
In the case, ALSA dice driver doesn't stop isochronous contexts even if
they are running. As a result, null pointer dereference occurs in callback
from the running context.

This commit fixes the bug to release isochronous contexts always.

Cc: <stable@vger.kernel.org> # v5.4 or later
Fixes: e9f21129b8 ("ALSA: dice: support AMDTP domain")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20210312093407.23437-1-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-03-24 11:26:34 +01:00
..
bebob ALSA: bebob: potential info leak in hwdep_read() 2020-10-29 09:57:25 +01:00
dice ALSA: dice: fix null pointer dereference when node is disconnected 2021-03-24 11:26:34 +01:00
digi00x ALSA: firewire-digi00x: exclude Avid Adrenaline from detection 2020-09-09 19:12:32 +02:00
fireface ALSA: fireface: Fix integer overflow in transmit_midi_msg() 2021-01-19 18:26:18 +01:00
fireworks ALSA: firewire: Clean up a locking issue in copy_resp_to_buf() 2020-11-24 13:29:20 +01:00
motu
oxfw
tascam ALSA: firewire-tascam: Fix integer overflow in midi_port_work() 2021-01-19 18:26:19 +01:00
amdtp-am824.c
amdtp-am824.h
amdtp-stream-trace.h
amdtp-stream.c
amdtp-stream.h
cmp.c
cmp.h
fcp.c
fcp.h
isight.c
iso-resources.c
iso-resources.h
Kconfig
lib.c
lib.h
Makefile
packets-buffer.c
packets-buffer.h