panic: WARNING: circular locking detected: mm.mappingRWMutex -> tmpfs.filesystemRWMutex: goroutine 258 [running]: gvisor.dev/gvisor/pkg/log.Stacks(0x60) pkg/log/log.go:316 +0xd3 gvisor.dev/gvisor/pkg/sync/locking.checkLock(0xc000237d00, 0xc000237d80, {0xc0005a46f0, 0x1, 0x1}) pkg/sync/locking/lockdep.go:56 +0x225 gvisor.dev/gvisor/pkg/sync/locking.checkLock.func1(0xc000237798, 0xc000864648) pkg/sync/locking/lockdep.go:76 +0x7a gvisor.dev/gvisor/pkg/sync/locking.(*ancestorsapmShard).doRange(0xc000237780, 0xc0008647a0) bazel-out/k8-fastbuild-ST-a4501ad48192/bin/pkg/sync/locking/atomicptrmap_ancestors_unsafe.go:403 +0x31f gvisor.dev/gvisor/pkg/sync/locking.(*ancestorsAtomicPtrMap).Range(0xc000237780, 0xc000237d00) bazel-out/k8-fastbuild-ST-a4501ad48192/bin/pkg/sync/locking/atomicptrmap_ancestors_unsafe.go:382 +0x85 gvisor.dev/gvisor/pkg/sync/locking.checkLock(0xc000237d00, 0xc000237780, {0x0, 0x0, 0x0}) pkg/sync/locking/lockdep.go:73 +0x4aa gvisor.dev/gvisor/pkg/sync/locking.AddGLock(0xc000237d00, 0x0) pkg/sync/locking/lockdep.go:107 +0x33e gvisor.dev/gvisor/pkg/sentry/fsimpl/tmpfs.(*filesystemRWMutex).RLock(0xc000712070) 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(0xc000712000, {0xc000a160cb, 0x1}, {0xc0001e45a0, 0xc0006cdb00}, {0xc0003da5a0, 0xc0008de2d0}, 0x46fc2c) pkg/sentry/fsimpl/tmpfs/filesystem.go:896 +0xc5 gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).PathnameWithDeleted(0x1c703b0, {0x1c703b0, 0xc000b01500}, {0xc0001e45a0, 0xc0006cdb00}, {0xc0003da5a0, 0xc0008de2d0}) pkg/sentry/vfs/pathname.go:57 +0x323 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).MappedName(0xc000574400, {0x1c703b0, 0xc000b01500}) pkg/sentry/vfs/file_description.go:791 +0xe5 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).appendVMAMapsEntryLocked(0xc0007d62c0, {0x1c703b0, 0xc000b01500}, {0xc00048e800, 0xc000864ec8}, 0x1) pkg/sentry/mm/procfs.go:163 +0x54d gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).vmaSmapsEntryIntoLocked(0xc000b7b000, {0x1c703b0, 0xc000b01500}, {0xc00048e800, 0x470e65}, 0xdd8c65) pkg/sentry/mm/procfs.go:234 +0xb1 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).ReadSmapsDataInto(0xc000b7b000, {0x1c703b0, 0xc000b01500}, 0x2781a0c) pkg/sentry/mm/procfs.go:183 +0x146 gvisor.dev/gvisor/pkg/sentry/fsimpl/proc.(*smapsData).Generate(0xc000877880, {0x1c703b0, 0xc000b01500}, 0x408bbd) pkg/sentry/fsimpl/proc/task_files.go:564 +0x9f gvisor.dev/gvisor/pkg/sentry/vfs.(*DynamicBytesFileDescriptionImpl).preadLocked(0xc0007d62a0, {0x1c703b0, 0xc000b01500}, {{0x1c63768, 0xc000b7b000}, {0x0, 0x0, 0x0, 0x0}, {0x0, ...}}, ...) pkg/sentry/vfs/file_description_impl_util.go:301 +0x1a2 gvisor.dev/gvisor/pkg/sentry/vfs.(*DynamicBytesFileDescriptionImpl).PRead(0xc0007d62a0, {0x1c703b0, 0xc000b01500}, {{0x1c63768, 0xc000b7b000}, {0x0, 0x0, 0x0, 0x0}, {0x0, ...}}, ...) pkg/sentry/vfs/file_description_impl_util.go:320 +0xe5 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*DynamicBytesFD).PRead(0xc0007d62a0, {0x1c703b0, 0xc000b01500}, {{0x1c63768, 0xc000b7b000}, {0x0, 0x0, 0x0, 0x0}, {0x0, ...}}, ...) pkg/sentry/fsimpl/kernfs/dynamic_bytes_file.go:120 +0xc5 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).PRead(0xc0007d6300, {0x1c703b0, 0xc000b01500}, {{0x1c63768, 0xc000b7b000}, {0x0, 0x0, 0x0, 0x0}, {0x0, ...}}, ...) pkg/sentry/vfs/file_description.go:619 +0x1aa gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.pread(0x1c732a0, 0xc000b01500, {{0x1c63768, 0xc000b7b000}, {0x0, 0x0, 0x0, 0x0}, {0x0, 0x1}}, ...) pkg/sentry/syscalls/linux/vfs2/read_write.go:251 +0xc5 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Preadv(0xc000b01500, {{0x4}, {0x0}, {0x0}, {0xfffffffe}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/vfs2/read_write.go:199 +0x39a gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc000b01500, 0x127, {{0x4}, {0x0}, {0x0}, {0xfffffffe}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0xaf7 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc000b01500, 0x1, {{0x4}, {0x0}, {0x0}, {0xfffffffe}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x8e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0006be780, 0x1, {{0x4}, {0x0}, {0x0}, {0xfffffffe}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0xc5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc000b01500) pkg/sentry/kernel/task_syscall.go:257 +0x4c7 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc000b01500, 0xc000b01500) pkg/sentry/kernel/task_run.go:247 +0x19fc gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc000b01500) pkg/sentry/kernel/task_run.go:90 +0x2c2 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:364 +0x1b1