================================================================== BUG: KCSAN: data-race in __ip6_datagram_connect / udpv6_sendmsg write to 0xffff8881498a6040 of 4 bytes by task 7229 on cpu 0: __ipv6_addr_set_half include/net/ipv6.h:561 [inline] ipv6_addr_set include/net/ipv6.h:570 [inline] ipv6_addr_set_v4mapped include/net/ipv6.h:738 [inline] __ip6_datagram_connect+0x19f/0x840 net/ipv6/datagram.c:197 ip6_datagram_connect+0x2a/0x40 net/ipv6/datagram.c:272 inet_dgram_connect+0xfd/0x180 net/ipv4/af_inet.c:580 __sys_connect_file net/socket.c:1837 [inline] __sys_connect+0x245/0x280 net/socket.c:1854 __do_sys_connect net/socket.c:1864 [inline] __se_sys_connect net/socket.c:1861 [inline] __x64_sys_connect+0x3d/0x50 net/socket.c:1861 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff8881498a6040 of 4 bytes by task 7233 on cpu 1: ipv6_addr_v4mapped include/net/ipv6.h:696 [inline] udpv6_sendmsg+0x2c1/0x16b0 net/ipv6/udp.c:1336 inet6_sendmsg+0x5f/0x80 net/ipv6/af_inet6.c:642 sock_sendmsg_nosec net/socket.c:654 [inline] sock_sendmsg net/socket.c:674 [inline] sock_write_iter+0x1a4/0x200 net/socket.c:1001 call_write_iter include/linux/fs.h:2116 [inline] do_iter_readv_writev+0x2cb/0x360 fs/read_write.c:740 do_iter_write+0x112/0x4c0 fs/read_write.c:866 vfs_writev fs/read_write.c:939 [inline] do_writev+0x1e0/0x400 fs/read_write.c:982 __do_sys_writev fs/read_write.c:1055 [inline] __se_sys_writev fs/read_write.c:1052 [inline] __x64_sys_writev+0x41/0x50 fs/read_write.c:1052 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 7233 Comm: syz-executor.2 Tainted: G W 5.12.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================