linux/sound/core/seq
Takashi Iwai 1f9fc89cbb ALSA: seq: Fix KCSAN data-race warning at snd_seq_fifo_poll_wait()
snd_seq_fifo_poll_wait() evaluates f->cells without locking after
poll_wait(), and KCSAN doesn't like it as it appears to be a
data-race.  Although this doesn't matter much in practice as the value
is volatile, it's still better to address it for the mind piece.

Wrap it with f->lock spinlock for avoiding the potential data race.

Reported-by: syzbot+c3dbc239259940ededba@syzkaller.appspotmail.com
Link: https://syzkaller.appspot.com/bug?extid=c3dbc239259940ededba
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2025-09-17 14:14:12 +02:00
..
oss ALSA: seq: oss/rw: Cleanup with guard 2025-08-29 11:52:36 +02:00
Kconfig
Makefile
seq.c
seq_clientmgr.c ALSA: seq: Clean up fifo locking with guard 2025-08-29 11:52:36 +02:00
seq_clientmgr.h ALSA: seq: Use auto-cleanup for client refcounting 2025-08-29 11:52:35 +02:00
seq_compat.c
seq_dummy.c
seq_fifo.c ALSA: seq: Fix KCSAN data-race warning at snd_seq_fifo_poll_wait() 2025-09-17 14:14:12 +02:00
seq_fifo.h ALSA: seq: Clean up fifo locking with guard 2025-08-29 11:52:36 +02:00
seq_info.c
seq_info.h
seq_lock.c
seq_lock.h
seq_memory.c
seq_memory.h
seq_midi.c
seq_midi_emul.c
seq_midi_event.c
seq_ports.c ALSA: seq: Clean up port locking with auto cleanup 2025-08-29 11:52:35 +02:00
seq_ports.h ALSA: seq: Clean up port locking with auto cleanup 2025-08-29 11:52:35 +02:00
seq_prioq.c
seq_prioq.h
seq_queue.c ALSA: seq: Clean up queue locking with auto cleanup 2025-08-29 11:52:35 +02:00
seq_queue.h ALSA: seq: Clean up queue locking with auto cleanup 2025-08-29 11:52:35 +02:00
seq_system.c
seq_system.h
seq_timer.c ALSA: seq: Clean up queue locking with auto cleanup 2025-08-29 11:52:35 +02:00
seq_timer.h
seq_ump_client.c
seq_ump_convert.c
seq_ump_convert.h
seq_virmidi.c