WARNING: DATA RACE Write at 0x00c000dc3a08 by goroutine 2525: gvisor.dev/gvisor/pkg/tcpip/transport/udp.(*endpoint).Connect() pkg/tcpip/transport/udp/endpoint.go:1168 +0x644 gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*socketOpsCommon).Connect() pkg/sentry/socket/netstack/netstack.go:783 +0x4e7 gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*SocketVFS2).Connect() :1 +0x84 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Connect() pkg/sentry/syscalls/linux/vfs2/socket.go:278 +0x256 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall() pkg/sentry/kernel/task_syscall.go:104 +0x452 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke() pkg/sentry/kernel/task_syscall.go:239 +0xb9 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter() pkg/sentry/kernel/task_syscall.go:199 +0x10e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall() pkg/sentry/kernel/task_syscall.go:174 +0x1e9 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute() pkg/sentry/kernel/task_run.go:282 +0x12a6 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run() pkg/sentry/kernel/task_run.go:97 +0x397 Previous read at 0x00c000dc3a08 by goroutine 2679: gvisor.dev/gvisor/pkg/tcpip/stack.(*Route).Stats() pkg/tcpip/stack/route.go:191 +0x84a gvisor.dev/gvisor/pkg/tcpip/transport/udp.sendUDP() pkg/tcpip/transport/udp/endpoint.go:1029 +0x818 gvisor.dev/gvisor/pkg/tcpip/transport/udp.(*endpoint).write() pkg/tcpip/transport/udp/endpoint.go:568 +0x7a4 gvisor.dev/gvisor/pkg/tcpip/transport/udp.(*endpoint).Write() pkg/tcpip/transport/udp/endpoint.go:398 +0x84 gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*socketOpsCommon).SendMsg() pkg/sentry/socket/netstack/netstack.go:2987 +0x23c gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*SocketVFS2).SendMsg() :1 +0x177 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.sendSingleMsg() pkg/sentry/syscalls/linux/vfs2/socket.go:1056 +0x419 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.SendMMsg() pkg/sentry/syscalls/linux/vfs2/socket.go:980 +0x319 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall() pkg/sentry/kernel/task_syscall.go:104 +0x452 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke() pkg/sentry/kernel/task_syscall.go:239 +0xb9 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter() pkg/sentry/kernel/task_syscall.go:199 +0x10e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall() pkg/sentry/kernel/task_syscall.go:174 +0x1e9 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute() pkg/sentry/kernel/task_run.go:282 +0x12a6 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run() pkg/sentry/kernel/task_run.go:97 +0x397