================================================================== BUG: KCSAN: data-race in inet_dgram_connect / udp_lib_get_port write to 0xffff888102716a8e of 2 bytes by task 7989 on cpu 1: udp_lib_get_port+0x4c6/0xd10 net/ipv4/udp.c:304 udp_v6_get_port+0x262/0x3a0 net/ipv6/udp.c:89 inet_autobind+0x70/0xf0 net/ipv4/af_inet.c:182 inet_send_prepare net/ipv4/af_inet.c:793 [inline] inet_send_prepare+0x1d1/0x200 net/ipv4/af_inet.c:787 inet6_sendmsg+0x37/0x90 net/ipv6/af_inet6.c:573 sock_sendmsg_nosec net/socket.c:637 [inline] sock_sendmsg+0x9f/0xc0 net/socket.c:657 ___sys_sendmsg+0x2b7/0x5d0 net/socket.c:2311 __sys_sendmmsg+0x123/0x350 net/socket.c:2413 __do_sys_sendmmsg net/socket.c:2442 [inline] __se_sys_sendmmsg net/socket.c:2439 [inline] __x64_sys_sendmmsg+0x64/0x80 net/socket.c:2439 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff888102716a8e of 2 bytes by task 7980 on cpu 0: inet_dgram_connect+0x8e/0x1a0 net/ipv4/af_inet.c:569 __sys_connect+0x1e9/0x250 net/socket.c:1828 __do_sys_connect net/socket.c:1839 [inline] __se_sys_connect net/socket.c:1836 [inline] __x64_sys_connect+0x4c/0x60 net/socket.c:1836 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: 0 PID: 7980 Comm: syz-executor.3 Not tainted 5.4.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================