================================================================== BUG: KCSAN: data-race in tcp_disconnect / tcp_poll write to 0xffff8881402857a2 of 1 bytes by task 5482 on cpu 0: tcp_disconnect+0x5f1/0xea0 net/ipv4/tcp.c:3120 __inet_stream_connect+0x5cc/0x6d0 net/ipv4/af_inet.c:712 inet_stream_connect+0x44/0x70 net/ipv4/af_inet.c:724 __sys_connect_file+0xd3/0xe0 net/socket.c:1976 io_connect+0x102/0x270 io_uring/net.c:1277 io_issue_sqe+0x3b2/0x900 io_uring/io_uring.c:1577 io_wq_submit_work+0x3de/0x580 io_uring/io_uring.c:1654 io_worker_handle_work+0x547/0xbf0 io_uring/io-wq.c:587 io_wqe_worker+0x202/0x8f0 io_uring/io-wq.c:632 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 read to 0xffff8881402857a2 of 1 bytes by task 5475 on cpu 1: tcp_poll+0xf7/0x560 net/ipv4/tcp.c:541 sock_poll+0x23e/0x260 net/socket.c:1353 vfs_poll include/linux/poll.h:88 [inline] io_poll_check_events+0x183/0x360 io_uring/poll.c:233 io_apoll_task_func+0x1a/0xa0 io_uring/poll.c:295 handle_tw_list+0x12a/0x180 io_uring/io_uring.c:984 tctx_task_work+0x72/0x360 io_uring/io_uring.c:1031 task_work_run+0x8e/0x110 kernel/task_work.c:177 get_signal+0xeca/0x1020 kernel/signal.c:2634 arch_do_signal_or_restart+0x87/0x2d0 arch/x86/kernel/signal.c:869 exit_to_user_mode_loop+0x78/0x130 kernel/entry/common.c:166 exit_to_user_mode_prepare+0x69/0x90 kernel/entry/common.c:201 irqentry_exit_to_user_mode+0x5/0x10 kernel/entry/common.c:307 irqentry_exit+0xe/0x40 kernel/entry/common.c:408 sysvec_apic_timer_interrupt+0x4a/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 value changed: 0x03 -> 0x00 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 5475 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-00029-g3800a713b607-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 ==================================================================