5 Nov
2021
5 Nov
'21
10:13 a.m.
On Wed, 03 Nov 2021 17:07:07 +0100, Takashi Iwai wrote:
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 Signed-off-by: Takashi Iwai tiwai@suse.de
This patch changed the behavior of snd_timer_stop_slav(), it doesn't return -EBUSY. I'll submit the revised patch to cover that, too.
Takashi