================================================================== BUG: KCSAN: data-race in __snd_rawmidi_transmit_ack / snd_rawmidi_write write to 0xffff888017adce78 of 8 bytes by task 2518 on cpu 0: __snd_rawmidi_transmit_ack+0xcc/0x1c0 sound/core/rawmidi.c:1234 snd_rawmidi_transmit+0x8c/0xc0 sound/core/rawmidi.c:1293 snd_vmidi_output_work+0xaf/0x1f0 sound/core/seq/seq_virmidi.c:144 process_one_work+0x424/0x930 kernel/workqueue.c:2268 worker_thread+0x9a/0x7e0 kernel/workqueue.c:2414 kthread+0x203/0x230 kernel/kthread.c:268 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352 read to 0xffff888017adce78 of 8 bytes by task 29483 on cpu 1: snd_rawmidi_write+0x5c7/0x730 sound/core/rawmidi.c:1424 __vfs_write+0x58/0xb0 fs/read_write.c:495 vfs_write fs/read_write.c:559 [inline] vfs_write+0x189/0x380 fs/read_write.c:543 ksys_write+0x16a/0x1a0 fs/read_write.c:612 __do_sys_write fs/read_write.c:624 [inline] __se_sys_write fs/read_write.c:621 [inline] __x64_sys_write+0x49/0x60 fs/read_write.c:621 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 29483 Comm: syz-executor.2 Not tainted 5.7.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================