panic: WARNING: circular locking detected: tmpfs.filesystemRWMutex -> kernel.taskSetRWMutex: goroutine 25850 [running]: gvisor.dev/gvisor/pkg/log.Stacks(0xa0) pkg/log/log.go:316 +0xd3 gvisor.dev/gvisor/pkg/sync/locking.checkLock(0xc00044ad80, 0xc00023d600, {0xc002a83cd0, 0x1, 0x1}) pkg/sync/locking/lockdep.go:56 +0x225 gvisor.dev/gvisor/pkg/sync/locking.checkLock.func1(0xc00023dd18, 0xc000cc8800) pkg/sync/locking/lockdep.go:76 +0x7a gvisor.dev/gvisor/pkg/sync/locking.(*ancestorsapmShard).doRange(0xc00023dd00, 0xc000cc8958) bazel-out/k8-fastbuild-ST-a4501ad48192/bin/pkg/sync/locking/atomicptrmap_ancestors_unsafe.go:403 +0x31f gvisor.dev/gvisor/pkg/sync/locking.(*ancestorsAtomicPtrMap).Range(0xc00023dd00, 0xc00044ad80) bazel-out/k8-fastbuild-ST-a4501ad48192/bin/pkg/sync/locking/atomicptrmap_ancestors_unsafe.go:382 +0x85 gvisor.dev/gvisor/pkg/sync/locking.checkLock(0xc00044ad80, 0xc00023dd00, {0x0, 0x0, 0x0}) pkg/sync/locking/lockdep.go:73 +0x4aa gvisor.dev/gvisor/pkg/sync/locking.AddGLock(0xc00044ad80, 0x0) pkg/sync/locking/lockdep.go:107 +0x33e gvisor.dev/gvisor/pkg/sentry/kernel.(*taskSetRWMutex).RLock(0xc0005202a0) bazel-out/k8-fastbuild-ST-a4501ad48192/bin/pkg/sentry/kernel/taskset_mutex.go:46 +0x53 gvisor.dev/gvisor/pkg/sentry/kernel.(*ThreadGroup).Leader(0xc00253d800) pkg/sentry/kernel/threads.go:403 +0x8b gvisor.dev/gvisor/pkg/sentry/kernel/fasync.(*FileAsync).NotifyEvent(0xc0001b60e0, 0x41) pkg/sentry/kernel/fasync/fasync.go:111 +0x21a gvisor.dev/gvisor/pkg/waiter.(*Queue).Notify(0xc000708150, 0x41) pkg/waiter/waiter.go:237 +0xfd gvisor.dev/gvisor/pkg/sentry/vfs.(*Inotify).queueEvent(0xc0007080e0, 0x0) pkg/sentry/vfs/inotify.go:296 +0xd8 gvisor.dev/gvisor/pkg/sentry/vfs.(*Watch).Notify(0xc002819d60, {0x0, 0x0}, 0x400, 0x0) pkg/sentry/vfs/inotify.go:609 +0x106 gvisor.dev/gvisor/pkg/sentry/vfs.(*Watches).Notify(0xc002701f98, {0x1c70510, 0xc002987500}, {0x0, 0x0}, 0xcc8f48, 0xc0, 0x1, 0x1) pkg/sentry/vfs/inotify.go:481 +0x1c7 gvisor.dev/gvisor/pkg/sentry/vfs.(*Watches).HandleDeletion(0xc002701f98, {0x1c70510, 0xc002987500}) pkg/sentry/vfs/inotify.go:515 +0x92 gvisor.dev/gvisor/pkg/sentry/fsimpl/tmpfs.(*inode).decRef.func1() pkg/sentry/fsimpl/tmpfs/tmpfs.go:529 +0x7c gvisor.dev/gvisor/pkg/sentry/fsimpl/tmpfs.(*inodeRefs).DecRef(0xc002701c58, 0xc000cc90c8) bazel-out/k8-fastbuild-ST-a4501ad48192/bin/pkg/sentry/fsimpl/tmpfs/inode_refs.go:131 +0xb2 gvisor.dev/gvisor/pkg/sentry/fsimpl/tmpfs.(*inode).decRef(0xc002701c50, {0x1c70510, 0xc002987500}) pkg/sentry/fsimpl/tmpfs/tmpfs.go:528 +0x8b gvisor.dev/gvisor/pkg/sentry/fsimpl/tmpfs.(*inode).decLinksLocked(0xc002701c50, {0x1c70510, 0xc002987500}) pkg/sentry/fsimpl/tmpfs/tmpfs.go:515 +0xa9 gvisor.dev/gvisor/pkg/sentry/fsimpl/tmpfs.(*filesystem).RmdirAt(0xc0006b6180, {0x1c70510, 0xc002987500}, 0xc002bc0d80) pkg/sentry/fsimpl/tmpfs/filesystem.go:699 +0x7e6 gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).RmdirAt(0xc002987500, {0x1c70510, 0xc002987500}, 0xc000713000, 0xc000cc9550) pkg/sentry/vfs/vfs.go:562 +0x2c6 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.rmdirat(0xc002987500, 0x3, 0x46fc2c) pkg/sentry/syscalls/linux/vfs2/filesystem.go:263 +0x2a5 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Rmdir(0x451980, {{0x20000080}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/vfs2/filesystem.go:250 +0x67 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc002987500, 0x54, {{0x20000080}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0xaf7 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc002987500, 0x1, {{0x20000080}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x8e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0021de2d0, 0x1, {{0x20000080}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0xc5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc002987500) pkg/sentry/kernel/task_syscall.go:257 +0x4c7 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc002987500, 0xc002987500) pkg/sentry/kernel/task_run.go:247 +0x19fc gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc002987500) 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