diff options
| author | Takashi Iwai <tiwai@suse.de> | 2018-04-30 10:06:48 +0200 |
|---|---|---|
| committer | Sasha Levin <alexander.levin@microsoft.com> | 2018-05-22 21:36:39 -0400 |
| commit | c9347b74016cf5390ba00ab67db85b96b6b277df (patch) | |
| tree | 0f7beb5532d8acd87ffd6dfd19a7fc742a05e4c0 /scripts/basic/split-include.c | |
| parent | e36ac3498fdb362ca74880f02694cb8fddcde2c2 (diff) | |
ALSA: aloop: Add missing cable lock to ctl API callbacks
[ Upstream commit 76b3421b39bd610546931fc923edcf90c18fa395 ]
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: Sasha Levin <alexander.levin@microsoft.com>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions
