linux/sound/firewire/dice
Takashi Sakamoto 4d35c01a36 ALSA: dice: fix null pointer dereference when node is disconnected
commit dd7b836d6bc935df95c826f69ff4d051f5561604 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
..
Makefile ASoC: Updates for v5.3 2019-07-08 14:45:34 +02:00
dice-alesis.c ALSA: dice: fix wrong packet parameter for Alesis iO26 2019-09-16 23:46:14 +02:00
dice-extension.c ALSA: dice: fix fallback from protocol extension into limited functionality 2020-01-23 08:22:30 +01:00
dice-hwdep.c
dice-interface.h
dice-midi.c ASoC: Updates for v5.3 2019-07-08 14:45:34 +02:00
dice-mytek.c
dice-pcm.c ASoC: Updates for v5.3 2019-07-08 14:45:34 +02:00
dice-presonus.c
dice-proc.c
dice-stream.c ALSA: dice: fix null pointer dereference when node is disconnected 2021-03-24 11:26:34 +01:00
dice-tcelectronic.c
dice-transaction.c
dice.c ASoC: Updates for v5.3 2019-07-08 14:45:34 +02:00
dice.h ALSA: dice: support AMDTP domain 2019-08-05 19:57:25 +02:00