summaryrefslogtreecommitdiff
path: root/sound/core/init.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2016-01-12 14:36:27 (GMT)
committerTakashi Iwai <tiwai@suse.de>2016-01-12 16:50:41 (GMT)
commit3567eb6af614dac436c4b16a8d426f9faed639b3 (patch)
tree4f2b3091ad80d3b49bd54b9951fa8743e2f6cfee /sound/core/init.c
parent030e2c78d3a91dd0d27fef37e91950dde333eba1 (diff)
downloadlinux-3567eb6af614dac436c4b16a8d426f9faed639b3.tar.xz
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 'sound/core/init.c')
0 files changed, 0 insertions, 0 deletions