================================================================== BUG: KCSAN: data-race in do_sys_poll / pollwake write to 0xffffc9000118fbd0 of 4 bytes by interrupt on cpu 0: __pollwake fs/select.c:198 [inline] pollwake+0xbe/0x110 fs/select.c:218 __wake_up_common kernel/sched/wait.c:89 [inline] __wake_up_common_lock kernel/sched/wait.c:106 [inline] __wake_up_sync_key+0x51/0x80 kernel/sched/wait.c:173 sock_def_readable+0x70/0x1b0 net/core/sock.c:3354 tcp_data_ready+0x1ad/0x290 net/ipv4/tcp_input.c:5143 tcp_data_queue+0x11d4/0x2d80 net/ipv4/tcp_input.c:5223 tcp_rcv_established+0x900/0xef0 net/ipv4/tcp_input.c:6170 tcp_v4_do_rcv+0x598/0x680 net/ipv4/tcp_ipv4.c:1906 tcp_v4_rcv+0x1b69/0x1de0 net/ipv4/tcp_ipv4.c:2332 ip_protocol_deliver_rcu+0x36d/0x710 net/ipv4/ip_input.c:205 ip_local_deliver_finish+0x17c/0x210 net/ipv4/ip_input.c:233 NF_HOOK include/linux/netfilter.h:314 [inline] ip_local_deliver+0xec/0x1d0 net/ipv4/ip_input.c:254 dst_input include/net/dst.h:460 [inline] ip_sublist_rcv_finish net/ipv4/ip_input.c:580 [inline] ip_list_rcv_finish net/ipv4/ip_input.c:631 [inline] ip_sublist_rcv+0x55a/0x640 net/ipv4/ip_input.c:639 ip_list_rcv+0x25e/0x290 net/ipv4/ip_input.c:674 __netif_receive_skb_list_ptype net/core/dev.c:5581 [inline] __netif_receive_skb_list_core+0x4f0/0x520 net/core/dev.c:5629 __netif_receive_skb_list net/core/dev.c:5681 [inline] netif_receive_skb_list_internal+0x4e4/0x660 net/core/dev.c:5773 gro_normal_list include/net/gro.h:438 [inline] napi_complete_done+0x1cb/0x450 net/core/dev.c:6113 virtqueue_napi_complete drivers/net/virtio_net.c:515 [inline] virtnet_poll+0x870/0xca0 drivers/net/virtio_net.c:2227 __napi_poll+0x63/0x3c0 net/core/dev.c:6632 napi_poll net/core/dev.c:6701 [inline] net_rx_action+0x324/0x720 net/core/dev.c:6816 __do_softirq+0xc8/0x285 kernel/softirq.c:554 invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu kernel/softirq.c:633 [inline] irq_exit_rcu+0x3c/0x90 kernel/softirq.c:645 common_interrupt+0x81/0x90 arch/x86/kernel/irq.c:247 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:693 dup_mmap kernel/fork.c:745 [inline] dup_mm kernel/fork.c:1687 [inline] copy_mm+0x8fa/0x1070 kernel/fork.c:1736 copy_process+0xee1/0x1f80 kernel/fork.c:2389 kernel_clone+0x16a/0x570 kernel/fork.c:2796 __do_sys_clone kernel/fork.c:2939 [inline] __se_sys_clone kernel/fork.c:2923 [inline] __x64_sys_clone+0xe8/0x120 kernel/fork.c:2923 x64_sys_call+0x23cb/0x2d30 arch/x86/include/generated/asm/syscalls_64.h:57 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffffc9000118fbd0 of 4 bytes by task 3073 on cpu 1: poll_schedule_timeout fs/select.c:243 [inline] do_poll fs/select.c:965 [inline] do_sys_poll+0x9b4/0xc10 fs/select.c:1016 __do_sys_ppoll fs/select.c:1122 [inline] __se_sys_ppoll+0x1af/0x1f0 fs/select.c:1102 __x64_sys_ppoll+0x67/0x80 fs/select.c:1102 x64_sys_call+0x2c71/0x2d30 arch/x86/include/generated/asm/syscalls_64.h:272 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x00000000 -> 0x00000001 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 3073 Comm: sshd Not tainted 6.9.0-rc3-syzkaller-00286-g5939d45155bb #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 ==================================================================