panic: WARNING: circular locking detected: stack.packetsPendingLinkResolutionMutex -> stack.routeRWMutex: goroutine 778 [running]: gvisor.dev/gvisor/pkg/sync/locking.(*ancestorsAtomicPtrMap).RangeRepeatable(0xc0001782f0, 0xc0077e1980) bazel-out/k8-fastbuild-ST-3dcbe13c9b87/bin/pkg/sync/locking/atomicptrmap_ancestors_unsafe.go:441 +0x1dc gvisor.dev/gvisor/pkg/sync/locking.checkLock(0xc000178360, 0xc0001782d0, {0x0, 0x0, 0x0}) pkg/sync/locking/lockdep.go:98 +0x373 gvisor.dev/gvisor/pkg/sync/locking.AddGLock(0xc000178360, 0xffffffffffffffff) pkg/sync/locking/lockdep.go:126 +0x28c gvisor.dev/gvisor/pkg/tcpip/stack.(*routeRWMutex).RLock(0xc000e525f0) bazel-out/k8-fastbuild-ST-3dcbe13c9b87/bin/pkg/tcpip/stack/route_mutex.go:59 +0x45 gvisor.dev/gvisor/pkg/tcpip/stack.(*Route).resolvedFields(0xc000e525a0, 0x0) pkg/tcpip/stack/route.go:379 +0x91 gvisor.dev/gvisor/pkg/tcpip/stack.(*packetsPendingLinkResolution).enqueue(0xc001010798, 0x10?, {0xc001f40730?}) pkg/tcpip/stack/pending_packets.go:128 +0xac gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).WritePacket(0xc001010600, 0x5b4?, {0xc00689fbc0?}) pkg/tcpip/stack/nic.go:368 +0x145 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).writePacket(0xc000531600, 0xc000e525a0, {0x10?}, 0x2b81d9?, 0x0) pkg/tcpip/network/ipv6/ipv6.go:863 +0x409 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).WritePacket(0xc000531600, 0xc000e525a0, {0x86dd?, 0x0?, 0x0?}, {0x4e2200000000?}) pkg/tcpip/network/ipv6/ipv6.go:814 +0x2d8 gvisor.dev/gvisor/pkg/tcpip/stack.(*Route).WritePacket(0xc000e525a0, {0x5410c0?, 0xc0?, 0x0?}, {0x10?}) pkg/tcpip/stack/route.go:498 +0xf9 gvisor.dev/gvisor/pkg/tcpip/transport/tcp.sendTCP(0xc000e525a0, {{0x4e22, {0xc0005410c0, 0x10}, 0x0, {0xc0005410b0, 0x10}}, 0x40, 0x0, 0x12, ...}, ...) pkg/tcpip/transport/tcp/connect.go:912 +0x3fc gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*endpoint).sendTCP(0xc00779ac00, 0x1133a39?, {{0x4e22, {0xc0005410c0, 0x10}, 0x0, {0xc0005410b0, 0x10}}, 0x40, 0x0, ...}, ...) pkg/tcpip/transport/tcp/connect.go:810 +0x19a gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*endpoint).sendSynTCP(0xc00779ac00, 0xc000e525a0, {{0x4e22, {0xc0005410c0, 0x10}, 0x0, {0xc0005410b0, 0x10}}, 0x40, 0x0, ...}, ...) pkg/tcpip/transport/tcp/connect.go:800 +0x2fb gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*handshake).start(0xc003c822d0) pkg/tcpip/transport/tcp/connect.go:575 +0x7fa gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*listenContext).startHandshake(0xc000466840, 0xc005e0e1e0, {0x218, 0xffffffffffffffff, 0x0, 0x0, 0x0, 0x0, 0x0}, 0xc002dcb8f0, ...) pkg/tcpip/transport/tcp/accept.go:296 +0x873 gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*endpoint).handleListenSegment.func1(0xc000b33200, 0x0?, 0x0?, {0x218, 0xffffffffffffffff, 0x0, 0x0, 0x0, 0x0, 0x0}) pkg/tcpip/transport/tcp/accept.go:484 +0x2ee gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*endpoint).handleListenSegment(0xc000b33200, 0xc000466840, 0xc005e0e1e0) pkg/tcpip/transport/tcp/accept.go:493 +0x305 gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*processor).handleListen(0xc000b33350?, 0xc000b33200) pkg/tcpip/transport/tcp/dispatcher.go:275 +0x145 gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*processor).start(0xc000f479e0, 0xc0003aed38) pkg/tcpip/transport/tcp/dispatcher.go:316 +0x389 created by gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*dispatcher).init pkg/tcpip/transport/tcp/dispatcher.go:391 +0x1f2