================================================================== BUG: KCSAN: data-race in tcp_disconnect / tcp_poll write to 0xffff88813e7434b8 of 1 bytes by task 8011 on cpu 0: tcp_disconnect+0x5ed/0xe70 net/ipv4/tcp.c:2974 __inet_stream_connect+0x621/0x6e0 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:1896 io_connect fs/io_uring.c:5206 [inline] io_issue_sqe+0x2d9d/0x5680 fs/io_uring.c:6669 io_wq_submit_work+0x1c5/0x370 fs/io_uring.c:6793 io_worker_handle_work+0x4ca/0xbd0 fs/io-wq.c:563 io_wqe_worker+0x1bc/0x4f0 fs/io-wq.c:619 ret_from_fork+0x1f/0x30 read to 0xffff88813e7434b8 of 1 bytes by task 8000 on cpu 1: tcp_poll+0x2b9/0x580 net/ipv4/tcp.c:558 sock_poll+0x23e/0x260 net/socket.c:1302 vfs_poll include/linux/poll.h:90 [inline] io_poll_rewait fs/io_uring.c:5298 [inline] io_async_task_func+0x182/0x713 fs/io_uring.c:5521 tctx_task_work+0x25a/0x410 fs/io_uring.c:2206 task_work_run+0x8e/0x110 kernel/task_work.c:164 tracehook_notify_signal include/linux/tracehook.h:214 [inline] handle_signal_work kernel/entry/common.c:146 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x102/0x190 kernel/entry/common.c:207 irqentry_exit_to_user_mode+0x5/0x10 kernel/entry/common.c:313 irqentry_exit+0xe/0x40 kernel/entry/common.c:404 sysvec_apic_timer_interrupt+0x4a/0xb0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 value changed: 0x03 -> 0x00 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 8000 Comm: syz-executor.0 Not tainted 5.16.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================