================================================================== BUG: KCSAN: data-race in sk_stream_wait_connect / tcp_disconnect write to 0xffff88802cc22d30 of 4 bytes by task 20675 on cpu 1: tcp_disconnect+0x15a/0xd40 net/ipv4/tcp.c:2653 __inet_stream_connect+0x16e/0x690 net/ipv4/af_inet.c:630 inet_stream_connect+0x44/0x70 net/ipv4/af_inet.c:725 __sys_connect_file net/socket.c:1852 [inline] __sys_connect+0x245/0x280 net/socket.c:1869 __do_sys_connect net/socket.c:1879 [inline] __se_sys_connect net/socket.c:1876 [inline] __x64_sys_connect+0x3d/0x50 net/socket.c:1876 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff88802cc22d30 of 4 bytes by task 20671 on cpu 0: sk_stream_wait_connect+0x1a6/0x370 net/core/stream.c:75 tcp_sendmsg_locked+0x291/0x2130 net/ipv4/tcp.c:1235 tcp_sendmsg+0x2c/0x40 net/ipv4/tcp.c:1444 inet6_sendmsg+0x5f/0x80 net/ipv6/af_inet6.c:638 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg net/socket.c:671 [inline] ____sys_sendmsg+0x352/0x4c0 net/socket.c:2353 ___sys_sendmsg net/socket.c:2407 [inline] __sys_sendmsg+0x1e2/0x260 net/socket.c:2440 __do_sys_sendmsg net/socket.c:2449 [inline] __se_sys_sendmsg net/socket.c:2447 [inline] __x64_sys_sendmsg+0x42/0x50 net/socket.c:2447 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 20671 Comm: syz-executor.1 Not tainted 5.10.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================