==================================================================
BUG: KCSAN: data-race in snd_seq_check_queue / snd_seq_control_queue

read to 0xffff8880b6db62a4 of 1 bytes by interrupt on cpu 1:
 snd_seq_check_queue+0x59/0x200 sound/core/seq/seq_queue.c:247
 snd_seq_timer_interrupt+0x243/0x280 sound/core/seq/seq_timer.c:158
 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]
 kcsan_setup_watchpoint+0x1d4/0x460 kernel/kcsan/core.c:429
 check_access kernel/kcsan/core.c:459 [inline]
 __tsan_read8+0xc6/0x100 kernel/kcsan/core.c:589
 pte_val arch/x86/include/asm/paravirt.h:378 [inline]
 pte_pfn arch/x86/include/asm/pgtable.h:213 [inline]
 vm_normal_page+0x30/0x220 mm/memory.c:595
 copy_one_pte mm/memory.c:788 [inline]
 copy_pte_range mm/memory.c:841 [inline]
 copy_pmd_range mm/memory.c:892 [inline]
 copy_pud_range mm/memory.c:926 [inline]
 copy_p4d_range mm/memory.c:948 [inline]
 copy_page_range+0xab2/0x19b0 mm/memory.c:1010
 dup_mmap kernel/fork.c:604 [inline]
 dup_mm+0x74a/0xba0 kernel/fork.c:1360
 copy_mm kernel/fork.c:1416 [inline]
 copy_process+0x3138/0x3c40 kernel/fork.c:2072
 _do_fork+0xfe/0x7a0 kernel/fork.c:2421
 __do_sys_clone kernel/fork.c:2576 [inline]
 __se_sys_clone kernel/fork.c:2557 [inline]
 __x64_sys_clone+0x130/0x170 kernel/fork.c:2557
 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

write to 0xffff8880b6db62a4 of 1 bytes by task 23697 on cpu 0:
 queue_access_unlock sound/core/seq/seq_queue.c:367 [inline]
 snd_seq_control_queue+0x167/0x350 sound/core/seq/seq_queue.c:726
 event_input_timer+0x2f/0x50 sound/core/seq/seq_system.c:103
 snd_seq_deliver_single_event.constprop.0+0x3e8/0x4d0 sound/core/seq/seq_clientmgr.c:638
 snd_seq_deliver_event+0x2e9/0x4c0 sound/core/seq/seq_clientmgr.c:839
 snd_seq_dispatch_event+0xa1/0x340 sound/core/seq/seq_clientmgr.c:913
 snd_seq_check_queue+0xeb/0x200 sound/core/seq/seq_queue.c:262
 snd_seq_enqueue_event+0x163/0x2b0 sound/core/seq/seq_queue.c:330
 snd_seq_client_enqueue_event.constprop.0+0x187/0x2a0 sound/core/seq/seq_clientmgr.c:974
 snd_seq_write+0x23f/0x4d0 sound/core/seq/seq_clientmgr.c:1093
 __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: 23697 Comm: syz-executor.3 Not tainted 5.5.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================