panic: WARNING: circular locking detected: mm.activeRWMutex -> kernfs.filesystemRWMutex: goroutine 1574954 [running]: gvisor.dev/gvisor/pkg/sync/locking.(*ancestorsAtomicPtrMap).RangeRepeatable(0xc00029cad0, 0xc00093d8c0) bazel-out/k8-fastbuild-ST-3dcbe13c9b87/bin/pkg/sync/locking/atomicptrmap_ancestors_unsafe.go:440 +0x31d gvisor.dev/gvisor/pkg/sync/locking.checkLock(0xc00029c7e0, 0xc00029cab0, {0x0, 0x0, 0x0}) pkg/sync/locking/lockdep.go:112 +0x4e6 gvisor.dev/gvisor/pkg/sync/locking.AddGLock(0xc00029c7e0, 0xffffffffffffffff) pkg/sync/locking/lockdep.go:144 +0x385 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*filesystemRWMutex).RLock(0xc000540230) bazel-out/k8-fastbuild-ST-3dcbe13c9b87/bin/pkg/sentry/fsimpl/kernfs/filesystem_mutex.go:59 +0x58 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Dentry).InotifyWithParent(0xc0051002d0, {0x75ab98, 0xc0058a2a80}, 0x8, 0x0?, 0xd4?) pkg/sentry/fsimpl/kernfs/kernfs.go:517 +0xec gvisor.dev/gvisor/pkg/sentry/vfs.(*Dentry).InotifyWithParent(0xc0051002d0, {0x75ab98, 0xc0058a2a80}, 0x3880b1c?, 0x0?, 0x1?) pkg/sentry/vfs/dentry.go:187 +0x93 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef.func1() pkg/sentry/vfs/file_description.go:167 +0x111 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescriptionRefs).DecRef(0xc000ad6d80, 0xc00093dd18) bazel-out/k8-fastbuild-ST-3dcbe13c9b87/bin/pkg/sentry/vfs/file_description_refs.go:131 +0xb2 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef(0xc000ad6d80, {0x75ab98, 0xc0058a2a80}) pkg/sentry/vfs/file_description.go:161 +0x87 gvisor.dev/gvisor/pkg/sentry/socket/control.(*RightsFiles).Release(0xc002aa7aa0, {0x75ab98, 0xc0058a2a80}) pkg/sentry/socket/control/control.go:707 +0xb9 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*streamQueueReceiver).Recv(0xc007a79e00, {0x75ab98, 0xc0058a2a80}, {0xc0092375d8, 0x1, 0x1}, 0x0, 0x0, 0x0) pkg/sentry/socket/unix/transport/unix.go:552 +0x62e gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*baseEndpoint).RecvMsg(0xc00215c9a0, {0x75ab98, 0xc0058a2a80}, {0xc0092375d8, 0x1, 0x1}, 0x0?, 0x1f719e151bb720d9?, 0x70?, 0x0) pkg/sentry/socket/unix/transport/unix.go:871 +0x13c gvisor.dev/gvisor/pkg/sentry/socket/unix.(*EndpointReader).ReadToBlocks.func1({0xc0092375d8, 0x1, 0x1}) pkg/sentry/socket/unix/io.go:115 +0x15d gvisor.dev/gvisor/pkg/safemem.FromVecReaderFunc.ReadToBlocks({0x7fb918a003c0?}, {0x7fb918a003c0?, 0x20000000?, 0x20?, 0x1000?}) pkg/safemem/io.go:282 +0x4d0 gvisor.dev/gvisor/pkg/sentry/socket/unix.(*EndpointReader).ReadToBlocks(0xc004f9ec80, {0x7fb918a003c0?, 0x1000?, 0x0?, 0x200013c0?}) pkg/sentry/socket/unix/io.go:124 +0x90 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).withInternalMappings(0xc009f3a000, {0x75ab98, 0xc0058a2a80}, {0x139f9ec?, 0x122ef05?}, {0xf5?, 0x6d?, 0x8c?}, 0x1?, 0xc00093e6d0) pkg/sentry/mm/io.go:522 +0x819 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).withVecInternalMappings(0xc009f3a000, {0x75ab98, 0xc0058a2a80}, {0x0?, 0x27f36d4?, 0xc009f3a000?, 0x19c?}, {0x0, 0x1, 0x0}, ...) pkg/sentry/mm/io.go:591 +0x83f gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).CopyOutFrom(0xc009f3a000, {0x75ab98, 0xc0058a2a80}, {0x0?, 0x1add9c5?, 0x0?, 0xc00093e6c8?}, {0x73ec00?, 0xc004f9ec80?}, {0x0, ...}) pkg/sentry/mm/io.go:273 +0x32b gvisor.dev/gvisor/pkg/usermem.IOSequence.CopyOutFrom({{0x755010, 0xc009f3a000}, {0x0, 0x1, 0x200003c0, 0x1000}, {0x0, 0x1}}, {0x75ab98, 0xc0058a2a80}, ...) pkg/usermem/usermem.go:508 +0xd8 gvisor.dev/gvisor/pkg/sentry/socket/unix.(*Socket).RecvMsg.func1() pkg/sentry/socket/unix/unix.go:715 +0x125 gvisor.dev/gvisor/pkg/sentry/socket/unix.(*Socket).RecvMsg(0xc000ad6e40, 0xc0058a2a80, {{0x755010, 0xc009f3a000}, {0x0, 0x1, 0x200003c0, 0x1000}, {0x0, 0x1}}, ...) pkg/sentry/socket/unix/unix.go:772 +0xda9 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.recvSingleMsg(0xc0058a2a80, {0x76b888, 0xc000ad6e40}, 0x20001580, 0x0, 0x0?, {0xc0058a2a80?}) pkg/sentry/syscalls/linux/sys_socket.go:812 +0x2c7 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.RecvMMsg(0xc0058a2a80, 0x7?, {{0x4}, {0x20001580}, {0x1}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_socket.go:730 +0xb28 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc0058a2a80, 0x12b, {{0x4}, {0x20001580}, {0x1}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0xabf gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc0058a2a80, 0x1?, {{0x4}, {0x20001580}, {0x1}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x8e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0018f82d0?, 0xc00093fb37?, {{0x4}, {0x20001580}, {0x1}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0xc5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0058a2a80) pkg/sentry/kernel/task_syscall.go:257 +0x53b gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc0058a2a80?, 0xc0058a2a80) pkg/sentry/kernel/task_run.go:269 +0x22b4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc0058a2a80, 0x5f5b) pkg/sentry/kernel/task_run.go:98 +0x35b created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:377 +0x1da