panic: WARNING: circular locking detected: stack.packetsPendingLinkResolutionMutex -> stack.routeRWMutex: goroutine 99047 [running]: gvisor.dev/gvisor/pkg/sync/locking.(*ancestorsAtomicPtrMap).RangeRepeatable(0xc00057c2f0, 0xc001e13190) bazel-out/k8-fastbuild-ST-3dcbe13c9b87/bin/pkg/sync/locking/atomicptrmap_ancestors_unsafe.go:441 +0x1dc gvisor.dev/gvisor/pkg/sync/locking.checkLock(0xc00057c360, 0xc00057c2d0, {0x0, 0x0, 0x0}) pkg/sync/locking/lockdep.go:98 +0x373 gvisor.dev/gvisor/pkg/sync/locking.AddGLock(0xc00057c360, 0xffffffffffffffff) pkg/sync/locking/lockdep.go:126 +0x28c gvisor.dev/gvisor/pkg/tcpip/stack.(*routeRWMutex).RLock(0xc0003a6c30) bazel-out/k8-fastbuild-ST-3dcbe13c9b87/bin/pkg/tcpip/stack/route_mutex.go:59 +0x45 gvisor.dev/gvisor/pkg/tcpip/stack.(*Route).resolvedFields(0xc0003a6be0, 0x0) pkg/tcpip/stack/route.go:379 +0x91 gvisor.dev/gvisor/pkg/tcpip/stack.(*packetsPendingLinkResolution).enqueue(0xc000e56d98, 0x10?, {0xc00046eb80?}) pkg/tcpip/stack/pending_packets.go:128 +0xac gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).WritePacket(0xc000e56c00, 0x5b4?, {0xc004edc540?}) pkg/tcpip/stack/nic.go:368 +0x145 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).writePacket(0xc000279600, 0xc0003a6be0, {0x10?}, 0xaefbf9?, 0x0) pkg/tcpip/network/ipv6/ipv6.go:863 +0x409 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).WritePacket(0xc000279600, 0xc0003a6be0, {0x86dd?, 0x0?, 0x0?}, {0x0?}) pkg/tcpip/network/ipv6/ipv6.go:814 +0x2d8 gvisor.dev/gvisor/pkg/tcpip/stack.(*Route).WritePacket(0xc0003a6be0, {0x1135200?, 0xc6?, 0x43?}, {0x17d2685?}) pkg/tcpip/stack/route.go:498 +0xf9 gvisor.dev/gvisor/pkg/tcpip/transport/internal/network.(*WriteContext).WritePacket(0xc001e140f0, {0x8?}, 0x0) pkg/tcpip/transport/internal/network/endpoint.go:320 +0x1ea gvisor.dev/gvisor/pkg/tcpip/transport/udp.(*endpoint).write(0xc002fb6380, {0x790388, 0xc0010ee190}, {0xc00118d360, 0x0, 0x0, 0x0, {0x0, 0x0, 0x0, ...}}) pkg/tcpip/transport/udp/endpoint.go:529 +0x878 gvisor.dev/gvisor/pkg/tcpip/transport/udp.(*endpoint).Write(0xc002fb6380, {0x790388, 0xc0010ee190}, {0xc00118d360, 0x0, 0x0, 0x0, {0x0, 0x0, 0x0, ...}}) pkg/tcpip/transport/udp/endpoint.go:366 +0x7a gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*Socket).SendMsg(0xc00977a000, 0xc00801b500, {{0x797d98, 0xc00606b000}, {0xc0004d4b40, 0x3, 0x0, 0x1}, {0x0, 0x1}}, ...) pkg/sentry/socket/netstack/netstack.go:2936 +0x71a gvisor.dev/gvisor/pkg/sentry/syscalls/linux.sendSingleMsg(0xc00801b500, {0x7ac040, 0xc00977a000}, 0xc000aea360?, 0x10000c0008c0000?, 0x0) pkg/sentry/syscalls/linux/sys_socket.go:1111 +0x66b gvisor.dev/gvisor/pkg/sentry/syscalls/linux.SendMMsg(0xc00801b500, {{0x3}, {0x20003a80}, {0x1}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_socket.go:1035 +0x4df gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00801b500, 0x133, {{0x3}, {0x20003a80}, {0x1}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x9b9 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00801b500, 0x0?, {{0x3}, {0x20003a80}, {0x1}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x7d gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0086e8820?, 0xc004d7a1e0?, {{0x3}, {0x20003a80}, {0x1}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x8f gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00801b500) pkg/sentry/kernel/task_syscall.go:257 +0x4c5 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc00801b500?, 0xc00801b500) pkg/sentry/kernel/task_run.go:253 +0x1965 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00801b500, 0x1126) pkg/sentry/kernel/task_run.go:94 +0x3a2 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:377 +0x1ad