================================================================== BUG: KCSAN: data-race in pollwake / pollwake write to 0xffffc9000135f9e0 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_data_queue+0x124c/0x2d40 net/ipv4/tcp_input.c:5316 tcp_rcv_established+0x8b6/0xec0 net/ipv4/tcp_input.c:6282 tcp_v4_do_rcv+0x662/0x740 net/ipv4/tcp_ipv4.c:1918 tcp_v4_rcv+0x18c8/0x1c90 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+0x1c8c/0x20d0 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 kcsan_setup_watchpoint+0x404/0x410 kernel/kcsan/core.c:705 i_user_ns include/linux/fs.h:1459 [inline] i_uid_into_vfsuid include/linux/fs.h:1498 [inline] acl_permission_check fs/namei.c:409 [inline] generic_permission+0x6d/0x460 fs/namei.c:471 do_inode_permission fs/namei.c:532 [inline] inode_permission+0x77/0x300 fs/namei.c:592 may_lookup fs/namei.c:1821 [inline] link_path_walk+0x13e/0x830 fs/namei.c:2427 path_lookupat+0x72/0x2b0 fs/namei.c:2635 filename_lookup+0x150/0x340 fs/namei.c:2665 vfs_statx+0x9c/0x320 fs/stat.c:346 vfs_fstatat+0xe4/0x130 fs/stat.c:368 __do_sys_newfstatat fs/stat.c:532 [inline] __se_sys_newfstatat+0x58/0x260 fs/stat.c:526 __x64_sys_newfstatat+0x55/0x70 fs/stat.c:526 x64_sys_call+0x236d/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:263 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 0xffffc9000135f9e0 of 4 bytes by task 6429 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 value changed: 0x00000000 -> 0x00000001 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 6429 Comm: syz-executor Not tainted 6.14.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 ==================================================================