panic: WARNING: circular locking detected: tmpfs.filesystemRWMutex -> kernel.taskSetRWMutex: goroutine 871012 [running]: gvisor.dev/gvisor/pkg/log.Stacks(0x60) pkg/log/log.go:316 +0x8d gvisor.dev/gvisor/pkg/sync/locking.checkLock(0xc00002cd80, 0xc000215780, {0xc00671abe0, 0x1, 0x1}) pkg/sync/locking/lockdep.go:56 +0x1f4 gvisor.dev/gvisor/pkg/sync/locking.checkLock.func1(0xc000215d20, 0xc005232928) pkg/sync/locking/lockdep.go:76 +0x65 gvisor.dev/gvisor/pkg/sync/locking.(*ancestorsAtomicPtrMap).RangeRepeatable(0xc000215d00, 0xc005232a40) bazel-out/k8-fastbuild-ST-a4501ad48192/bin/pkg/sync/locking/atomicptrmap_ancestors_unsafe.go:441 +0x226 gvisor.dev/gvisor/pkg/sync/locking.checkLock(0xc00002cd80, 0xc000215d00, {0x0, 0x0, 0x0}) pkg/sync/locking/lockdep.go:73 +0x46c gvisor.dev/gvisor/pkg/sync/locking.AddGLock(0xc00002cd80, 0x0) pkg/sync/locking/lockdep.go:107 +0x3ba gvisor.dev/gvisor/pkg/sentry/kernel.(*taskSetRWMutex).RLock(0xc0003426c0) bazel-out/k8-fastbuild-ST-a4501ad48192/bin/pkg/sentry/kernel/taskset_mutex.go:46 +0x3f gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).SendSignal(0xc004532000, 0xc000345e30) pkg/sentry/kernel/task_signals.go:376 +0xa5 gvisor.dev/gvisor/pkg/sentry/kernel/fasync.(*FileAsync).NotifyEvent(0xc0017e6d90, 0x41) pkg/sentry/kernel/fasync/fasync.go:142 +0x62f gvisor.dev/gvisor/pkg/waiter.(*Queue).Notify(0xc0034225b0, 0x41) pkg/waiter/waiter.go:237 +0xae gvisor.dev/gvisor/pkg/sentry/vfs.(*Inotify).queueEvent(0xc003422540, 0xc008e59f40) pkg/sentry/vfs/inotify.go:296 +0x258 gvisor.dev/gvisor/pkg/sentry/vfs.(*Watch).Notify(0xc0044a72e0, {0x0, 0x0}, 0x10, 0x0) pkg/sentry/vfs/inotify.go:609 +0x28d gvisor.dev/gvisor/pkg/sentry/vfs.(*Watches).Notify(0xc001897948, {0x1be7bb0, 0xc004532000}, {0x0, 0x0}, 0x159d140, 0x0, 0x0, 0x0) pkg/sentry/vfs/inotify.go:481 +0x192 gvisor.dev/gvisor/pkg/sentry/fsimpl/tmpfs.(*dentry).InotifyWithParent(0xc00572fb80, {0x1be7bb0, 0xc004532000}, 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(0xc007302900, 0xc0052332b0) bazel-out/k8-fastbuild-ST-a4501ad48192/bin/pkg/sentry/vfs/file_description_refs.go:131 +0x5f gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef(0xc007302900, {0x1be7bb0, 0xc004532000}) pkg/sentry/vfs/file_description.go:161 +0x6f gvisor.dev/gvisor/pkg/sentry/kernel.(*FDTable).dropVFS2(0xc0025bbac0, {0x1be7bb0, 0xc004532000}, 0xc007302900) pkg/sentry/kernel/fd_table.go:168 +0x1eb gvisor.dev/gvisor/pkg/sentry/kernel.(*FDTable).NewFDAtVFS2(0x1bead20, {0x1be7bb0, 0xc004532000}, 0x5233401, 0xffffffff, {0xb0}) pkg/sentry/kernel/fd_table.go:476 +0x91 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).NewFDAtVFS2(...) pkg/sentry/kernel/task.go:821 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.dup3(0xc004532000, 0x470e65, 0x6, 0x0) pkg/sentry/syscalls/linux/vfs2/fd.go:162 +0x18f gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Dup2(0xc004532000, {{0x3}, {0x6}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/vfs2/fd.go:135 +0xf2 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc004532000, 0x21, {{0x3}, {0x6}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x9d8 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc004532000, 0x46f779, {{0x3}, {0x6}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x6a gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0006b34a0, 0x46fc2c, {{0x3}, {0x6}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x8f gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc004532000) pkg/sentry/kernel/task_syscall.go:257 +0x3e7 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc004532000, 0xc004532000) pkg/sentry/kernel/task_run.go:253 +0x16b8 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc004532000, 0x8f1a) pkg/sentry/kernel/task_run.go:94 +0x35b created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:369 +0x1a9