================================================================== BUG: KCSAN: data-race in __inet_hash_connect / __inet_hash_connect write to 0xffffffff894a2c80 of 4 bytes by task 10989 on cpu 1: __inet_hash_connect+0x4ab/0x8a0 net/ipv4/inet_hashtables.c:714 inet_hash_connect+0x55/0xb0 net/ipv4/inet_hashtables.c:741 tcp_v4_connect+0x686/0xc80 net/ipv4/tcp_ipv4.c:274 __inet_stream_connect+0x1bc/0x830 net/ipv4/af_inet.c:655 tcp_sendmsg_fastopen net/ipv4/tcp.c:1164 [inline] tcp_sendmsg_locked+0x198d/0x20f0 net/ipv4/tcp.c:1206 tcp_sendmsg+0x35/0x50 net/ipv4/tcp.c:1433 inet_sendmsg+0x69/0x90 net/ipv4/af_inet.c:807 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg+0x98/0xc0 net/socket.c:672 ____sys_sendmsg+0x493/0x4c0 net/socket.c:2362 ___sys_sendmsg+0xb5/0x100 net/socket.c:2416 __sys_sendmsg+0x9b/0x150 net/socket.c:2449 __do_sys_sendmsg net/socket.c:2458 [inline] __se_sys_sendmsg net/socket.c:2456 [inline] __x64_sys_sendmsg+0x4c/0x60 net/socket.c:2456 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffffffff894a2c80 of 4 bytes by task 10988 on cpu 0: __inet_hash_connect+0x153/0x8a0 net/ipv4/inet_hashtables.c:660 inet_hash_connect+0x55/0xb0 net/ipv4/inet_hashtables.c:741 tcp_v4_connect+0x686/0xc80 net/ipv4/tcp_ipv4.c:274 __inet_stream_connect+0x1bc/0x830 net/ipv4/af_inet.c:655 tcp_sendmsg_fastopen net/ipv4/tcp.c:1164 [inline] tcp_sendmsg_locked+0x198d/0x20f0 net/ipv4/tcp.c:1206 tcp_sendmsg+0x35/0x50 net/ipv4/tcp.c:1433 inet_sendmsg+0x69/0x90 net/ipv4/af_inet.c:807 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg+0x98/0xc0 net/socket.c:672 ____sys_sendmsg+0x493/0x4c0 net/socket.c:2362 ___sys_sendmsg+0xb5/0x100 net/socket.c:2416 __sys_sendmsg+0x9b/0x150 net/socket.c:2449 __do_sys_sendmsg net/socket.c:2458 [inline] __se_sys_sendmsg net/socket.c:2456 [inline] __x64_sys_sendmsg+0x4c/0x60 net/socket.c:2456 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 10988 Comm: syz-executor.3 Not tainted 5.7.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================