================================================================== BUG: KCSAN: data-race in snd_timer_pause / snd_timer_process_callbacks write to 0xffff8881020c3410 of 4 bytes by interrupt on cpu 1: snd_timer_process_callbacks+0x209/0x220 sound/core/timer.c:759 snd_timer_interrupt sound/core/timer.c:880 [inline] snd_timer_interrupt+0x483/0x930 sound/core/timer.c:801 snd_hrtimer_callback+0x18f/0x260 sound/core/hrtimer.c:50 __run_hrtimer kernel/time/hrtimer.c:1514 [inline] __hrtimer_run_queues+0x274/0x5f0 kernel/time/hrtimer.c:1576 hrtimer_interrupt+0x22a/0x480 kernel/time/hrtimer.c:1638 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:830 __read_once_size include/linux/compiler.h:229 [inline] __sanitizer_cov_trace_pc+0x3b/0x50 kernel/kcov.c:107 tomoyo_domain_quota_is_ok+0x247/0x2b0 security/tomoyo/util.c:1068 tomoyo_supervisor+0x22b/0xd20 security/tomoyo/common.c:2087 tomoyo_audit_path_log security/tomoyo/file.c:168 [inline] tomoyo_path_permission security/tomoyo/file.c:587 [inline] tomoyo_path_permission+0x121/0x160 security/tomoyo/file.c:573 tomoyo_check_open_permission+0x2fd/0x320 security/tomoyo/file.c:777 tomoyo_file_open security/tomoyo/tomoyo.c:319 [inline] tomoyo_file_open+0x75/0x90 security/tomoyo/tomoyo.c:314 security_file_open+0x69/0x210 security/security.c:1497 do_dentry_open+0x211/0x970 fs/open.c:784 vfs_open+0x62/0x80 fs/open.c:914 do_last fs/namei.c:3408 [inline] path_openat+0xf73/0x36e0 fs/namei.c:3525 do_filp_open+0x11e/0x1b0 fs/namei.c:3555 do_sys_open+0x3b3/0x4f0 fs/open.c:1097 __do_sys_openat fs/open.c:1124 [inline] __se_sys_openat fs/open.c:1118 [inline] __x64_sys_openat+0x62/0x80 fs/open.c:1118 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff8881020c3410 of 4 bytes by task 11126 on cpu 0: snd_timer_pause+0x22/0x70 sound/core/timer.c:696 seq_timer_stop sound/core/seq/seq_timer.c:325 [inline] snd_seq_timer_stop+0x88/0xc0 sound/core/seq/seq_timer.c:335 snd_seq_queue_process_event sound/core/seq/seq_queue.c:673 [inline] snd_seq_control_queue+0x24f/0x350 sound/core/seq/seq_queue.c:724 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_kernel_client_dispatch+0xef/0x110 sound/core/seq/seq_clientmgr.c:2323 send_timer_event.isra.0+0xbf/0xf0 sound/core/seq/oss/seq_oss_timer.c:140 snd_seq_oss_timer_stop.part.0+0x35/0x50 sound/core/seq/oss/seq_oss_timer.c:176 snd_seq_oss_timer_stop+0x41/0x60 sound/core/seq/oss/seq_oss_timer.c:174 snd_seq_oss_reset+0x15b/0x170 sound/core/seq/oss/seq_oss_init.c:450 snd_seq_oss_release+0x6e/0xf0 sound/core/seq/oss/seq_oss_init.c:412 odev_release+0x49/0x70 sound/core/seq/oss/seq_oss.c:140 __fput+0x1e1/0x520 fs/file_table.c:280 ____fput+0x1f/0x30 fs/file_table.c:313 task_work_run+0xf6/0x130 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x2b4/0x2c0 arch/x86/entry/common.c:163 prepare_exit_to_usermode arch/x86/entry/common.c:194 [inline] syscall_return_slowpath arch/x86/entry/common.c:274 [inline] do_syscall_64+0x353/0x370 arch/x86/entry/common.c:300 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 11126 Comm: syz-executor.1 Not tainted 5.4.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================