panic: WARNING: circular locking detected: stack.packetsPendingLinkResolutionMutex -> stack.routeRWMutex: goroutine 60172 [running]: gvisor.dev/gvisor/pkg/sync/locking.(*ancestorsAtomicPtrMap).RangeRepeatable(0xc0004382f0, 0xc0028c4830) bazel-out/k8-fastbuild-ST-3dcbe13c9b87/bin/pkg/sync/locking/atomicptrmap_ancestors_unsafe.go:441 +0x314 gvisor.dev/gvisor/pkg/sync/locking.checkLock(0xc000438360, 0xc0004382d0, {0x0, 0x0, 0x0}) pkg/sync/locking/lockdep.go:98 +0x3a9 gvisor.dev/gvisor/pkg/sync/locking.AddGLock(0xc000438360, 0xffffffffffffffff) pkg/sync/locking/lockdep.go:126 +0x2df gvisor.dev/gvisor/pkg/tcpip/stack.(*routeRWMutex).RLock(0xc00025a690) bazel-out/k8-fastbuild-ST-3dcbe13c9b87/bin/pkg/tcpip/stack/route_mutex.go:59 +0x58 gvisor.dev/gvisor/pkg/tcpip/stack.(*Route).resolvedFields(0xc00025a640, 0x0) pkg/tcpip/stack/route.go:379 +0xa5 gvisor.dev/gvisor/pkg/tcpip/stack.(*packetsPendingLinkResolution).enqueue(0xc000e82798, 0x10?, {0xc0004facd0?}) pkg/tcpip/stack/pending_packets.go:128 +0xc5 gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).WritePacket(0xc000e82600, 0x5b4?, {0x14770a5?}) pkg/tcpip/stack/nic.go:368 +0x174 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).writePacket(0xc0006aa400, 0xc00025a640, {0x10?}, 0x4fa019?, 0x0) pkg/tcpip/network/ipv6/ipv6.go:863 +0x4e6 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).WritePacket(0xc0006aa400, 0xc00025a640, {0x86dd?, 0x0?, 0x0?}, {0x106bca5?}) pkg/tcpip/network/ipv6/ipv6.go:814 +0x3d9 gvisor.dev/gvisor/pkg/tcpip/stack.(*Route).WritePacket(0xc00025a640, {0x8?, 0x0?, 0x0?}, {0xa?}) pkg/tcpip/stack/route.go:498 +0x139 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*protocol).returnError(0xc000893a00, {0x6a5948, 0xc00591dc84}, {0x7f9d2c2d95d8?}, 0x1) pkg/tcpip/network/ipv6/icmp.go:1194 +0xdb9 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).processIPv6HopByHopOptionsExtHdr(0xc0006aa400, 0xc002eafb98, 0xc001685e00, {0xc00084f260?}, {0xc005c65d38, 0x10}, 0xc005c66140, 0x0, 0x0) pkg/tcpip/network/ipv6/ipv6.go:1679 +0x998 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).processExtensionHeader(0xc0006aa400, 0xc001685e00, 0xc005c66230, {0xc0052b298e, 0x28, 0x32}, 0xc005c66140, 0xc005c660de, 0x0) pkg/tcpip/network/ipv6/ipv6.go:1368 +0x3d3 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).processExtensionHeaders(0xc00084f260?, {0xc0052b298e, 0x28, 0x32}, {0xc0007da140}, 0x0?) pkg/tcpip/network/ipv6/ipv6.go:1440 +0x43e gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).deliverPacketLocally(0xc0006aa400, {0xc0052b298e, 0x28, 0x32}, {0xc000438480?}, {0xc0004fa019, 0x7}) pkg/tcpip/network/ipv6/ipv6.go:1329 +0x187 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).handleValidatedPacket(0xc0006aa400, {0xc0052b298e, 0x28, 0x32}, {0xc0004fa019?}, {0xc0004fa019, 0x7}) pkg/tcpip/network/ipv6/ipv6.go:1291 +0x439 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).HandlePacket(0xc0006aa400, {0x106bca5?}) pkg/tcpip/network/ipv6/ipv6.go:1092 +0x76b gvisor.dev/gvisor/pkg/tcpip/stack.(*groDispatcher).dispatch(0xc000e82818, {0xc000aa03c0?}, 0x86dd, {0x6b2288, 0xc0006aa400}) pkg/tcpip/stack/gro.go:297 +0x13dd gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).DeliverNetworkPacket(0xc000e82600, 0x86dd, {0x1?}) pkg/tcpip/stack/nic.go:741 +0x192 gvisor.dev/gvisor/pkg/tcpip/link/nested.(*Endpoint).DeliverNetworkPacket(0xc0008269b0, 0x106a98c?, {0x106c19b?}) pkg/tcpip/link/nested/nested.go:59 +0xc6 gvisor.dev/gvisor/pkg/tcpip/link/packetsocket.(*endpoint).DeliverNetworkPacket(0xc0008269b0, 0x1?, {0xe?}) pkg/tcpip/link/packetsocket/packetsocket.go:46 +0x6a gvisor.dev/gvisor/pkg/tcpip/link/channel.(*Endpoint).InjectInbound(0xc000420000, 0x0?, {0xc0052b2940?}) pkg/tcpip/link/channel/channel.go:194 +0x67 gvisor.dev/gvisor/pkg/tcpip/link/tun.(*Device).Write(0xc000ab25a8, 0xc002e7bb30?) pkg/tcpip/link/tun/device.go:249 +0x7e6 gvisor.dev/gvisor/pkg/sentry/devices/tundev.(*tunFD).Write(0xc000ab2540, {0x6b3718?, 0xc004b08a80}, {{0x6ae2f8, 0xc00454e000}, {0x0, 0x1, 0x20000140, 0x40}, {0x0, ...}}, ...) pkg/sentry/devices/tundev/tundev.go:164 +0x55f gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Write(0xc000ab2540, {0x6b3718, 0xc004b08a80}, {{0x6ae2f8, 0xc00454e000}, {0x0, 0x1, 0x20000140, 0x40}, {0x0, ...}}, ...) pkg/sentry/vfs/file_description.go:674 +0x152 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.write(0x0?, 0x0?, {{0x6ae2f8, 0xc00454e000}, {0x0, 0x1, 0x20000140, 0x40}, {0x0, 0x1}}, ...) pkg/sentry/syscalls/linux/sys_read_write.go:347 +0xae gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Write(0xc004b08a80, {{0xc8}, {0x20000140}, {0x40}, {0x40}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_read_write.go:316 +0x34f gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc004b08a80, 0x1, {{0xc8}, {0x20000140}, {0x40}, {0x40}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0xab8 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc004b08a80, 0x1?, {{0xc8}, {0x20000140}, {0x40}, {0x40}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x8e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc005738f00?, 0x106a98c?, {{0xc8}, {0x20000140}, {0x40}, {0x40}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0xc5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc004b08a80) pkg/sentry/kernel/task_syscall.go:257 +0x53b gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc004b08a80?, 0xc004b08a80) pkg/sentry/kernel/task_run.go:253 +0x1e94 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc004b08a80, 0x53f) 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