================================================================== BUG: KCSAN: data-race in snd_seq_check_queue / snd_seq_control_queue write to 0xffff888095e362a4 of 1 bytes by interrupt on cpu 0: queue_access_unlock sound/core/seq/seq_queue.c:370 [inline] snd_seq_control_queue+0x15a/0x320 sound/core/seq/seq_queue.c:734 event_input_timer+0x29/0x40 sound/core/seq/seq_system.c:103 snd_seq_deliver_single_event.constprop.0+0x403/0x500 sound/core/seq/seq_clientmgr.c:638 snd_seq_deliver_event+0x2eb/0x4b0 sound/core/seq/seq_clientmgr.c:839 snd_seq_dispatch_event+0x9d/0x300 sound/core/seq/seq_clientmgr.c:913 snd_seq_check_queue+0xf1/0x250 sound/core/seq/seq_queue.c:264 snd_seq_timer_interrupt+0x222/0x260 sound/core/seq/seq_timer.c:158 snd_timer_process_callbacks+0x1eb/0x230 sound/core/timer.c:796 snd_timer_interrupt sound/core/timer.c:919 [inline] snd_timer_interrupt+0x488/0x950 sound/core/timer.c:840 snd_hrtimer_callback+0x188/0x250 sound/core/hrtimer.c:50 __run_hrtimer kernel/time/hrtimer.c:1520 [inline] __hrtimer_run_queues+0x271/0x600 kernel/time/hrtimer.c:1584 hrtimer_interrupt+0x226/0x490 kernel/time/hrtimer.c:1646 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1113 [inline] smp_apic_timer_interrupt+0xd8/0x270 arch/x86/kernel/apic/apic.c:1138 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829 get_current arch/x86/include/asm/current.h:15 [inline] __sanitizer_cov_trace_pc+0x9/0x50 kernel/kcov.c:186 native_local_ptep_get_and_clear arch/x86/include/asm/pgtable.h:1099 [inline] ptep_get_and_clear_full arch/x86/include/asm/pgtable.h:1181 [inline] zap_pte_range mm/memory.c:1076 [inline] zap_pmd_range mm/memory.c:1196 [inline] zap_pud_range mm/memory.c:1225 [inline] zap_p4d_range mm/memory.c:1246 [inline] unmap_page_range+0x11f6/0x18c0 mm/memory.c:1267 unmap_single_vma+0x13c/0x1f0 mm/memory.c:1312 unmap_vmas+0xe2/0x1b0 mm/memory.c:1344 exit_mmap+0x13e/0x2f0 mm/mmap.c:3150 __mmput kernel/fork.c:1085 [inline] mmput+0xe2/0x260 kernel/fork.c:1106 exec_mmap fs/exec.c:1089 [inline] flush_old_exec+0x651/0x1020 fs/exec.c:1324 load_elf_binary+0x5bb/0x2b10 fs/binfmt_elf.c:847 search_binary_handler fs/exec.c:1718 [inline] search_binary_handler+0x11c/0x3f0 fs/exec.c:1695 exec_binprm fs/exec.c:1761 [inline] __do_execve_file.isra.0+0xb53/0x1120 fs/exec.c:1881 do_execveat_common fs/exec.c:1927 [inline] do_execve fs/exec.c:1944 [inline] __do_sys_execve fs/exec.c:2020 [inline] __se_sys_execve fs/exec.c:2015 [inline] __x64_sys_execve+0x5e/0x70 fs/exec.c:2015 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff888095e362a4 of 1 bytes by task 29600 on cpu 1: snd_seq_check_queue+0x67/0x250 sound/core/seq/seq_queue.c:249 snd_seq_enqueue_event+0x15a/0x2a0 sound/core/seq/seq_queue.c:333 snd_seq_client_enqueue_event.constprop.0+0x187/0x2a0 sound/core/seq/seq_clientmgr.c:974 snd_seq_write+0x227/0x4e0 sound/core/seq/seq_clientmgr.c:1093 __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: 29600 Comm: syz-executor.0 Not tainted 5.7.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================