aboutsummaryrefslogtreecommitdiff
path: root/kernel/mutex-debug.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2017-03-24 17:07:57 +0100
committerMister Oyster <oysterized@gmail.com>2017-07-04 11:51:08 +0200
commit2e4bc6ff3d792d0dbac771f04fb95f023de2eae2 (patch)
tree72779f45d4125009d67e7ed391d6139b3d43f3ee /kernel/mutex-debug.c
parent83e139965c25139f2c85f701788d13d89972694e (diff)
ALSA: seq: Fix race during FIFO resize
commit 2d7d54002e396c180db0c800c1046f0a3c471597 upstream. When a new event is queued while processing to resize the FIFO in snd_seq_fifo_clear(), it may lead to a use-after-free, as the old pool that is being queued gets removed. For avoiding this race, we need to close the pool to be deleted and sync its usage before actually deleting it. The issue was spotted by syzkaller. Reported-by: Dmitry Vyukov <dvyukov@google.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'kernel/mutex-debug.c')
0 files changed, 0 insertions, 0 deletions