================================================================== BUG: KCSAN: data-race in inet_bind_hash / inet_send_prepare read to 0xffff8881218a368e of 2 bytes by task 15820 on cpu 0: inet_send_prepare+0x4a/0x200 net/ipv4/af_inet.c:792 inet_sendmsg+0x37/0x90 net/ipv4/af_inet.c:804 sock_sendmsg_nosec net/socket.c:639 [inline] sock_sendmsg+0x9f/0xc0 net/socket.c:659 sock_write_iter+0x16b/0x210 net/socket.c:991 call_write_iter include/linux/fs.h:1902 [inline] new_sync_write+0x388/0x4a0 fs/read_write.c:483 __vfs_write+0xb1/0xc0 fs/read_write.c:496 vfs_write fs/read_write.c:558 [inline] vfs_write+0x18a/0x390 fs/read_write.c:542 ksys_write+0x17b/0x1b0 fs/read_write.c:611 __do_sys_write fs/read_write.c:623 [inline] __se_sys_write fs/read_write.c:620 [inline] __x64_sys_write+0x4c/0x60 fs/read_write.c:620 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 write to 0xffff8881218a368e of 2 bytes by task 15783 on cpu 1: inet_bind_hash+0x49/0xf0 net/ipv4/inet_hashtables.c:95 inet_csk_get_port+0xd6f/0x12d0 net/ipv4/inet_connection_sock.c:375 __inet_bind+0x380/0x6b0 net/ipv4/af_inet.c:524 inet_bind+0xc6/0x110 net/ipv4/af_inet.c:453 __sys_bind+0x1df/0x220 net/socket.c:1649 __do_sys_bind net/socket.c:1660 [inline] __se_sys_bind net/socket.c:1658 [inline] __x64_sys_bind+0x4c/0x60 net/socket.c:1658 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 15783 Comm: syz-executor.3 Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================