panic: WARNING: circular locking detected: mm.mappingRWMutex -> tmpfs.filesystemRWMutex: goroutine 217147 [running]: gvisor.dev/gvisor/pkg/log.Stacks(0x0) pkg/log/log.go:316 +0x8d gvisor.dev/gvisor/pkg/sync/locking.checkLock(0xc00023dd00, 0xc00023dd80, {0xc001842280, 0x1, 0x1}) pkg/sync/locking/lockdep.go:56 +0x1f4 gvisor.dev/gvisor/pkg/sync/locking.checkLock.func1(0xc00023d7a0, 0xc0006f6970) pkg/sync/locking/lockdep.go:76 +0x65 gvisor.dev/gvisor/pkg/sync/locking.(*ancestorsAtomicPtrMap).RangeRepeatable(0xc00023d780, 0xc0006f6a88) bazel-out/k8-fastbuild-ST-a4501ad48192/bin/pkg/sync/locking/atomicptrmap_ancestors_unsafe.go:441 +0x226 gvisor.dev/gvisor/pkg/sync/locking.checkLock(0xc00023dd00, 0xc00023d780, {0x0, 0x0, 0x0}) pkg/sync/locking/lockdep.go:73 +0x46c gvisor.dev/gvisor/pkg/sync/locking.AddGLock(0xc00023dd00, 0x0) pkg/sync/locking/lockdep.go:107 +0x3ba gvisor.dev/gvisor/pkg/sentry/fsimpl/tmpfs.(*filesystemRWMutex).RLock(0xc00025e370) bazel-out/k8-fastbuild-ST-a4501ad48192/bin/pkg/sentry/fsimpl/tmpfs/filesystem_mutex.go:46 +0x3f gvisor.dev/gvisor/pkg/sentry/fsimpl/tmpfs.(*filesystem).PrependPath(0xc00025e300, {0x6400000000, 0x73}, {0xc0001b6720, 0xc000392400}, {0xc000382d20, 0xc000786640}, 0xc001573e2b) pkg/sentry/fsimpl/tmpfs/filesystem.go:896 +0xaa gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).PathnameWithDeleted(0x18461e0, {0x1b85c70, 0xc00340f500}, {0xc0001b6720, 0xc000392400}, {0xc000382d20, 0xc000786640}) pkg/sentry/vfs/pathname.go:57 +0x2e5 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).MappedName(0xc000858180, {0x1b85c70, 0xc00340f500}) pkg/sentry/vfs/file_description.go:791 +0x125 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).appendVMAMapsEntryLocked(0xc0009841e0, {0x1b85c70, 0xc00340f500}, {0xc006659800, 0xc0006f71f0}, 0x1) pkg/sentry/mm/procfs.go:163 +0x488 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).vmaSmapsEntryIntoLocked(0xc00730f000, {0x1b85c70, 0xc00340f500}, {0xc006659800, 0xd0741e}, 0x470e65) pkg/sentry/mm/procfs.go:234 +0xa5 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).ReadSmapsDataInto(0xc00730f000, {0x1b85c70, 0xc00340f500}, 0x470e37) pkg/sentry/mm/procfs.go:183 +0x125 gvisor.dev/gvisor/pkg/sentry/fsimpl/proc.(*smapsData).Generate(0xc00210a700, {0x1b85c70, 0xc00340f500}, 0x0) pkg/sentry/fsimpl/proc/task_files.go:564 +0x6f gvisor.dev/gvisor/pkg/sentry/vfs.(*DynamicBytesFileDescriptionImpl).Seek(0xc0009841c0, {0x1b85c70, 0xc00340f500}, 0x75, 0x0) pkg/sentry/vfs/file_description_impl_util.go:354 +0x1fd gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*DynamicBytesFD).Seek(0xc0009841c0, {0x1b85c70, 0xc00340f500}, 0x1, 0x1) pkg/sentry/fsimpl/kernfs/dynamic_bytes_file.go:110 +0x55 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Seek(...) pkg/sentry/vfs/file_description.go:681 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Lseek(0xc00340f500, {{0x3}, {0x75}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/vfs2/read_write.go:574 +0x186 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00340f500, 0x8, {{0x3}, {0x75}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x9d8 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00340f500, 0x46f779, {{0x3}, {0x75}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x6a gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc00315f590, 0x46fc2c, {{0x3}, {0x75}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x8f gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00340f500) pkg/sentry/kernel/task_syscall.go:257 +0x3e7 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc00340f500, 0xc00340f500) pkg/sentry/kernel/task_run.go:253 +0x16b8 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00340f500, 0x2c1e) pkg/sentry/kernel/task_run.go:94 +0x35b created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:370 +0x1a9