================================================================== BUG: KCSAN: data-race in inet_shutdown / sk_stream_wait_memory write to 0xffff8880645777ea of 1 bytes by task 20219 on cpu 1: inet_shutdown+0x148/0x200 net/ipv4/af_inet.c:891 __sys_shutdown_sock net/socket.c:2189 [inline] __sys_shutdown net/socket.c:2201 [inline] __do_sys_shutdown net/socket.c:2209 [inline] __se_sys_shutdown+0xf6/0x140 net/socket.c:2207 __x64_sys_shutdown+0x2d/0x40 net/socket.c:2207 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff8880645777ea of 1 bytes by task 20211 on cpu 0: sk_stream_wait_memory+0x46d/0x700 net/core/stream.c:145 tcp_sendmsg_locked+0x995/0x21e0 net/ipv4/tcp.c:1417 tcp_sendmsg+0x2c/0x40 net/ipv4/tcp.c:1457 inet_sendmsg+0x5f/0x80 net/ipv4/af_inet.c:821 sock_sendmsg_nosec net/socket.c:654 [inline] sock_sendmsg net/socket.c:674 [inline] __sys_sendto+0x2a8/0x370 net/socket.c:1977 __do_sys_sendto net/socket.c:1989 [inline] __se_sys_sendto net/socket.c:1985 [inline] __x64_sys_sendto+0x74/0x90 net/socket.c:1985 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 20211 Comm: syz-executor.3 Tainted: G W 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================