summaryrefslogtreecommitdiffstats
path: root/sound/core
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2018-04-30 10:06:48 +0200
committerTakashi Iwai <tiwai@suse.de>2018-04-30 10:06:48 +0200
commit76b3421b39bd610546931fc923edcf90c18fa395 (patch)
treef27e1ca71c7053ccd68c6ec44163410a6b8ed6a9 /sound/core
parent52759c0963510a2843774aac9b65ccaed3308dc0 (diff)
downloadop-kernel-dev-76b3421b39bd610546931fc923edcf90c18fa395.zip
op-kernel-dev-76b3421b39bd610546931fc923edcf90c18fa395.tar.gz
ALSA: aloop: Add missing cable lock to ctl API callbacks
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>
Diffstat (limited to 'sound/core')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud