panic: WARNING: circular locking detected: stack.nicRWMutex -> stack.packetsPendingLinkResolutionMutex: goroutine 155069 [running]: gvisor.dev/gvisor/pkg/sync/locking.(*ancestorsAtomicPtrMap).RangeRepeatable(0xc0002b8140, 0xc00750b858) bazel-out/k8-fastbuild-ST-3dcbe13c9b87/bin/pkg/sync/locking/atomicptrmap_ancestors_unsafe.go:441 +0x314 gvisor.dev/gvisor/pkg/sync/locking.checkLock(0xc0002b82d0, 0xc0002b8120, {0x0, 0x0, 0x0}) pkg/sync/locking/lockdep.go:98 +0x3a9 gvisor.dev/gvisor/pkg/sync/locking.AddGLock(0xc0002b82d0, 0xffffffffffffffff) pkg/sync/locking/lockdep.go:126 +0x2df gvisor.dev/gvisor/pkg/tcpip/stack.(*packetsPendingLinkResolutionMutex).Lock(0xc000ee4dc0) bazel-out/k8-fastbuild-ST-3dcbe13c9b87/bin/pkg/tcpip/stack/packets_pending_link_resolution_mutex.go:33 +0x58 gvisor.dev/gvisor/pkg/tcpip/stack.(*packetsPendingLinkResolution).cancel(0xc000ee4db8) pkg/tcpip/stack/pending_packets.go:75 +0x6d gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).remove(0xc000ee4c00) pkg/tcpip/stack/nic.go:314 +0x205 gvisor.dev/gvisor/pkg/tcpip/stack.(*Stack).removeNICLocked(0xc006fe6000, 0x1358) pkg/tcpip/stack/stack.go:976 +0x225 gvisor.dev/gvisor/pkg/tcpip/stack.(*Stack).Wait(0xc006fe6000) pkg/tcpip/stack/stack.go:1764 +0x3bf gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*Stack).Destroy.func1() pkg/sentry/socket/netstack/stack.go:47 +0x52 created by gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*Stack).Destroy pkg/sentry/socket/netstack/stack.go:46 +0xcf