diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-06-18 13:32:33 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-26 15:12:43 -0400 |
commit | 9abd94862196476a80dbfc07d3f8a01418fa36d8 (patch) | |
tree | e059fc4e8d7e0b1025ebfdf3e439a88cf3969309 /net/rxrpc/ar-skbuff.c | |
parent | adbb1449ccc8c637b31d11dc0b8c3ad47228b199 (diff) |
ALSA: control: Don't access controls outside of protected regions
commit fd9f26e4eca5d08a27d12c0933fceef76ed9663d upstream.
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>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/rxrpc/ar-skbuff.c')
0 files changed, 0 insertions, 0 deletions