================================================================== BUG: KCSAN: data-race in pollwake / pollwake write to 0xffffc900014fba00 of 4 bytes by task 3311 on cpu 1: __pollwake fs/select.c:195 [inline] pollwake+0xbe/0x110 fs/select.c:215 __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 pipe_write+0x962/0xd20 fs/pipe.c:603 new_sync_write fs/read_write.c:586 [inline] vfs_write+0x77b/0x920 fs/read_write.c:679 ksys_write+0xe8/0x1b0 fs/read_write.c:731 __do_sys_write fs/read_write.c:742 [inline] __se_sys_write fs/read_write.c:739 [inline] __x64_sys_write+0x42/0x50 fs/read_write.c:739 x64_sys_call+0x287e/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:2 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f write to 0xffffc900014fba00 of 4 bytes by interrupt on cpu 0: __pollwake fs/select.c:195 [inline] pollwake+0xbe/0x110 fs/select.c:215 __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:3476 tcp_data_ready+0x1ad/0x290 net/ipv4/tcp_input.c:5226 tcp_rcv_established+0xcca/0xec0 net/ipv4/tcp_input.c:6249 tcp_v4_do_rcv+0x662/0x740 net/ipv4/tcp_ipv4.c:1918 tcp_v4_rcv+0x1b25/0x1ee0 net/ipv4/tcp_ipv4.c:2353 ip_protocol_deliver_rcu+0x360/0x750 net/ipv4/ip_input.c:205 ip_local_deliver_finish+0x17d/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:469 [inline] ip_sublist_rcv_finish net/ipv4/ip_input.c:578 [inline] ip_list_rcv_finish net/ipv4/ip_input.c:627 [inline] ip_sublist_rcv+0x55a/0x640 net/ipv4/ip_input.c:635 ip_list_rcv+0x25e/0x290 net/ipv4/ip_input.c:669 __netif_receive_skb_list_ptype net/core/dev.c:5871 [inline] __netif_receive_skb_list_core+0x4f0/0x520 net/core/dev.c:5918 __netif_receive_skb_list net/core/dev.c:5970 [inline] netif_receive_skb_list_internal+0x4e4/0x660 net/core/dev.c:6061 gro_normal_list include/net/gro.h:515 [inline] napi_complete_done+0x1b4/0x440 net/core/dev.c:6428 virtqueue_napi_complete drivers/net/virtio_net.c:759 [inline] virtnet_poll+0x1cb3/0x2100 drivers/net/virtio_net.c:3014 __napi_poll+0x63/0x3c0 net/core/dev.c:7106 napi_poll net/core/dev.c:7175 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7297 handle_softirqs+0xbf/0x280 kernel/softirq.c:561 __do_softirq kernel/softirq.c:595 [inline] invoke_softirq kernel/softirq.c:435 [inline] __irq_exit_rcu+0x3a/0xc0 kernel/softirq.c:662 common_interrupt+0x81/0x90 arch/x86/kernel/irq.c:278 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:693 should_watch kernel/kcsan/core.c:277 [inline] check_access kernel/kcsan/core.c:752 [inline] __tsan_read8+0x104/0x180 kernel/kcsan/core.c:1025 stack_not_used kernel/exit.c:790 [inline] check_stack_usage kernel/exit.c:842 [inline] do_exit+0x10bf/0x17f0 kernel/exit.c:981 do_group_exit+0x102/0x150 kernel/exit.c:1087 get_signal+0xeb9/0x1000 kernel/signal.c:3036 arch_do_signal_or_restart+0x95/0x4b0 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x62/0x120 kernel/entry/common.c:218 do_syscall_64+0xd6/0x1c0 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x00000000 -> 0x00000001 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 26985 Comm: syz.0.9218 Tainted: G W 6.14.0-rc2-syzkaller-00041-g4dc1d1bec898 #0 Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 ==================================================================