================================================================== BUG: KCSAN: data-race in tcp_disconnect / tcp_poll write to 0xffff88811bc34d6a of 1 bytes by task 12122 on cpu 1: tcp_disconnect+0x5ee/0xef0 net/ipv4/tcp.c:3016 __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:1900 io_connect fs/io_uring.c:5352 [inline] io_issue_sqe+0x41a4/0x9610 fs/io_uring.c:6791 io_wq_submit_work+0x1c5/0x370 fs/io_uring.c:6915 io_worker_handle_work+0x51b/0xc10 fs/io-wq.c:588 io_wqe_worker+0x1bc/0x4f0 fs/io-wq.c:639 ret_from_fork+0x1f/0x30 read to 0xffff88811bc34d6a of 1 bytes by task 12105 on cpu 0: tcp_poll+0xfa/0x580 net/ipv4/tcp.c:539 sock_poll+0x23e/0x260 net/socket.c:1306 vfs_poll include/linux/poll.h:88 [inline] io_poll_check_events+0x1ff/0x530 fs/io_uring.c:5531 io_apoll_task_func+0x33/0x800 fs/io_uring.c:5590 handle_tw_list fs/io_uring.c:2328 [inline] tctx_task_work+0x8b2/0xc90 fs/io_uring.c:2362 task_work_run+0x8e/0x110 kernel/task_work.c:164 tracehook_notify_signal include/linux/tracehook.h:213 [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 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:300 do_syscall_64+0x50/0xd0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x03 -> 0x00 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 12105 Comm: syz-executor.1 Not tainted 5.17.0-rc5-syzkaller-00004-g038101e6b2cd-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================