panic: WARNING: circular locking detected: mm.mappingRWMutex -> tmpfs.filesystemRWMutex: goroutine 27378 [running]: gvisor.dev/gvisor/pkg/log.Stacks(0x0) pkg/log/log.go:316 +0xd3 gvisor.dev/gvisor/pkg/sync/locking.checkLock(0xc0001bdd00, 0xc0001bdd80, {0xc0032aeb00, 0x1, 0x1}) pkg/sync/locking/lockdep.go:56 +0x225 gvisor.dev/gvisor/pkg/sync/locking.checkLock.func1(0xc0001bd7a0, 0xc002d48758) pkg/sync/locking/lockdep.go:76 +0x7a gvisor.dev/gvisor/pkg/sync/locking.(*ancestorsAtomicPtrMap).RangeRepeatable(0xc0001bd780, 0xc002d48870) bazel-out/k8-fastbuild-ST-a4501ad48192/bin/pkg/sync/locking/atomicptrmap_ancestors_unsafe.go:441 +0x334 gvisor.dev/gvisor/pkg/sync/locking.checkLock(0xc0001bdd00, 0xc0001bd780, {0x0, 0x0, 0x0}) pkg/sync/locking/lockdep.go:73 +0x4aa gvisor.dev/gvisor/pkg/sync/locking.AddGLock(0xc0001bdd00, 0x0) pkg/sync/locking/lockdep.go:107 +0x33e gvisor.dev/gvisor/pkg/sentry/fsimpl/tmpfs.(*filesystemRWMutex).RLock(0xc0003fe130) bazel-out/k8-fastbuild-ST-a4501ad48192/bin/pkg/sentry/fsimpl/tmpfs/filesystem_mutex.go:46 +0x53 gvisor.dev/gvisor/pkg/sentry/fsimpl/tmpfs.(*filesystem).PrependPath(0xc0003fe0c0, {0xc0032c40ab, 0x1}, {0xc00052e3c0, 0xc000642400}, {0xc00016a3c0, 0xc0004c4460}, 0x46fc2c) pkg/sentry/fsimpl/tmpfs/filesystem.go:896 +0xc5 gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).PathnameWithDeleted(0x1c0e8f0, {0x1c0e8f0, 0xc0037f6000}, {0xc00052e3c0, 0xc000642400}, {0xc00016a3c0, 0xc0004c4460}) pkg/sentry/vfs/pathname.go:57 +0x323 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).MappedName(0xc000d56100, {0x1c0e8f0, 0xc0037f6000}) pkg/sentry/vfs/file_description.go:791 +0xe5 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).appendVMAMapsEntryLocked(0xc00338f800, {0x1c0e8f0, 0xc0037f6000}, {0xc00338f800, 0x470e65}, 0xdd9d25) pkg/sentry/mm/procfs.go:163 +0x54d gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).ReadMapsDataInto(0xc0033dc000, {0x1c0e8f0, 0xc0037f6000}, 0x2700f4c) pkg/sentry/mm/procfs.go:68 +0x146 gvisor.dev/gvisor/pkg/sentry/fsimpl/proc.(*mapsData).Generate(0xc0032d0380, {0x1c0e8f0, 0xc0037f6000}, 0x470e65) pkg/sentry/fsimpl/proc/task_files.go:545 +0x9f gvisor.dev/gvisor/pkg/sentry/vfs.(*DynamicBytesFileDescriptionImpl).preadLocked(0xc001fdddc0, {0x1c0e8f0, 0xc0037f6000}, {{0x1c02128, 0xc0033dc000}, {0xc002e61270, 0x5, 0x0, 0x204}, {0x0, ...}}, ...) pkg/sentry/vfs/file_description_impl_util.go:301 +0x1a2 gvisor.dev/gvisor/pkg/sentry/vfs.(*DynamicBytesFileDescriptionImpl).Read(0xc001fdddc0, {0x1c0e8f0, 0xc0037f6000}, {{0x1c02128, 0xc0033dc000}, {0xc002e61270, 0x5, 0x0, 0x204}, {0x0, ...}}, ...) pkg/sentry/vfs/file_description_impl_util.go:328 +0x13a gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*DynamicBytesFD).Read(0xc001fdddc0, {0x1c0e8f0, 0xc0037f6000}, {{0x1c02128, 0xc0033dc000}, {0xc002e61270, 0x5, 0x0, 0x204}, {0x0, ...}}, ...) pkg/sentry/fsimpl/kernfs/dynamic_bytes_file.go:115 +0xac gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Read(0xc001fdde20, {0x1c0e8f0, 0xc0037f6000}, {{0x1c02128, 0xc0033dc000}, {0xc002e61270, 0x5, 0x0, 0x204}, {0x0, ...}}, ...) pkg/sentry/vfs/file_description.go:634 +0x16b gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.read(0x0, 0x129c220, {{0x1c02128, 0xc0033dc000}, {0xc002e61270, 0x5, 0x0, 0x204}, {0x0, 0x1}}, ...) pkg/sentry/syscalls/linux/vfs2/read_write.go:94 +0xae gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Readv(0xc0037f6000, {{0x3}, {0x20000380}, {0x5}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/vfs2/read_write.go:88 +0x34f gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc0037f6000, 0x13, {{0x3}, {0x20000380}, {0x5}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0xaf7 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc0037f6000, 0x1, {{0x3}, {0x20000380}, {0x5}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x8e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0022e4a50, 0x1, {{0x3}, {0x20000380}, {0x5}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0xc5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0037f6000) pkg/sentry/kernel/task_syscall.go:257 +0x4c7 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc0037f6000, 0xc0037f6000) pkg/sentry/kernel/task_run.go:253 +0x19fc gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc0037f6000, 0x2e0) pkg/sentry/kernel/task_run.go:94 +0x2d4 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:370 +0x1d1