panic: WARNING: circular locking detected: tmpfs.filesystemRWMutex -> vfs.inotifyEventMutex: goroutine 65953 [running]: gvisor.dev/gvisor/pkg/log.Stacks(0x60) pkg/log/log.go:316 +0x8d gvisor.dev/gvisor/pkg/sync/locking.checkLock(0xc0005be400, 0xc0005bf500, {0xc002099160, 0x1, 0x1}) pkg/sync/locking/lockdep.go:56 +0x1f4 gvisor.dev/gvisor/pkg/sync/locking.checkLock.func1(0xc0005bfaa0, 0xc000d58d00) pkg/sync/locking/lockdep.go:76 +0x65 gvisor.dev/gvisor/pkg/sync/locking.(*ancestorsAtomicPtrMap).RangeRepeatable(0xc0005bfa80, 0xc000d58e18) bazel-out/k8-fastbuild-ST-a4501ad48192/bin/pkg/sync/locking/atomicptrmap_ancestors_unsafe.go:441 +0x226 gvisor.dev/gvisor/pkg/sync/locking.checkLock(0xc0005be400, 0xc0005bfa80, {0x0, 0x0, 0x0}) pkg/sync/locking/lockdep.go:73 +0x46c gvisor.dev/gvisor/pkg/sync/locking.AddGLock(0xc0005be400, 0x0) pkg/sync/locking/lockdep.go:107 +0x3ba gvisor.dev/gvisor/pkg/sentry/vfs.(*inotifyEventMutex).Lock(0xc00123e338) bazel-out/k8-fastbuild-ST-a4501ad48192/bin/pkg/sentry/vfs/inotify_event_mutex.go:18 +0x3f gvisor.dev/gvisor/pkg/sentry/vfs.(*Inotify).queueEvent(0xc00123e2a0, 0xc001052f40) pkg/sentry/vfs/inotify.go:276 +0x47 gvisor.dev/gvisor/pkg/sentry/vfs.(*Watch).Notify(0xc002b8da80, {0x0, 0x0}, 0x10, 0x0) pkg/sentry/vfs/inotify.go:609 +0x28d gvisor.dev/gvisor/pkg/sentry/vfs.(*Watches).Notify(0xc0038d8e48, {0x1be6cf0, 0xc003f37500}, {0x0, 0x0}, 0x26739a0, 0x0, 0x0, 0x0) pkg/sentry/vfs/inotify.go:481 +0x192 gvisor.dev/gvisor/pkg/sentry/fsimpl/tmpfs.(*dentry).InotifyWithParent(0xc00470ff40, {0x1be6cf0, 0xc003f37500}, 0x10, 0x0, 0x65) pkg/sentry/fsimpl/tmpfs/tmpfs.go:405 +0x1d4 gvisor.dev/gvisor/pkg/sentry/vfs.(*Dentry).InotifyWithParent(...) pkg/sentry/vfs/dentry.go:173 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef.func1() pkg/sentry/vfs/file_description.go:167 +0xd8 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescriptionRefs).DecRef(0xc004144f80, 0xc000d593c0) bazel-out/k8-fastbuild-ST-a4501ad48192/bin/pkg/sentry/vfs/file_description_refs.go:131 +0x5f gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef(0xc004144f80, {0x1be6cf0, 0xc003f37500}) pkg/sentry/vfs/file_description.go:161 +0x6f gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Close(0xc003f37500, {{0x3}, {0xffffffffffffffff}, {0x55ab2c545250}, {0x7f2cb9d124c0}, {0x0}, {0x55ab2c545258}}) pkg/sentry/syscalls/linux/vfs2/fd.go:46 +0x1f9 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc003f37500, 0x3, {{0x3}, {0xffffffffffffffff}, {0x55ab2c545250}, {0x7f2cb9d124c0}, {0x0}, {0x55ab2c545258}}) pkg/sentry/kernel/task_syscall.go:142 +0x9d8 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc003f37500, 0x46f779, {{0x3}, {0xffffffffffffffff}, {0x55ab2c545250}, {0x7f2cb9d124c0}, {0x0}, {0x55ab2c545258}}) pkg/sentry/kernel/task_syscall.go:322 +0x6a gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc00076c2d0, 0x46fc2c, {{0x3}, {0xffffffffffffffff}, {0x55ab2c545250}, {0x7f2cb9d124c0}, {0x0}, {0x55ab2c545258}}) pkg/sentry/kernel/task_syscall.go:282 +0x8f gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc003f37500) pkg/sentry/kernel/task_syscall.go:257 +0x3e7 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc003f37500, 0xc003f37500) pkg/sentry/kernel/task_run.go:247 +0x16b8 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc003f37500) pkg/sentry/kernel/task_run.go:90 +0x35b created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:364 +0x191