================================================================== BUG: KCSAN: data-race in __snd_rawmidi_transmit_ack / snd_rawmidi_write write to 0xffff8880a2fca278 of 8 bytes by task 3443 on cpu 1: __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 0xffff8880a2fca278 of 8 bytes by task 14037 on cpu 0: snd_rawmidi_write+0x30a/0x730 sound/core/rawmidi.c:1452 __vfs_write+0x58/0xb0 fs/read_write.c:495 __kernel_write+0xb0/0x230 fs/read_write.c:516 write_pipe_buf+0xad/0xe0 fs/splice.c:809 splice_from_pipe_feed fs/splice.c:512 [inline] __splice_from_pipe+0x298/0x4a0 fs/splice.c:636 splice_from_pipe+0xc2/0x100 fs/splice.c:671 default_file_splice_write+0x41/0x90 fs/splice.c:821 do_splice_from fs/splice.c:863 [inline] direct_splice_actor+0x97/0xb0 fs/splice.c:1037 splice_direct_to_actor+0x22f/0x540 fs/splice.c:992 do_splice_direct+0x152/0x1d0 fs/splice.c:1080 do_sendfile+0x380/0x800 fs/read_write.c:1521 __do_sys_sendfile64 fs/read_write.c:1582 [inline] __se_sys_sendfile64 fs/read_write.c:1568 [inline] __x64_sys_sendfile64+0x121/0x140 fs/read_write.c:1568 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: 0 PID: 14037 Comm: syz-executor.4 Not tainted 5.7.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================