================================================================== BUG: KCSAN: data-race in __ip4_datagram_connect / __ip_make_skb write to 0xffff88813694f7aa of 2 bytes by task 26152 on cpu 1: __ip4_datagram_connect+0x759/0x7b0 net/ipv4/datagram.c:76 __ip6_datagram_connect+0x56f/0x7e0 net/ipv6/datagram.c:194 ip6_datagram_connect+0x2e/0x40 net/ipv6/datagram.c:277 inet_dgram_connect+0x114/0x1a0 net/ipv4/af_inet.c:580 __sys_connect_file net/socket.c:1992 [inline] __sys_connect+0x1a1/0x1b0 net/socket.c:2009 __do_sys_connect net/socket.c:2019 [inline] __se_sys_connect net/socket.c:2016 [inline] __x64_sys_connect+0x41/0x50 net/socket.c:2016 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff88813694f7aa of 2 bytes by task 26153 on cpu 0: ip_select_ident_segs include/net/ip.h:541 [inline] ip_select_ident include/net/ip.h:556 [inline] __ip_make_skb+0x817/0xc70 net/ipv4/ip_output.c:1437 ip_make_skb+0x233/0x2c0 net/ipv4/ip_output.c:1551 udp_sendmsg+0x1199/0x1250 net/ipv4/udp.c:1256 udpv6_sendmsg+0x495/0x1500 net/ipv6/udp.c:1401 inet6_sendmsg+0x63/0x80 net/ipv6/af_inet6.c:651 sock_sendmsg_nosec net/socket.c:725 [inline] sock_sendmsg net/socket.c:748 [inline] ____sys_sendmsg+0x37c/0x4d0 net/socket.c:2494 ___sys_sendmsg net/socket.c:2548 [inline] __sys_sendmmsg+0x269/0x500 net/socket.c:2634 __do_sys_sendmmsg net/socket.c:2663 [inline] __se_sys_sendmmsg net/socket.c:2660 [inline] __x64_sys_sendmmsg+0x57/0x60 net/socket.c:2660 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x6cf1 -> 0x76d8 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 26153 Comm: syz-executor.5 Not tainted 6.5.0-rc1-syzkaller-00006-g3f01e9fed845 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 ==================================================================