diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-06-18 13:32:33 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-06-18 15:13:07 +0200 |
commit | fd9f26e4eca5d08a27d12c0933fceef76ed9663d (patch) | |
tree | 1b68c534f868ec086cf78e864888c99bdb70f5b5 /ipc/namespace.c | |
parent | 82262a46627bebb0febcc26664746c25cef08563 (diff) | |
download | op-kernel-dev-fd9f26e4eca5d08a27d12c0933fceef76ed9663d.zip op-kernel-dev-fd9f26e4eca5d08a27d12c0933fceef76ed9663d.tar.gz |
ALSA: control: Don't access controls outside of protected regions
A control that is visible on the card->controls list can be freed at any time.
This means we must not access any of its memory while not holding the
controls_rw_lock. Otherwise we risk a use after free access.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Jaroslav Kysela <perex@perex.cz>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'ipc/namespace.c')
0 files changed, 0 insertions, 0 deletions