Skip to content
Commit 3ab79920 authored by Pavel Skripkin's avatar Pavel Skripkin Committed by Takashi Iwai
Browse files

ALSA: mixer: fix deadlock in snd_mixer_oss_set_volume



In commit 411cef6a ("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: default avatar <syzbot+ace149a75a9a0a399ac7@syzkaller.appspotmail.com>
Fixes: 411cef6a ("ALSA: mixer: oss: Fix racy access to slots")
Cc: <stable@vger.kernel.org>
Signed-off-by: default avatarPavel Skripkin <paskripkin@gmail.com>
Link: https://lore.kernel.org/r/20211024140315.16704-1-paskripkin@gmail.com


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 5fc462c3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment