panic: WARNING: circular locking detected: mm.activeRWMutex -> kernfs.filesystemRWMutex: goroutine 3562 [running]: gvisor.dev/gvisor/pkg/sync/locking.(*ancestorsAtomicPtrMap).RangeRepeatable(0xc0002eea40, 0xc0005f7710) bazel-out/k8-fastbuild-ST-3dcbe13c9b87/bin/pkg/sync/locking/atomicptrmap_ancestors_unsafe.go:440 +0x1dc gvisor.dev/gvisor/pkg/sync/locking.checkLock(0xc0002ee750, 0xc0002eea20, {0x0, 0x0, 0x0}) pkg/sync/locking/lockdep.go:112 +0x48d gvisor.dev/gvisor/pkg/sync/locking.AddGLock(0xc0002ee750, 0xffffffffffffffff) pkg/sync/locking/lockdep.go:144 +0x2dc gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*filesystemRWMutex).RLock(0xc000504190) bazel-out/k8-fastbuild-ST-3dcbe13c9b87/bin/pkg/sentry/fsimpl/kernfs/filesystem_mutex.go:59 +0x45 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Dentry).InotifyWithParent(0xc000b24a20, {0x82c058, 0xc000a9f500}, 0x8, 0xc0?, 0xb0?) pkg/sentry/fsimpl/kernfs/kernfs.go:517 +0xa8 gvisor.dev/gvisor/pkg/sentry/vfs.(*Dentry).InotifyWithParent(...) pkg/sentry/vfs/dentry.go:187 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef.func1() pkg/sentry/vfs/file_description.go:167 +0xdf gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescriptionRefs).DecRef(0xc00131c480, 0xc0005f7b38) bazel-out/k8-fastbuild-ST-3dcbe13c9b87/bin/pkg/sentry/vfs/file_description_refs.go:131 +0x5f gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef(0xc00131c480, {0x82c058, 0xc000a9f500}) pkg/sentry/vfs/file_description.go:161 +0x6f gvisor.dev/gvisor/pkg/sentry/socket/control.(*RightsFiles).Release(0xc0009b4c18, {0x82c058, 0xc000a9f500}) pkg/sentry/socket/control/control.go:707 +0x85 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*streamQueueReceiver).Recv(0xc0008d2420, {0x82c058, 0xc000a9f500}, {0xc001133c38, 0x1, 0x1}, 0x0, 0x0, 0x0) pkg/sentry/socket/unix/transport/unix.go:552 +0x902 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*baseEndpoint).RecvMsg(0xc0013191e0, {0x82c058, 0xc000a9f500}, {0xc001133c38, 0x1, 0x1}, 0x4?, 0x4?, 0x28?, 0x0) pkg/sentry/socket/unix/transport/unix.go:871 +0x10b gvisor.dev/gvisor/pkg/sentry/socket/unix.(*EndpointReader).ReadToBlocks.func1({0xc001133c38, 0x1, 0x1}) pkg/sentry/socket/unix/io.go:115 +0x14d gvisor.dev/gvisor/pkg/safemem.FromVecReaderFunc.ReadToBlocks({0x3c0?}, {0x7f697f6003c0?, 0x0?, 0x1000?, 0xffffffffffffffff?}) pkg/safemem/io.go:282 +0x38c gvisor.dev/gvisor/pkg/sentry/socket/unix.(*EndpointReader).ReadToBlocks(0xc0003afd80, {0x7f697f6003c0?, 0x0?, 0x200013c0?, 0x200003c0?}) pkg/sentry/socket/unix/io.go:124 +0x7f gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).withInternalMappings(0xc001326000, {0x82c058, 0xc000a9f500}, {0x14ab432?, 0x12d2819?}, {0xd7?, 0x43?, 0x2d?}, 0x1?, 0xc0005f8648) pkg/sentry/mm/io.go:522 +0x196 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).withVecInternalMappings(0xc001326000, {0x82c058, 0xc000a9f500}, {0x0?, 0xc0005f8680?, 0xc000a9f500?, 0x2764c40?}, {0x0, 0x1, 0x0}, ...) pkg/sentry/mm/io.go:591 +0x6c5 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).CopyOutFrom(0xc001326000, {0x82c058, 0xc000a9f500}, {0x0?, 0x0?, 0xc00090c660?, 0x0?}, {0x80fe40?, 0xc0003afd80?}, {0x0, ...}) pkg/sentry/mm/io.go:273 +0x2a9 gvisor.dev/gvisor/pkg/usermem.IOSequence.CopyOutFrom(...) pkg/usermem/usermem.go:508 gvisor.dev/gvisor/pkg/sentry/socket/unix.(*Socket).RecvMsg.func1() pkg/sentry/socket/unix/unix.go:715 +0xf9 gvisor.dev/gvisor/pkg/sentry/socket/unix.(*Socket).RecvMsg(0xc00131c540, 0xc000a9f500, {{0x826250, 0xc001326000}, {0x0, 0x1, 0x200003c0, 0x1000}, {0x0, 0x1}}, ...) pkg/sentry/socket/unix/unix.go:772 +0x886 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.recvSingleMsg(0xc000a9f500, {0x83cd48, 0xc00131c540}, 0x20001580, 0x0, 0x0?, {0xc000a9f501?}) pkg/sentry/syscalls/linux/sys_socket.go:812 +0x268 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.RecvMMsg(0xc000a9f500, 0x12d2819?, {{0x4}, {0x20001580}, {0x1}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_socket.go:730 +0x905 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc000a9f500, 0x12b, {{0x4}, {0x20001580}, {0x1}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x9c2 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc000a9f500, 0x0?, {{0x4}, {0x20001580}, {0x1}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x7d gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc00058a9c0?, 0xc0007fb770?, {{0x4}, {0x20001580}, {0x1}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x8f gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc000a9f500) pkg/sentry/kernel/task_syscall.go:257 +0x4c5 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc000a9f500?, 0xc000a9f500) pkg/sentry/kernel/task_run.go:269 +0x1d4b gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc000a9f500, 0xcc) pkg/sentry/kernel/task_run.go:98 +0x41b created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:377 +0x1ad