[PATCH] ALSA: dice: fix null pointer dereference when node is disconnected

Takashi Iwai tiwai at suse.de
Fri Mar 12 14:13:25 CET 2021


On Fri, 12 Mar 2021 10:34:07 +0100,
Takashi Sakamoto wrote:
> 
> 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 at vger.kernel.org> # v5.4 or later
> Fixes: e9f21129b8d8 ("ALSA: dice: support AMDTP domain")
> Signed-off-by: Takashi Sakamoto <o-takashi at sakamocchi.jp>

Applied, thanks.


Takashi


More information about the Alsa-devel mailing list