diff options
author | Pavel Skripkin <paskripkin@gmail.com> | 2021-10-24 17:03:15 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-11-26 11:36:02 +0100 |
commit | 5ea60baad37de09f7d37df2a2f12265c11aa3422 (patch) | |
tree | 9783a4a24648caced16002ff090ca47351d6c34c /Documentation | |
parent | 09933eef561d730dc94aba534184fd085a483230 (diff) | |
download | linux-stable-5ea60baad37de09f7d37df2a2f12265c11aa3422.tar.gz linux-stable-5ea60baad37de09f7d37df2a2f12265c11aa3422.tar.bz2 linux-stable-5ea60baad37de09f7d37df2a2f12265c11aa3422.zip |
ALSA: mixer: fix deadlock in snd_mixer_oss_set_volume
commit 3ab7992018455ac63c33e9b3eaa7264e293e40f4 upstream.
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@syzkaller.appspotmail.com
Fixes: 411cef6adfb3 ("ALSA: mixer: oss: Fix racy access to slots")
Cc: <stable@vger.kernel.org>
Signed-off-by: Pavel Skripkin <paskripkin@gmail.com>
Link: https://lore.kernel.org/r/20211024140315.16704-1-paskripkin@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions