aboutsummaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorTakashi Iwai2016-01-12 15:36:27 +0100
committerTakashi Iwai2016-01-12 17:50:41 +0100
commit3567eb6af614dac436c4b16a8d426f9faed639b3 (patch)
tree4f2b3091ad80d3b49bd54b9951fa8743e2f6cfee /include/sound
parent030e2c78d3a91dd0d27fef37e91950dde333eba1 (diff)
ALSA: seq: Fix race at timer setup and close
ALSA sequencer code has an open race between the timer setup ioctl and the close of the client. This was triggered by syzkaller fuzzer, and a use-after-free was caught there as a result. This patch papers over it by adding a proper queue->timer_mutex lock around the timer-related calls in the relevant code path. Reported-by: Dmitry Vyukov <dvyukov@google.com> Tested-by: Dmitry Vyukov <dvyukov@google.com> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions