==================================================================
BUG: KCSAN: data-race in __snd_rawmidi_transmit_ack / snd_rawmidi_write

write to 0xffff8880ba751638 of 8 bytes by task 2502 on cpu 1:
 __snd_rawmidi_transmit_ack+0xcf/0x1b0 sound/core/rawmidi.c:1160
 snd_rawmidi_transmit+0x9a/0xd0 sound/core/rawmidi.c:1219
 snd_vmidi_output_work+0xb3/0x200 sound/core/seq/seq_virmidi.c:143
 process_one_work+0x40b/0x8d0 kernel/workqueue.c:2264
 worker_thread+0xa0/0x800 kernel/workqueue.c:2410
 kthread+0x1d4/0x200 drivers/block/aoe/aoecmd.c:1253
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352

read to 0xffff8880ba751638 of 8 bytes by task 2994 on cpu 0:
 snd_rawmidi_write+0x5fb/0x780 sound/core/rawmidi.c:1350
 __vfs_write+0x67/0xc0 fs/read_write.c:494
 vfs_write fs/read_write.c:558 [inline]
 vfs_write+0x18a/0x390 fs/read_write.c:542
 ksys_write+0x17b/0x1b0 fs/read_write.c:611
 __do_sys_write fs/read_write.c:623 [inline]
 __se_sys_write fs/read_write.c:620 [inline]
 __x64_sys_write+0x4c/0x60 fs/read_write.c:620
 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 2994 Comm: syz-executor.2 Not tainted 5.5.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================