================================================================== BUG: KCSAN: data-race in snd_seq_timer_get_cur_tick / snd_seq_timer_interrupt read to 0xffff88809e169a98 of 4 bytes by task 2500 on cpu 0: snd_seq_timer_get_cur_tick+0x21/0x40 sound/core/seq/seq_timer.c:455 update_timestamp_of_queue+0x93/0x110 sound/core/seq/seq_clientmgr.c:586 deliver_to_subscribers sound/core/seq/seq_clientmgr.c:691 [inline] snd_seq_deliver_event+0x2cd/0x4c0 sound/core/seq/seq_clientmgr.c:828 snd_seq_kernel_client_dispatch+0xef/0x110 sound/core/seq/seq_clientmgr.c:2323 snd_vmidi_output_work+0x156/0x200 sound/core/seq/seq_virmidi.c:149 process_one_work+0x3d4/0x890 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 write to 0xffff88809e169a98 of 4 bytes by interrupt on cpu 1: snd_seq_timer_update_tick sound/core/seq/seq_timer.h:58 [inline] snd_seq_timer_interrupt+0x202/0x280 sound/core/seq/seq_timer.c:150 snd_timer_process_callbacks+0x1e4/0x220 sound/core/timer.c:750 snd_timer_interrupt sound/core/timer.c:873 [inline] snd_timer_interrupt+0x483/0x930 sound/core/timer.c:794 snd_hrtimer_callback+0x18f/0x260 sound/core/hrtimer.c:50 __run_hrtimer kernel/time/hrtimer.c:1517 [inline] __hrtimer_run_queues+0x274/0x5f0 kernel/time/hrtimer.c:1579 hrtimer_interrupt+0x22a/0x480 kernel/time/hrtimer.c:1641 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1110 [inline] smp_apic_timer_interrupt+0xdc/0x280 arch/x86/kernel/apic/apic.c:1135 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829 arch_local_irq_restore arch/x86/include/asm/paravirt.h:752 [inline] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] _raw_spin_unlock_irqrestore+0x51/0x80 kernel/locking/spinlock.c:191 spin_unlock_irqrestore include/linux/spinlock.h:393 [inline] snd_seq_oss_readq_put_event+0x164/0x170 sound/core/seq/oss/seq_oss_readq.c:147 snd_seq_oss_readq_puts+0x97/0xf0 sound/core/seq/oss/seq_oss_readq.c:100 send_midi_event sound/core/seq/oss/seq_oss_midi.c:608 [inline] snd_seq_oss_midi_input+0x1d0/0x4c0 sound/core/seq/oss/seq_oss_midi.c:524 snd_seq_oss_event_input+0xf9/0x140 sound/core/seq/oss/seq_oss_event.c:429 snd_seq_deliver_single_event.constprop.0+0x3e8/0x4d0 sound/core/seq/seq_clientmgr.c:638 deliver_to_subscribers sound/core/seq/seq_clientmgr.c:693 [inline] snd_seq_deliver_event+0x1bc/0x4c0 sound/core/seq/seq_clientmgr.c:828 snd_seq_kernel_client_dispatch+0xef/0x110 sound/core/seq/seq_clientmgr.c:2323 snd_vmidi_output_work+0x156/0x200 sound/core/seq/seq_virmidi.c:149 process_one_work+0x3d4/0x890 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 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 2499 Comm: kworker/1:1H Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_highpri snd_vmidi_output_work ==================================================================