================================================================== BUG: KCSAN: data-race in pollwake / pollwake write to 0xffffc90000343a40 of 4 bytes by interrupt on cpu 0: __pollwake fs/select.c:197 [inline] pollwake+0xb9/0x110 fs/select.c:217 __wake_up_common+0xbc/0x130 kernel/sched/wait.c:108 __wake_up_common_lock kernel/sched/wait.c:138 [inline] __wake_up_sync_key+0x93/0xd0 kernel/sched/wait.c:205 sock_def_readable+0x5c/0xd0 net/core/sock.c:3054 tcp_data_ready+0x19e/0x280 net/ipv4/tcp_input.c:4970 tcp_data_queue+0x1a48/0x2f10 net/ipv4/tcp_input.c:5040 tcp_rcv_established+0x851/0x1320 net/ipv4/tcp_input.c:5928 tcp_v4_do_rcv+0x261/0x4f0 net/ipv4/tcp_ipv4.c:1694 tcp_v4_rcv+0x1fe4/0x25d0 net/ipv4/tcp_ipv4.c:2087 ip_protocol_deliver_rcu+0x291/0x520 net/ipv4/ip_input.c:204 ip_local_deliver_finish net/ipv4/ip_input.c:231 [inline] NF_HOOK include/linux/netfilter.h:307 [inline] ip_local_deliver+0x1d1/0x290 net/ipv4/ip_input.c:252 dst_input include/net/dst.h:460 [inline] ip_sublist_rcv_finish net/ipv4/ip_input.c:551 [inline] ip_list_rcv_finish net/ipv4/ip_input.c:601 [inline] ip_sublist_rcv+0x3f4/0x4b0 net/ipv4/ip_input.c:609 ip_list_rcv+0x262/0x290 net/ipv4/ip_input.c:644 __netif_receive_skb_list_ptype net/core/dev.c:5479 [inline] __netif_receive_skb_list_core+0x35b/0x460 net/core/dev.c:5527 __netif_receive_skb_list+0x29a/0x310 net/core/dev.c:5579 netif_receive_skb_list_internal+0xde/0x340 net/core/dev.c:5670 gro_normal_list net/core/dev.c:5824 [inline] napi_complete_done+0x1b2/0x3c0 net/core/dev.c:6562 virtqueue_napi_complete drivers/net/virtio_net.c:337 [inline] virtnet_poll+0x6c3/0x9c0 drivers/net/virtio_net.c:1540 __napi_poll+0x65/0x3a0 net/core/dev.c:6986 napi_poll net/core/dev.c:7053 [inline] net_rx_action+0x29f/0x680 net/core/dev.c:7140 __do_softirq+0x12c/0x26e kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu kernel/softirq.c:636 [inline] irq_exit_rcu+0x4e/0xa0 kernel/softirq.c:648 common_interrupt+0x3e/0x90 arch/x86/kernel/irq.c:240 asm_common_interrupt+0x1e/0x40 write to 0xffffc90000343a40 of 4 bytes by task 496 on cpu 1: __pollwake fs/select.c:197 [inline] pollwake+0xb9/0x110 fs/select.c:217 __wake_up_common+0xbc/0x130 kernel/sched/wait.c:108 __wake_up_common_lock kernel/sched/wait.c:138 [inline] __wake_up_sync_key+0x93/0xd0 kernel/sched/wait.c:205 pipe_write+0x983/0xd00 fs/pipe.c:592 call_write_iter include/linux/fs.h:2163 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0x7bc/0x900 fs/read_write.c:594 ksys_write+0xd9/0x190 fs/read_write.c:647 __do_sys_write fs/read_write.c:659 [inline] __se_sys_write fs/read_write.c:656 [inline] __x64_sys_write+0x3e/0x50 fs/read_write.c:656 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x00000000 -> 0x00000001 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 496 Comm: syz-fuzzer Not tainted 5.15.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================