================================================================== BUG: KCSAN: data-race in tcp_connect / tcp_poll write to 0xffff88813a9fd5b0 of 4 bytes by task 22610 on cpu 1: tcp_connect_init net/ipv4/tcp_output.c:3678 [inline] tcp_connect+0xa62/0x1d90 net/ipv4/tcp_output.c:3818 tcp_v4_connect+0xadf/0xbb0 net/ipv4/tcp_ipv4.c:312 __inet_stream_connect+0x156/0x6e0 net/ipv4/af_inet.c:660 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:5250 [inline] io_issue_sqe+0x2b4a/0x53b0 fs/io_uring.c:6716 io_wq_submit_work+0x1c5/0x370 fs/io_uring.c:6840 io_worker_handle_work+0x4ca/0xbd0 fs/io-wq.c:576 io_wqe_worker+0x1bc/0x4f0 fs/io-wq.c:632 ret_from_fork+0x1f/0x30 read to 0xffff88813a9fd5b0 of 4 bytes by task 22398 on cpu 0: tcp_poll+0x510/0x580 net/ipv4/tcp.c:588 sock_poll+0x23e/0x260 net/socket.c:1302 vfs_poll include/linux/poll.h:90 [inline] __io_arm_poll_handler+0x1a8/0x780 fs/io_uring.c:5621 io_arm_poll_handler+0x25e/0x3d0 fs/io_uring.c:5687 io_queue_sqe_arm_apoll fs/io_uring.c:6999 [inline] __io_queue_sqe+0x16b/0x440 fs/io_uring.c:7037 io_queue_sqe fs/io_uring.c:7064 [inline] io_submit_sqe+0x77a/0x47d3 fs/io_uring.c:7267 io_submit_sqes+0x25d/0x670 fs/io_uring.c:7373 __do_sys_io_uring_enter fs/io_uring.c:10076 [inline] __se_sys_io_uring_enter+0x212/0xb00 fs/io_uring.c:10018 __x64_sys_io_uring_enter+0x74/0x80 fs/io_uring.c:10018 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x0000006f -> 0x00000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 22398 Comm: syz-executor.4 Not tainted 5.16.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================