android_kernel_samsung_univ.../sound/drivers
Takashi Iwai f1a41d44f1 ALSA: aloop: Add missing cable lock to ctl API callbacks
commit 76b3421b39bd610546931fc923edcf90c18fa395 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-16 10:06:47 +02:00
..
mpu401
opl3 ALSA: opl3: Hardening for potential Spectre v1 2018-05-02 07:53:41 -07:00
opl4
pcsp
vx ALSA: vx: Fix possible transfer overflow 2017-11-21 09:21:20 +01:00
aloop.c ALSA: aloop: Add missing cable lock to ctl API callbacks 2018-05-16 10:06:47 +02:00
dummy.c ALSA: dummy: Fix a use-after-free at closing 2016-07-27 09:47:37 -07:00
Kconfig
Makefile
ml403-ac97cr.c
mtpav.c
mts64.c
pcm-indirect2.c
pcm-indirect2.h
portman2x4.c
serial-u16550.c
virmidi.c