panic: WARNING: circular locking detected: tmpfs.filesystemRWMutex -> vfs.inotifyEventMutex: goroutine 34841 [running]: gvisor.dev/gvisor/pkg/log.Stacks(0x60) pkg/log/log.go:316 +0xd3 gvisor.dev/gvisor/pkg/sync/locking.checkLock(0xc0001c0680, 0xc0001c1780, {0xc002ab9b08, 0x1, 0x1}) pkg/sync/locking/lockdep.go:56 +0x225 gvisor.dev/gvisor/pkg/sync/locking.checkLock.func1(0xc0001c1d18, 0xc0023d6e08) pkg/sync/locking/lockdep.go:76 +0x7a gvisor.dev/gvisor/pkg/sync/locking.(*ancestorsapmShard).doRange(0xc0001c1d00, 0xc0023d6f60) bazel-out/k8-fastbuild-ST-a4501ad48192/bin/pkg/sync/locking/atomicptrmap_ancestors_unsafe.go:403 +0x31f gvisor.dev/gvisor/pkg/sync/locking.(*ancestorsAtomicPtrMap).Range(0xc0001c1d00, 0xc0001c0680) bazel-out/k8-fastbuild-ST-a4501ad48192/bin/pkg/sync/locking/atomicptrmap_ancestors_unsafe.go:382 +0x85 gvisor.dev/gvisor/pkg/sync/locking.checkLock(0xc0001c0680, 0xc0001c1d00, {0x0, 0x0, 0x0}) pkg/sync/locking/lockdep.go:73 +0x4aa gvisor.dev/gvisor/pkg/sync/locking.AddGLock(0xc0001c0680, 0x0) pkg/sync/locking/lockdep.go:107 +0x33e gvisor.dev/gvisor/pkg/sentry/vfs.(*inotifyEventMutex).Lock(0xc00058cdb8) bazel-out/k8-fastbuild-ST-a4501ad48192/bin/pkg/sentry/vfs/inotify_event_mutex.go:18 +0x53 gvisor.dev/gvisor/pkg/sentry/vfs.(*Inotify).queueEvent(0xc00058cd20, 0x0) pkg/sentry/vfs/inotify.go:276 +0x55 gvisor.dev/gvisor/pkg/sentry/vfs.(*Watch).Notify(0xc003218980, {0x0, 0x0}, 0x8, 0x0) pkg/sentry/vfs/inotify.go:609 +0x106 gvisor.dev/gvisor/pkg/sentry/vfs.(*Watches).Notify(0xc003a4ee48, {0x1c70010, 0xc002ea8a80}, {0x0, 0x0}, 0x2713e1c, 0x0, 0x0, 0x0) pkg/sentry/vfs/inotify.go:481 +0x1c7 gvisor.dev/gvisor/pkg/sentry/fsimpl/tmpfs.(*dentry).InotifyWithParent(0xc0021f7900, {0x1c70010, 0xc002ea8a80}, 0x8, 0x0, 0xc) pkg/sentry/fsimpl/tmpfs/tmpfs.go:405 +0x210 gvisor.dev/gvisor/pkg/sentry/vfs.(*Dentry).InotifyWithParent(0xc0021f7900, {0x1c70010, 0xc002ea8a80}, 0x470e65, 0x0, 0x3d) pkg/sentry/vfs/dentry.go:173 +0x8d gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef.func1() pkg/sentry/vfs/file_description.go:167 +0x10d gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescriptionRefs).DecRef(0xc0024ae280, 0xc0023d74c0) bazel-out/k8-fastbuild-ST-a4501ad48192/bin/pkg/sentry/vfs/file_description_refs.go:131 +0xb2 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef(0xc0024ae280, {0x1c70010, 0xc002ea8a80}) pkg/sentry/vfs/file_description.go:161 +0x87 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Close(0xc002ea8a80, {{0x3}, {0xffffffffffffffff}, {0x5571a4541170}, {0x7fb87fa544c0}, {0x0}, {0x5571a4541178}}) pkg/sentry/syscalls/linux/vfs2/fd.go:46 +0x225 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc002ea8a80, 0x3, {{0x3}, {0xffffffffffffffff}, {0x5571a4541170}, {0x7fb87fa544c0}, {0x0}, {0x5571a4541178}}) pkg/sentry/kernel/task_syscall.go:142 +0xaf7 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc002ea8a80, 0x1, {{0x3}, {0xffffffffffffffff}, {0x5571a4541170}, {0x7fb87fa544c0}, {0x0}, {0x5571a4541178}}) pkg/sentry/kernel/task_syscall.go:322 +0x8e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0026493b0, 0x1, {{0x3}, {0xffffffffffffffff}, {0x5571a4541170}, {0x7fb87fa544c0}, {0x0}, {0x5571a4541178}}) pkg/sentry/kernel/task_syscall.go:282 +0xc5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc002ea8a80) pkg/sentry/kernel/task_syscall.go:257 +0x4c7 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc002ea8a80, 0xc002ea8a80) pkg/sentry/kernel/task_run.go:247 +0x19fc gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc002ea8a80) 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