================================================================== BUG: KCSAN: data-race in snd_seq_check_queue / snd_seq_control_queue write to 0xffff8880a0c65424 of 1 bytes by interrupt on cpu 1: queue_access_unlock sound/core/seq/seq_queue.c:367 [inline] snd_seq_control_queue+0x15a/0x320 sound/core/seq/seq_queue.c:726 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+0xf3/0x210 sound/core/seq/seq_queue.c:262 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:1517 [inline] __hrtimer_run_queues+0x271/0x600 kernel/time/hrtimer.c:1579 hrtimer_interrupt+0x226/0x490 kernel/time/hrtimer.c:1641 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1119 [inline] smp_apic_timer_interrupt+0xd8/0x270 arch/x86/kernel/apic/apic.c:1144 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829 arch_local_irq_restore arch/x86/include/asm/paravirt.h:752 [inline] console_unlock+0x8ec/0xb70 kernel/printk/printk.c:2481 vprintk_emit+0x399/0x4e0 kernel/printk/printk.c:1996 vprintk_default+0x2e/0x40 kernel/printk/printk.c:2023 vprintk_func+0x81/0x13a kernel/printk/printk_safe.c:386 printk+0x69/0x91 kernel/printk/printk.c:2056 vlan_device_event.cold+0x19/0x2d net/8021q/vlan.c:384 notifier_call_chain+0xda/0x160 kernel/notifier.c:83 __raw_notifier_call_chain kernel/notifier.c:361 [inline] raw_notifier_call_chain+0x33/0x50 kernel/notifier.c:368 call_netdevice_notifiers_info net/core/dev.c:1943 [inline] call_netdevice_notifiers_info+0x96/0x110 net/core/dev.c:1928 call_netdevice_notifiers_extack net/core/dev.c:1955 [inline] call_netdevice_notifiers net/core/dev.c:1969 [inline] __dev_notify_flags+0xcf/0x200 net/core/dev.c:8193 dev_change_flags+0xaa/0xd0 net/core/dev.c:8229 do_setlink+0x626/0x1ec0 net/core/rtnetlink.c:2596 __rtnl_newlink+0x8e8/0xfb0 net/core/rtnetlink.c:3252 rtnl_newlink+0x5f/0x90 net/core/rtnetlink.c:3377 rtnetlink_rcv_msg+0x1d0/0x4e0 net/core/rtnetlink.c:5438 netlink_rcv_skb+0xaf/0x260 net/netlink/af_netlink.c:2477 rtnetlink_rcv+0x22/0x30 net/core/rtnetlink.c:5456 netlink_unicast_kernel net/netlink/af_netlink.c:1302 [inline] netlink_unicast+0x390/0x4c0 net/netlink/af_netlink.c:1328 netlink_sendmsg+0x4cf/0x8a0 net/netlink/af_netlink.c:1917 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg+0x98/0xc0 net/socket.c:672 __sys_sendto+0x1e2/0x2c0 net/socket.c:1998 __do_sys_sendto net/socket.c:2010 [inline] __se_sys_sendto net/socket.c:2006 [inline] __x64_sys_sendto+0x7e/0xa0 net/socket.c:2006 do_syscall_64+0xc7/0x390 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff8880a0c65424 of 1 bytes by task 16520 on cpu 0: snd_seq_check_queue+0x59/0x210 sound/core/seq/seq_queue.c:247 snd_seq_enqueue_event+0x15a/0x2a0 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+0x227/0x4e0 sound/core/seq/seq_clientmgr.c:1093 __vfs_write+0x58/0xb0 fs/read_write.c:494 vfs_write fs/read_write.c:558 [inline] vfs_write+0x189/0x380 fs/read_write.c:542 ksys_write+0x16a/0x1a0 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+0x49/0x60 fs/read_write.c:620 do_syscall_64+0xc7/0x390 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 16520 Comm: syz-executor.4 Not tainted 5.6.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================