WSL2-Linux-Kernel/sound/firewire
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
..
bebob ALSA: bebob: remove an unnecessary condition in hwdep_read() 2021-01-26 07:31:13 +01:00
dice ALSA: dice: fix null pointer dereference when node is disconnected 2021-03-12 14:12:53 +01:00
digi00x ALSA: Convert strlcpy to strscpy when return value is unused 2021-01-08 09:30:05 +01:00
fireface ALSA: fireface: fix to parse sync status register of latter protocol 2021-02-08 15:58:36 +01:00
fireworks ALSA: Convert strlcpy to strscpy when return value is unused 2021-01-08 09:30:05 +01:00
motu ALSA: Convert strlcpy to strscpy when return value is unused 2021-01-08 09:30:05 +01:00
oxfw ALSA: oxfw: remove an unnecessary condition in hwdep_read() 2021-01-25 14:50:07 +01:00
tascam Merge branch 'for-linus' into for-next 2021-01-18 17:39:23 +01:00
Kconfig ALSA: firewire-motu: fulfill missing entries in Kconfig 2020-05-11 09:12:06 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
amdtp-am824.c ALSA: firewire-lib: fix invalid assignment to union data for directional parameter 2020-05-08 09:42:21 +02:00
amdtp-am824.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
amdtp-stream-trace.h ALSA: firewire-lib: fix 'function sizeof not defined' error of tracepoints format 2020-05-03 09:24:44 +02:00
amdtp-stream.c ALSA: firewire: Replace tasklet with work 2020-09-11 18:22:54 +02:00
amdtp-stream.h ALSA: firewire: fix comparison to bool warning 2020-11-10 09:06:10 +01:00
cmp.c ALSA: firewire: fix kernel-doc 2020-07-07 12:09:32 +02:00
cmp.h ALSA: firewire-lib: split allocation of isochronous resources from establishment of connection 2019-06-17 08:18:36 +02:00
fcp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 345 2019-06-05 17:37:08 +02:00
fcp.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
isight.c ALSA: firewire: Drop superfluous ioctl PCM ops 2019-12-11 07:25:27 +01:00
iso-resources.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 345 2019-06-05 17:37:08 +02:00
iso-resources.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
lib.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 345 2019-06-05 17:37:08 +02:00
lib.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
packets-buffer.c ALSA: firewire: fix a memory leak bug 2019-08-08 11:12:26 +02:00
packets-buffer.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00