================================================================== BUG: KCSAN: data-race in snd_seq_check_queue / snd_seq_control_queue write to 0xffff8880a08dd7e4 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 nf_nat_initialized include/net/netfilter/nf_nat.h:113 [inline] nf_nat_inet_fn+0x2f5/0x510 net/netfilter/nf_nat_core.c:765 nf_nat_ipv4_fn+0x92/0x140 net/netfilter/nf_nat_proto.c:647 nf_nat_ipv4_out+0x34/0x200 net/netfilter/nf_nat_proto.c:675 nf_hook_entry_hookfn include/linux/netfilter.h:135 [inline] nf_hook_slow+0x7c/0x160 net/netfilter/core.c:512 nf_hook include/linux/netfilter.h:262 [inline] NF_HOOK_COND include/linux/netfilter.h:295 [inline] ip_output+0x1f9/0x240 net/ipv4/ip_output.c:430 dst_output include/net/dst.h:435 [inline] ip_local_out+0x70/0x90 net/ipv4/ip_output.c:125 __ip_queue_xmit+0x3a6/0xa40 net/ipv4/ip_output.c:530 ip_queue_xmit+0x3e/0x50 include/net/ip.h:237 __tcp_transmit_skb+0xe0c/0x1d80 net/ipv4/tcp_output.c:1238 tcp_transmit_skb net/ipv4/tcp_output.c:1254 [inline] tcp_connect+0x1b80/0x2210 net/ipv4/tcp_output.c:3665 tcp_v4_connect+0xad6/0xc80 net/ipv4/tcp_ipv4.c:311 __inet_stream_connect+0x1bc/0x830 net/ipv4/af_inet.c:655 inet_stream_connect+0x4e/0x80 net/ipv4/af_inet.c:719 rds_tcp_conn_path_connect+0x2e1/0x5d0 net/rds/tcp_connect.c:172 rds_connect_worker+0x10b/0x1a0 net/rds/threads.c:176 process_one_work+0x424/0x930 kernel/workqueue.c:2268 worker_thread+0x9a/0x7e0 kernel/workqueue.c:2414 kthread+0x203/0x230 kernel/kthread.c:268 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352 read to 0xffff8880a08dd7e4 of 1 bytes by task 18461 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: 18461 Comm: syz-executor.4 Not tainted 5.7.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================