linux_dsm_epyc7002/sound
Takashi Iwai bb51e669fa ALSA: seq: Avoid concurrent access to queue flags
The queue flags are represented in bit fields and the concurrent
access may result in unexpected results.  Although the current code
should be mostly OK as it's only reading a field while writing other
fields as KCSAN reported, it's safer to cover both with a proper
spinlock protection.

This patch fixes the possible concurrent read by protecting with
q->owner_lock.  Also the queue owner field is protected as well since
it's the field to be protected by the lock itself.

Reported-by: syzbot+65c6c92d04304d0a8efc@syzkaller.appspotmail.com
Reported-by: syzbot+e60ddfa48717579799dd@syzkaller.appspotmail.com
Link: https://lore.kernel.org/r/20200214111316.26939-2-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2020-02-14 15:52:59 +01:00
..
ac97
aoa
arm
atmel
core ALSA: seq: Avoid concurrent access to queue flags 2020-02-14 15:52:59 +01:00
drivers
firewire
hda
i2c
isa
mips
oss
parisc
pci ALSA: hda/realtek - Fix silent output on MSI-GL73 2020-02-12 09:11:19 +01:00
pcmcia
ppc
sh
soc
sparc
spi
synth
usb ALSA: usb-audio: Add clock validity quirk for Denon MC7000/MCX8000 2020-02-13 07:18:58 +01:00
x86
xen
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c