================================================================== BUG: KCSAN: data-race in pollwake / pollwake write to 0xffffc900015c79d0 of 4 bytes by interrupt on cpu 1: __pollwake fs/select.c:195 [inline] pollwake+0xc1/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:3533 tcp_data_ready+0x1ad/0x290 net/ipv4/tcp_input.c:5250 tcp_data_queue+0x12e3/0x2d50 net/ipv4/tcp_input.c:5340 tcp_rcv_established+0x8c1/0xe90 net/ipv4/tcp_input.c:6312 tcp_v4_do_rcv+0x665/0x740 net/ipv4/tcp_ipv4.c:1925 tcp_v4_rcv+0x1a1d/0x1dd0 net/ipv4/tcp_ipv4.c:2363 ip_protocol_deliver_rcu+0x36c/0x760 net/ipv4/ip_input.c:205 ip_local_deliver_finish+0x180/0x210 net/ipv4/ip_input.c:233 NF_HOOK include/linux/netfilter.h:314 [inline] ip_local_deliver+0x102/0x1e0 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+0x55d/0x650 net/ipv4/ip_input.c:635 ip_list_rcv+0x25f/0x290 net/ipv4/ip_input.c:669 __netif_receive_skb_list_ptype net/core/dev.c:5930 [inline] __netif_receive_skb_list_core+0x4f4/0x520 net/core/dev.c:5977 __netif_receive_skb_list net/core/dev.c:6029 [inline] netif_receive_skb_list_internal+0x4e6/0x670 net/core/dev.c:6120 gro_normal_list include/net/gro.h:532 [inline] napi_complete_done+0x1bf/0x440 net/core/dev.c:6490 virtqueue_napi_complete drivers/net/virtio_net.c:737 [inline] virtnet_poll+0x1cf7/0x2150 drivers/net/virtio_net.c:3053 __napi_poll+0x63/0x3c0 net/core/dev.c:7324 napi_poll net/core/dev.c:7388 [inline] net_rx_action+0x3a3/0x800 net/core/dev.c:7510 handle_softirqs+0xbf/0x280 kernel/softirq.c:579 __do_softirq kernel/softirq.c:613 [inline] invoke_softirq kernel/softirq.c:453 [inline] __irq_exit_rcu+0x3a/0xc0 kernel/softirq.c:680 common_interrupt+0x81/0x90 arch/x86/kernel/irq.c:285 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:693 radix_tree_delete_item+0x4/0x260 lib/radix-tree.c:1415 idr_remove+0x2e/0x40 lib/idr.c:154 kernfs_put+0x12f/0x250 fs/kernfs/dir.c:588 sysfs_remove_group+0x15b/0x170 fs/sysfs/group.c:326 dpm_sysfs_remove+0x81/0x90 drivers/base/power/sysfs.c:837 device_del+0x136/0x780 drivers/base/core.c:3830 drop_partition block/partitions/core.c:278 [inline] bdev_disk_changed+0x19b/0xcd0 block/partitions/core.c:674 __loop_clr_fd drivers/block/loop.c:1205 [inline] lo_release+0x30c/0x400 drivers/block/loop.c:1772 bdev_release+0x3c6/0x420 block/bdev.c:-1 blkdev_release+0x15/0x20 block/fops.c:660 __fput+0x2ac/0x640 fs/file_table.c:465 fput_close_sync+0xc0/0x110 fs/file_table.c:570 __do_sys_close fs/open.c:1581 [inline] __se_sys_close fs/open.c:1566 [inline] __x64_sys_close+0x55/0xe0 fs/open.c:1566 x64_sys_call+0x262b/0x2e10 arch/x86/include/generated/asm/syscalls_64.h:4 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xc9/0x1a0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f write to 0xffffc900015c79d0 of 4 bytes by task 11345 on cpu 0: __pollwake fs/select.c:195 [inline] pollwake+0xc1/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 anon_pipe_write+0x9df/0xb10 fs/pipe.c:595 new_sync_write fs/read_write.c:591 [inline] vfs_write+0x79b/0x950 fs/read_write.c:684 ksys_write+0xeb/0x1b0 fs/read_write.c:736 __do_sys_write fs/read_write.c:747 [inline] __se_sys_write fs/read_write.c:744 [inline] __x64_sys_write+0x42/0x50 fs/read_write.c:744 x64_sys_call+0x2a45/0x2e10 arch/x86/include/generated/asm/syscalls_64.h:2 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xc9/0x1a0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x00000000 -> 0x00000001 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 11345 Comm: syz-executor Not tainted 6.15.0-rc2-syzkaller-00278-gfc96b232f8e7 #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 ==================================================================