diff options
author | Takashi Iwai <tiwai@suse.de> | 2021-11-05 12:15:17 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-11-17 13:03:26 +0300 |
commit | 3d96ccb1ef2a74ddf7440469eaebb1dc33972fd5 (patch) | |
tree | 4d9826239a5949297adad87a3e6b10946265ba56 /sound/xen/xen_snd_front_cfg.c | |
parent | 147405da05f59aa9c2b97ba4b70d10f3aa81d6b3 (diff) | |
download | linux-3d96ccb1ef2a74ddf7440469eaebb1dc33972fd5.tar.xz |
ALSA: timer: Unconditionally unlink slave instances, too
commit ffdd98277f0a1d15a67a74ae09bee713df4c0dbc upstream.
Like the previous fix (commit c0317c0e8709 "ALSA: timer: Fix
use-after-free problem"), we have to unlink slave timer instances
immediately at snd_timer_stop(), too. Otherwise it may leave a stale
entry in the list if the slave instance is freed before actually
running.
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20211105091517.21733-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/xen/xen_snd_front_cfg.c')
0 files changed, 0 insertions, 0 deletions