[PATCH next] ALSA: mixer: fix deadlock in snd_mixer_oss_set_volume

Takashi Iwai tiwai at suse.de
Tue Oct 26 08:00:18 CEST 2021


On Sun, 24 Oct 2021 16:03:15 +0200,
Pavel Skripkin wrote:
> 
> In commit 411cef6adfb3 ("ALSA: mixer: oss: Fix racy access to slots")
> added mutex protection in snd_mixer_oss_set_volume(). Second
> mutex_lock() in same function looks like typo, fix it.
> 
> Reported-by: syzbot+ace149a75a9a0a399ac7 at syzkaller.appspotmail.com
> Fixes: 411cef6adfb3 ("ALSA: mixer: oss: Fix racy access to slots")
> Signed-off-by: Pavel Skripkin <paskripkin at gmail.com>

Applied now, thanks!


Takashi


More information about the Alsa-devel mailing list