================================================================== BUG: KCSAN: data-race in inet_shutdown / sk_stream_wait_memory write to 0xffff88812157cb6a of 1 bytes by task 8157 on cpu 0: inet_shutdown+0x105/0x270 net/ipv4/af_inet.c:877 __sys_shutdown+0xa2/0x130 net/socket.c:2160 __do_sys_shutdown net/socket.c:2168 [inline] __se_sys_shutdown net/socket.c:2166 [inline] __x64_sys_shutdown+0x3a/0x50 net/socket.c:2166 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff88812157cb6a of 1 bytes by task 8149 on cpu 1: sk_stream_wait_memory+0x480/0x850 net/core/stream.c:145 tcp_sendmsg_locked+0x962/0x1fb0 net/ipv4/tcp.c:1395 tcp_sendmsg+0x39/0x60 net/ipv4/tcp.c:1436 inet_sendmsg+0x6d/0x90 net/ipv4/af_inet.c:807 sock_sendmsg_nosec net/socket.c:637 [inline] sock_sendmsg+0x9f/0xc0 net/socket.c:657 __sys_sendto+0x21f/0x320 net/socket.c:1952 __do_sys_sendto net/socket.c:1964 [inline] __se_sys_sendto net/socket.c:1960 [inline] __x64_sys_sendto+0x89/0xb0 net/socket.c:1960 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 8149 Comm: syz-executor.4 Not tainted 5.4.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================