================================================================== BUG: KCSAN: data-race in queue_access_lock / snd_seq_check_queue write to 0xffff88812103fde4 of 1 bytes by task 8290 on cpu 1: queue_access_lock+0x89/0xc0 sound/core/seq/seq_queue.c:356 snd_seq_control_queue+0x77/0x350 sound/core/seq/seq_queue.c:719 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/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 write to 0xffff88812103fde4 of 1 bytes by interrupt on cpu 0: snd_seq_check_queue+0xfb/0x200 sound/core/seq/seq_queue.c:248 snd_seq_timer_interrupt+0x243/0x280 sound/core/seq/seq_timer.c:158 snd_timer_process_callbacks+0x1e4/0x220 sound/core/timer.c:757 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 find_watchpoint kernel/kcsan/core.c:67 [inline] check_access kernel/kcsan/core.c:388 [inline] __tsan_read8+0x57/0x1f0 kernel/kcsan/core.c:530 cfg80211_netdev_notifier_call+0x3f/0xbc7 net/wireless/core.c:1256 notifier_call_chain+0xd7/0x160 kernel/notifier.c:95 __raw_notifier_call_chain kernel/notifier.c:396 [inline] raw_notifier_call_chain+0x37/0x50 kernel/notifier.c:403 call_netdevice_notifiers_info+0x48/0xc0 net/core/dev.c:1668 call_netdevice_notifiers_extack net/core/dev.c:1680 [inline] __dev_open+0xbc/0x2a0 net/core/dev.c:1313 __dev_change_flags+0x37f/0x4c0 net/core/dev.c:7882 dev_change_flags+0x6c/0xe0 net/core/dev.c:7953 do_setlink+0x626/0x1e30 net/core/rtnetlink.c:2498 __rtnl_newlink+0x93e/0x1010 net/core/rtnetlink.c:3130 rtnl_newlink+0x63/0x90 net/core/rtnetlink.c:3255 rtnetlink_rcv_msg+0x1d3/0x500 net/core/rtnetlink.c:5224 netlink_rcv_skb+0xb0/0x260 net/netlink/af_netlink.c:2477 rtnetlink_rcv+0x26/0x30 net/core/rtnetlink.c:5242 netlink_unicast_kernel net/netlink/af_netlink.c:1302 [inline] netlink_unicast+0x354/0x430 net/netlink/af_netlink.c:1328 netlink_sendmsg+0x456/0x770 net/netlink/af_netlink.c:1917 sock_sendmsg_nosec net/socket.c:637 [inline] sock_sendmsg+0x9f/0xc0 net/socket.c:657 __sys_sendto+0x21f/0x320 net/socket.c:1952 __do_sys_sendto net/socket.c:1964 [inline] __se_sys_sendto net/socket.c:1960 [inline] __x64_sys_sendto+0x89/0xb0 net/socket.c:1960 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 8122 Comm: syz-executor.4 Not tainted 5.4.0-rc6+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================