linux-brain/sound/drivers
Takashi Iwai b6a49cc35c ALSA: aloop: Add missing cable lock to ctl API callbacks
commit 76b3421b39 upstream.

Some control API callbacks in aloop driver are too lazy to take the
loopback->cable_lock and it results in possible races of cable access
while it's being freed.  It eventually lead to a UAF, as reported by
fuzzer recently.

This patch covers such control API callbacks and add the proper mutex
locks.

Reported-by: DaeRyong Jeong <threeearcat@gmail.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-09 09:50:20 +02:00
..
mpu401 ALSA: Include linux/io.h instead of asm/io.h 2015-01-28 16:49:33 +01:00
opl3 ALSA: opl3: Hardening for potential Spectre v1 2018-05-01 15:13:06 -07:00
opl4 ALSA: opl4: Fix / cleanup ifdef CONFIG_PROC_FS 2015-05-29 07:49:55 +02:00
pcsp sound: query dynamic DEBUG_PAGEALLOC setting 2016-03-17 15:09:34 -07:00
vx ALSA: vx: Fix possible transfer overflow 2017-11-21 09:23:25 +01:00
aloop.c ALSA: aloop: Add missing cable lock to ctl API callbacks 2018-05-09 09:50:20 +02:00
dummy.c ALSA: dummy: Fix a use-after-free at closing 2016-06-24 15:18:32 +02:00
Kconfig ALSA: sound kconfig typo 2013-04-24 14:02:36 +02:00
Makefile ALSA: introduce the snd-aloop module for the PCM loopback 2010-08-09 14:21:11 +02:00
ml403-ac97cr.c ALSA: Deletion of checks before the function call "iounmap" 2015-01-04 15:13:45 +01:00
mtpav.c ALSA: mtpav: Use setup_timer() and mod_timer() 2015-01-19 11:32:10 +01:00
mts64.c ALSA: mts64: fix NULL pointer dereference 2016-02-29 13:23:46 +01:00
pcm-indirect2.c treewide: Fix typos in printk 2015-12-08 14:59:19 +01:00
pcm-indirect2.h [ALSA] Xilinx ML403 AC97 Controller Reference device driver 2008-01-31 17:29:15 +01:00
portman2x4.c ALSA: portman2x4: fix NULL pointer dereference 2016-03-02 16:23:24 +01:00
serial-u16550.c ALSA: Include linux/io.h instead of asm/io.h 2015-01-28 16:49:33 +01:00
virmidi.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00