aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/hdac_hdmi.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2017-03-24 17:07:57 +0100
committerTakashi Iwai <tiwai@suse.de>2017-03-24 17:11:00 +0100
commit2d7d54002e396c180db0c800c1046f0a3c471597 (patch)
tree69d989dd2752c6a076e74d3d2431aaf2129ebe53 /sound/soc/codecs/hdac_hdmi.c
parentALSA: hda - Adding a group of pin definition to fix headset problem (diff)
downloadlinux-dev-2d7d54002e396c180db0c800c1046f0a3c471597.tar.xz
linux-dev-2d7d54002e396c180db0c800c1046f0a3c471597.zip
ALSA: seq: Fix race during FIFO resize
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> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/codecs/hdac_hdmi.c')
0 files changed, 0 insertions, 0 deletions