panic: WARNING: circular locking detected: stack.packetsPendingLinkResolutionMutex -> stack.routeRWMutex: goroutine 484 [running]: gvisor.dev/gvisor/pkg/sync/locking.(*ancestorsAtomicPtrMap).RangeRepeatable(0xc0004562f0, 0xc002dc4ec8) bazel-out/k8-fastbuild-ST-3dcbe13c9b87/bin/pkg/sync/locking/atomicptrmap_ancestors_unsafe.go:441 +0x314 gvisor.dev/gvisor/pkg/sync/locking.checkLock(0xc000456360, 0xc0004562d0, {0x0, 0x0, 0x0}) pkg/sync/locking/lockdep.go:98 +0x3a9 gvisor.dev/gvisor/pkg/sync/locking.AddGLock(0xc000456360, 0xffffffffffffffff) pkg/sync/locking/lockdep.go:126 +0x2df gvisor.dev/gvisor/pkg/tcpip/stack.(*routeRWMutex).RLock(0xc002ce0050) bazel-out/k8-fastbuild-ST-3dcbe13c9b87/bin/pkg/tcpip/stack/route_mutex.go:59 +0x58 gvisor.dev/gvisor/pkg/tcpip/stack.(*Route).resolvedFields(0xc002ce0000, 0x0) pkg/tcpip/stack/route.go:379 +0xa5 gvisor.dev/gvisor/pkg/tcpip/stack.(*packetsPendingLinkResolution).enqueue(0xc000f8a798, 0x10?, {0xc00162eee0?}) pkg/tcpip/stack/pending_packets.go:128 +0xc5 gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).WritePacket(0xc000f8a600, 0x5b4?, {0x14770a5?}) pkg/tcpip/stack/nic.go:368 +0x174 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).writePacket(0xc000958900, 0xc002ce0000, {0x10?}, 0xac4a39?, 0x0) pkg/tcpip/network/ipv6/ipv6.go:863 +0x4e6 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).WritePacket(0xc000958900, 0xc002ce0000, {0x86dd?, 0x0?, 0x0?}, {0x4a?}) pkg/tcpip/network/ipv6/ipv6.go:814 +0x3d9 gvisor.dev/gvisor/pkg/tcpip/stack.(*Route).WritePacket(0xc002ce0000, {0x1b13b70?, 0xc0?, 0x0?}, {0x10?}) pkg/tcpip/stack/route.go:498 +0x139 gvisor.dev/gvisor/pkg/tcpip/transport/tcp.sendTCP(0xc002ce0000, {{0x4e22, {0xc001b13b70, 0x10}, 0x0, {0xc001b13b60, 0x10}}, 0x40, 0x0, 0x12, ...}, ...) pkg/tcpip/transport/tcp/connect.go:912 +0x3fc gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*endpoint).sendTCP(0xc002cee000, 0x109a4a5?, {{0x4e22, {0xc001b13b70, 0x10}, 0x0, {0xc001b13b60, 0x10}}, 0x40, 0x0, ...}, ...) pkg/tcpip/transport/tcp/connect.go:810 +0x1ba gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*endpoint).sendSynTCP(0xc002cee000, 0x106c19b?, {{0x4e22, {0xc001b13b70, 0x10}, 0x0, {0xc001b13b60, 0x10}}, 0x40, 0x0, ...}, ...) pkg/tcpip/transport/tcp/connect.go:800 +0x27b gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*handshake).start(0xc0013efb00) pkg/tcpip/transport/tcp/connect.go:575 +0x8ba gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*listenContext).startHandshake(0xc000c9a540, 0xc0020a7950, {0x218, 0xffffffffffffffff, 0x0, 0x0, 0x0, 0x0, 0x0}, 0xc0017b16e0, ...) pkg/tcpip/transport/tcp/accept.go:296 +0x6d2 gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*endpoint).handleListenSegment.func1(0xc002876c00, 0x0?, 0x0?, {0x218, 0xffffffffffffffff, 0x0, 0x0, 0x0, 0x0, 0x0}) pkg/tcpip/transport/tcp/accept.go:484 +0x32e gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*endpoint).handleListenSegment(0xc002876c00, 0xc000c9a540, 0xc0020a7950) pkg/tcpip/transport/tcp/accept.go:493 +0x39d gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*processor).handleListen(0xc002876c0a?, 0xc002876c00) pkg/tcpip/transport/tcp/dispatcher.go:275 +0x1a5 gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*processor).start(0xc00062a2c0, 0xc0005831b8) pkg/tcpip/transport/tcp/dispatcher.go:316 +0x4b2 created by gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*dispatcher).init pkg/tcpip/transport/tcp/dispatcher.go:391 +0x1f2