================================================================== BUG: KCSAN: data-race in __ip4_datagram_connect / __ip_make_skb write to 0xffff88813bf7486a of 2 bytes by task 32331 on cpu 1: __ip4_datagram_connect+0x74b/0x7a0 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:582 __sys_connect_file net/socket.c:1976 [inline] __sys_connect+0x19b/0x1b0 net/socket.c:1993 __do_sys_connect net/socket.c:2003 [inline] __se_sys_connect net/socket.c:2000 [inline] __x64_sys_connect+0x41/0x50 net/socket.c:2000 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-write to 0xffff88813bf7486a of 2 bytes by task 32339 on cpu 0: ip_select_ident_segs include/net/ip.h:533 [inline] ip_select_ident include/net/ip.h:547 [inline] __ip_make_skb+0x886/0xc50 net/ipv4/ip_output.c:1556 ip_make_skb+0x233/0x2c0 net/ipv4/ip_output.c:1660 udp_sendmsg+0x1146/0x1220 net/ipv4/udp.c:1260 udpv6_sendmsg+0x665/0x1550 inet6_sendmsg+0x63/0x80 net/ipv6/af_inet6.c:661 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg net/socket.c:734 [inline] ____sys_sendmsg+0x390/0x510 net/socket.c:2476 ___sys_sendmsg net/socket.c:2530 [inline] __sys_sendmmsg+0x263/0x500 net/socket.c:2616 __do_sys_sendmmsg net/socket.c:2645 [inline] __se_sys_sendmmsg net/socket.c:2642 [inline] __x64_sys_sendmmsg+0x57/0x60 net/socket.c:2642 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: 0x38f8 -> 0xd7b8 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 32339 Comm: syz-executor.1 Not tainted 6.2.0-rc8-syzkaller-00002-gb408817d4884-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 ==================================================================