panic: WARNING: circular locking detected: stack.packetEndpointListRWMutex -> fasync.fileMutex:
goroutine 1477124 [running]:
gvisor.dev/gvisor/pkg/sync/locking.(*ancestorsAtomicPtrMap).RangeRepeatable(0xc0002ee890, 0xc009ddff40)
bazel-out/k8-fastbuild-ST-3dcbe13c9b87/bin/pkg/sync/locking/atomicptrmap_ancestors_unsafe.go:440 +0x1dc
gvisor.dev/gvisor/pkg/sync/locking.checkLock(0xc0002eef30, 0xc0002ee870, {0xc009d96040, 0x3, 0x4})
pkg/sync/locking/lockdep.go:112 +0x48d
gvisor.dev/gvisor/pkg/sync/locking.checkLock.func1(0xc0002ee9d0?, 0xc009de0068?)
pkg/sync/locking/lockdep.go:115 +0x65
gvisor.dev/gvisor/pkg/sync/locking.(*ancestorsAtomicPtrMap).RangeRepeatable(0xc0002ee9b0, 0xc009de0178)
bazel-out/k8-fastbuild-ST-3dcbe13c9b87/bin/pkg/sync/locking/atomicptrmap_ancestors_unsafe.go:440 +0x1dc
gvisor.dev/gvisor/pkg/sync/locking.checkLock(0xc0002eef30, 0xc0002ee990, {0xc009d906d0, 0x2, 0x2})
pkg/sync/locking/lockdep.go:112 +0x48d
gvisor.dev/gvisor/pkg/sync/locking.checkLock.func1(0xc0002ee160?, 0xc009de02a0?)
pkg/sync/locking/lockdep.go:115 +0x65
gvisor.dev/gvisor/pkg/sync/locking.(*ancestorsAtomicPtrMap).RangeRepeatable(0xc0002ee140, 0xc009de03b0)
bazel-out/k8-fastbuild-ST-3dcbe13c9b87/bin/pkg/sync/locking/atomicptrmap_ancestors_unsafe.go:440 +0x1dc
gvisor.dev/gvisor/pkg/sync/locking.checkLock(0xc0002eef30, 0xc0002ee120, {0xc01fe5a0e0, 0x1, 0x1})
pkg/sync/locking/lockdep.go:112 +0x48d
gvisor.dev/gvisor/pkg/sync/locking.checkLock.func1(0xc0001f7e10?, 0xc009de04d8?)
pkg/sync/locking/lockdep.go:115 +0x65
gvisor.dev/gvisor/pkg/sync/locking.(*ancestorsAtomicPtrMap).RangeRepeatable(0xc0001f7df0, 0xc009de05e8)
bazel-out/k8-fastbuild-ST-3dcbe13c9b87/bin/pkg/sync/locking/atomicptrmap_ancestors_unsafe.go:440 +0x1dc
gvisor.dev/gvisor/pkg/sync/locking.checkLock(0xc0002eef30, 0xc0001f7dd0, {0x0, 0x0, 0x0})
pkg/sync/locking/lockdep.go:112 +0x48d
gvisor.dev/gvisor/pkg/sync/locking.AddGLock(0xc0002eef30, 0xffffffffffffffff)
pkg/sync/locking/lockdep.go:144 +0x2dc
gvisor.dev/gvisor/pkg/sentry/kernel/fasync.(*fileMutex).Lock(0xc02d1e0f88)
bazel-out/k8-fastbuild-ST-3dcbe13c9b87/bin/pkg/sentry/kernel/fasync/file_mutex.go:33 +0x45
gvisor.dev/gvisor/pkg/sentry/kernel/fasync.(*FileAsync).NotifyEvent(0xc02d1e0f50, 0x41)
pkg/sentry/kernel/fasync/fasync.go:90 +0x65
gvisor.dev/gvisor/pkg/waiter.(*Queue).Notify(0xc01e9b9440, 0x41)
pkg/waiter/waiter.go:238 +0xae
gvisor.dev/gvisor/pkg/tcpip/transport/packet.(*endpoint).HandlePacket(0xc0099b2000, 0xd63a, 0x86dd, 0xc004c14a00)
pkg/tcpip/transport/packet/endpoint.go:473 +0x6af
gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).DeliverLinkPacket.func2({0x829bc0, 0xc0099b2000})
pkg/tcpip/stack/nic.go:772 +0x31e
gvisor.dev/gvisor/pkg/tcpip/stack.(*packetEndpointList).forEach(0xc01e9b9500, 0xc009de17d0)
pkg/tcpip/stack/nic.go:130 +0x122
gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).DeliverLinkPacket(0xc00136ac00, 0x86dd, 0xc004c14780)
pkg/tcpip/stack/nic.go:787 +0x236
gvisor.dev/gvisor/pkg/tcpip/link/nested.(*Endpoint).DeliverLinkPacket(0xc00ca050e0, 0x1aa33a5?, 0x0?)
pkg/tcpip/link/nested/nested.go:69 +0x99
gvisor.dev/gvisor/pkg/tcpip/link/packetsocket.(*endpoint).WritePackets(0xc00ca050e0, {{0xc01fe5a0c8, 0x1, 0x1}})
pkg/tcpip/link/packetsocket/packetsocket.go:52 +0x9f
gvisor.dev/gvisor/pkg/tcpip/stack.(*delegatingQueueingDiscipline).WritePacket(0xc018f078c0, 0x132c105?)
pkg/tcpip/stack/nic.go:146 +0x98
gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).writeRawPacket(0xc00136ac00, 0xc004c14780)
pkg/tcpip/stack/nic.go:392 +0x85
gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).writePacket(0xc00136ac00, 0x100000000000000?)
pkg/tcpip/stack/nic.go:386 +0x5a
gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).WritePacket(0xc00136ac00, 0xc00000ffca?, 0xc004c14780)
pkg/tcpip/stack/nic.go:347 +0x206
gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).writePacket(0xc018bcca80, 0xc00067d380, 0xc004c14780, 0x4e8db5?, 0x0)
pkg/tcpip/network/ipv6/ipv6.go:878 +0x409
gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).WritePacket(0xc018bcca80, 0xc00067d380, {0x86dd?, 0x0?, 0x0?}, 0x0?)
pkg/tcpip/network/ipv6/ipv6.go:829 +0x46d
gvisor.dev/gvisor/pkg/tcpip/stack.(*Route).WritePacket(0xc00067d380, {0x3e?, 0x0?, 0x0?}, 0xc006fe55e0?)
pkg/tcpip/stack/route.go:495 +0xf9
gvisor.dev/gvisor/pkg/tcpip/transport/internal/network.(*WriteContext).WritePacket(0xc009de2380, 0xc004c14780, 0x0)
pkg/tcpip/transport/internal/network/endpoint.go:320 +0x1ed
gvisor.dev/gvisor/pkg/tcpip/transport/udp.(*endpoint).write(0xc009a45c00, {0x835408, 0xc017f2a640}, {0x0, 0x0, 0x0, 0x0, {0x0, 0x0, 0x0, ...}})
pkg/tcpip/transport/udp/endpoint.go:529 +0x8eb
gvisor.dev/gvisor/pkg/tcpip/transport/udp.(*endpoint).Write(0xc009a45c00, {0x835408, 0xc017f2a640}, {0x0, 0x0, 0x0, 0x0, {0x0, 0x0, 0x0, ...}})
pkg/tcpip/transport/udp/endpoint.go:366 +0x87
gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*sock).Write(0xc0059abe00, {0x846360?, 0xc025b2a000}, {{0x83fcf0, 0xc02419e000}, {0x0, 0x1, 0x0, 0x0}, {0x0, ...}}, ...)
pkg/sentry/socket/netstack/netstack.go:482 +0x203
gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Write(0xc0059abe00, {0x846360, 0xc025b2a000}, {{0x83fcf0, 0xc02419e000}, {0x0, 0x1, 0x0, 0x0}, {0x0, ...}}, ...)
pkg/sentry/vfs/file_description.go:679 +0x125
gvisor.dev/gvisor/pkg/sentry/syscalls/linux.write(0xc0ffffffff?, 0xc0059abe00, {{0x83fcf0, 0xc02419e000}, {0x0, 0x1, 0x0, 0x0}, {0x0, 0x1}}, ...)
pkg/sentry/syscalls/linux/sys_read_write.go:347 +0x9d
gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Write(0xc025b2a000, 0x3?, {{0x3}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}})
pkg/sentry/syscalls/linux/sys_read_write.go:316 +0x275
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc025b2a000, 0x1, {{0x3}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}})
pkg/sentry/kernel/task_syscall.go:142 +0x9c2
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc025b2a000, 0x0?, {{0x3}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}})
pkg/sentry/kernel/task_syscall.go:322 +0x7d
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0187c0270?, 0xc02b5a9a40?, {{0x3}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}})
pkg/sentry/kernel/task_syscall.go:282 +0x8f
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc025b2a000)
pkg/sentry/kernel/task_syscall.go:257 +0x4c5
gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc025b2a000?, 0xc025b2a000)
pkg/sentry/kernel/task_run.go:269 +0x1d4b
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc025b2a000, 0xbbed)
pkg/sentry/kernel/task_run.go:98 +0x41b
created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start
pkg/sentry/kernel/task_start.go:383 +0x1ad