linux/sound/firewire/dice
Takashi Sakamoto dd7b836d6b ALSA: dice: fix null pointer dereference when node is disconnected
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>
2021-03-12 14:12:53 +01:00
..
dice-alesis.c ALSA: dice: add support for Alesis MasterControl 2020-01-13 10:44:30 +01:00
dice-extension.c ALSA: dice: fix fallback from protocol extension into limited functionality 2020-01-13 10:43:27 +01:00
dice-harman.c ALSA: dice: add support for Lexicon I-ONIX FW810s 2021-01-15 11:13:33 +01:00
dice-hwdep.c ALSA: Convert strlcpy to strscpy when return value is unused 2021-01-08 09:30:05 +01:00
dice-interface.h ALSA: dice: improve support for ancient firmware for DICE 2018-04-24 17:18:59 +02:00
dice-midi.c ALSA: dice: share PCM buffer size for both direction 2019-10-18 04:35:47 +02:00
dice-mytek.c ALSA: dice: add stream format parameters for Mytek devices 2018-05-18 08:53:51 +02:00
dice-pcm.c ALSA: firewire: Drop superfluous ioctl PCM ops 2019-12-11 07:25:27 +01:00
dice-presonus.c ALSA: dice: add stream format parameters for PreSonus FireStudio 2019-05-20 07:46:43 +02:00
dice-proc.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 345 2019-06-05 17:37:08 +02:00
dice-stream.c ALSA: dice: fix null pointer dereference when node is disconnected 2021-03-12 14:12:53 +01:00
dice-tcelectronic.c ALSA: dice: unuse second stream for MIDI conformant data channel for TC Electronic models 2018-05-27 08:32:08 +02:00
dice-transaction.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 345 2019-06-05 17:37:08 +02:00
dice.c ALSA: dice: add support for Lexicon I-ONIX FW810s 2021-01-15 11:13:33 +01:00
dice.h ALSA: dice: add support for Lexicon I-ONIX FW810s 2021-01-15 11:13:33 +01:00
Makefile ALSA: dice: add support for Lexicon I-ONIX FW810s 2021-01-15 11:13:33 +01:00