syzbot


KCSAN: data-race in snd_seq_oss_readq_put_timestamp / snd_seq_oss_readq_put_timestamp (2)

Status: auto-closed as invalid on 2020/10/27 20:18
Subsystems: sound
[Documentation on labels]
First crash: 1377d, last: 1320d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in snd_seq_oss_readq_put_timestamp / snd_seq_oss_readq_put_timestamp sound 1 1478d 1478d 0/26 auto-closed as invalid on 2020/06/18 13:13
upstream KCSAN: data-race in snd_seq_oss_readq_put_timestamp / snd_seq_oss_readq_put_timestamp (3) sound 7 1124d 1212d 0/26 auto-closed as invalid on 2021/05/17 09:01

Sample crash report:
==================================================================
BUG: KCSAN: data-race in snd_seq_oss_readq_put_timestamp / snd_seq_oss_readq_put_timestamp

write to 0xffff88811ec5a0a0 of 8 bytes by task 3257 on cpu 1:
 snd_seq_oss_readq_put_timestamp+0x2a0/0x2c0 sound/core/seq/oss/seq_oss_readq.c:233
 send_midi_event sound/core/seq/oss/seq_oss_midi.c:600 [inline]
 snd_seq_oss_midi_input+0x29f/0x500 sound/core/seq/oss/seq_oss_midi.c:524
 snd_seq_oss_event_input+0xbc/0x100 sound/core/seq/oss/seq_oss_event.c:429
 snd_seq_deliver_single_event+0x31b/0x4f0 sound/core/seq/seq_clientmgr.c:638
 deliver_to_subscribers sound/core/seq/seq_clientmgr.c:693 [inline]
 snd_seq_deliver_event+0x392/0x4a0 sound/core/seq/seq_clientmgr.c:828
 snd_seq_kernel_client_dispatch+0x16f/0x190 sound/core/seq/seq_clientmgr.c:2323
 snd_vmidi_output_work+0x16d/0x200 sound/core/seq/seq_virmidi.c:150
 process_one_work+0x3e1/0x9a0 kernel/workqueue.c:2269
 worker_thread+0x665/0xbe0 kernel/workqueue.c:2415
 kthread+0x20d/0x230 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294

read to 0xffff88811ec5a0a0 of 8 bytes by task 3256 on cpu 0:
 snd_seq_oss_readq_put_timestamp+0x28/0x2c0 sound/core/seq/oss/seq_oss_readq.c:218
 send_midi_event sound/core/seq/oss/seq_oss_midi.c:600 [inline]
 snd_seq_oss_midi_input+0x29f/0x500 sound/core/seq/oss/seq_oss_midi.c:524
 snd_seq_oss_event_input+0xbc/0x100 sound/core/seq/oss/seq_oss_event.c:429
 snd_seq_deliver_single_event+0x31b/0x4f0 sound/core/seq/seq_clientmgr.c:638
 deliver_to_subscribers sound/core/seq/seq_clientmgr.c:693 [inline]
 snd_seq_deliver_event+0x392/0x4a0 sound/core/seq/seq_clientmgr.c:828
 snd_seq_kernel_client_dispatch+0x16f/0x190 sound/core/seq/seq_clientmgr.c:2323
 snd_vmidi_output_work+0x16d/0x200 sound/core/seq/seq_virmidi.c:150
 process_one_work+0x3e1/0x9a0 kernel/workqueue.c:2269
 worker_thread+0x665/0xbe0 kernel/workqueue.c:2415
 kthread+0x20d/0x230 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 3256 Comm: kworker/0:1H Not tainted 5.9.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_highpri snd_vmidi_output_work
==================================================================

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/09/22 20:18 upstream eff48ddeab78 3e8f6c27 .config console log report info ci2-upstream-kcsan-gce
2020/09/17 14:42 upstream 5925fa68fe82 8247808b .config console log report info ci2-upstream-kcsan-gce
2020/09/07 21:20 upstream f4d51dffc6c0 abf9ba4f .config console log report ci2-upstream-kcsan-gce
2020/08/16 18:29 upstream 4b6c093e21d3 5ce13532 .config console log report ci2-upstream-kcsan-gce
2020/07/28 05:21 upstream 92ed30191993 cb93dc6a .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.