panic: WARNING: circular locking detected: stack.packetsPendingLinkResolutionMutex -> stack.routeRWMutex: goroutine 16017 [running]: gvisor.dev/gvisor/pkg/sync/locking.(*ancestorsAtomicPtrMap).RangeRepeatable(0xc0003a42f0, 0xc001de3220) bazel-out/k8-fastbuild-ST-3dcbe13c9b87/bin/pkg/sync/locking/atomicptrmap_ancestors_unsafe.go:441 +0x314 gvisor.dev/gvisor/pkg/sync/locking.checkLock(0xc0003a4360, 0xc0003a42d0, {0x0, 0x0, 0x0}) pkg/sync/locking/lockdep.go:98 +0x3a9 gvisor.dev/gvisor/pkg/sync/locking.AddGLock(0xc0003a4360, 0xffffffffffffffff) pkg/sync/locking/lockdep.go:126 +0x2df gvisor.dev/gvisor/pkg/tcpip/stack.(*routeRWMutex).RLock(0xc0001e67d0) bazel-out/k8-fastbuild-ST-3dcbe13c9b87/bin/pkg/tcpip/stack/route_mutex.go:59 +0x58 gvisor.dev/gvisor/pkg/tcpip/stack.(*Route).resolvedFields(0xc0001e6780, 0x0) pkg/tcpip/stack/route.go:379 +0xa5 gvisor.dev/gvisor/pkg/tcpip/stack.(*packetsPendingLinkResolution).enqueue(0xc000f5a798, 0x10?, {0xc000688370?}) pkg/tcpip/stack/pending_packets.go:128 +0xc5 gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).WritePacket(0xc000f5a600, 0x5b4?, {0x14770a5?}) pkg/tcpip/stack/nic.go:368 +0x174 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).writePacket(0xc000a9c000, 0xc0001e6780, {0x10?}, 0xc16c39?, 0x0) pkg/tcpip/network/ipv6/ipv6.go:863 +0x4e6 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).WritePacket(0xc000a9c000, 0xc0001e6780, {0x86dd?, 0x0?, 0x0?}, {0x106c19b?}) pkg/tcpip/network/ipv6/ipv6.go:814 +0x3d9 gvisor.dev/gvisor/pkg/tcpip/stack.(*Route).WritePacket(0xc0001e6780, {0x8?, 0x0?, 0x0?}, {0x0?}) pkg/tcpip/stack/route.go:498 +0x139 gvisor.dev/gvisor/pkg/tcpip/transport/internal/network.(*WriteContext).WritePacket(0xc001de41a8, {0x8?}, 0x0) pkg/tcpip/transport/internal/network/endpoint.go:320 +0x20a gvisor.dev/gvisor/pkg/tcpip/transport/udp.(*endpoint).write(0xc002734700, {0x6a68e8, 0xc00021e820}, {0xc000b94100, 0x0, 0x0, 0x0, {0x0, 0x0, 0x0, ...}}) pkg/tcpip/transport/udp/endpoint.go:529 +0x58d gvisor.dev/gvisor/pkg/tcpip/transport/udp.(*endpoint).Write(0xc002734700, {0x6a68e8, 0xc00021e820}, {0xc000b94100, 0x0, 0x0, 0x0, {0x0, 0x0, 0x0, ...}}) pkg/tcpip/transport/udp/endpoint.go:366 +0x8b gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*Socket).SendMsg(0xc000b6a460, 0xc0024b6a80, {{0x6ae2f8, 0xc002068000}, {0x0, 0x0, 0x0, 0x0}, {0x0, 0x1}}, ...) pkg/sentry/socket/netstack/netstack.go:2936 +0x819 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.sendSingleMsg(0xc0024b6a80, {0x6c2520, 0xc000b6a460}, 0xc000b755b0?, 0x101000000000001?, 0x0) pkg/sentry/syscalls/linux/sys_socket.go:1111 +0x6de gvisor.dev/gvisor/pkg/sentry/syscalls/linux.SendMMsg(0xc0024b6a80, {{0x3}, {0x20000580}, {0x2}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_socket.go:1035 +0x675 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc0024b6a80, 0x133, {{0x3}, {0x20000580}, {0x2}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0xab8 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc0024b6a80, 0x1?, {{0x3}, {0x20000580}, {0x2}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x8e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0009f7770?, 0x106a98c?, {{0x3}, {0x20000580}, {0x2}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0xc5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0024b6a80) pkg/sentry/kernel/task_syscall.go:257 +0x53b gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc0024b6a80?, 0xc0024b6a80) pkg/sentry/kernel/task_run.go:253 +0x1e94 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc0024b6a80, 0x18a) pkg/sentry/kernel/task_run.go:94 +0x2cc created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:377 +0x1da