panic: nested locking: kernfs.filesystemRWMutex: goroutine 211952 [running]: gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*filesystemRWMutex).RLock(0xc00042fd10) bazel-out/aarch64-fastbuild-ST-3dcbe13c9b87/bin/pkg/sentry/fsimpl/kernfs/filesystem_mutex.go:59 +0x44 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Dentry).InotifyWithParent(0xc000faae10, {0x867238, 0xc0070cea80}, 0x8, 0x0?, 0xe8?) pkg/sentry/fsimpl/kernfs/kernfs.go:517 +0x78 gvisor.dev/gvisor/pkg/sentry/vfs.(*Dentry).InotifyWithParent(...) pkg/sentry/vfs/dentry.go:187 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef.func1() pkg/sentry/vfs/file_description.go:167 +0xbc gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescriptionRefs).DecRef(0xc001307e00, 0xc001e489a8) bazel-out/aarch64-fastbuild-ST-3dcbe13c9b87/bin/pkg/sentry/vfs/file_description_refs.go:131 +0x58 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef(0xc001307e00, {0x867238, 0xc0070cea80}) pkg/sentry/vfs/file_description.go:161 +0x64 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).SafeDecRefFD(0xc00050c140, {0x867238, 0xc0070cea80}, 0xc001307e00) pkg/sentry/fsimpl/kernfs/kernfs.go:153 +0xb0 gvisor.dev/gvisor/pkg/sentry/fsimpl/proc.taskFDExists({0x867238, 0xc0070cea80}, 0xc00050c140, 0x416d0001?, 0x0?) pkg/sentry/fsimpl/proc/task_fds.go:50 +0x60 gvisor.dev/gvisor/pkg/sentry/fsimpl/proc.(*fdSymlink).Valid(0xc0045d6c80, {0x867238, 0xc0070cea80}) pkg/sentry/fsimpl/proc/task_fds.go:246 +0x80 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).revalidateChildLocked(0x302820?, {0x867238, 0xc0070cea80}, 0x1?, 0xc006125b90, {0xc0091e4b0e, 0x1}, 0xc006125c20) pkg/sentry/fsimpl/kernfs/filesystem.go:115 +0x78 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).stepExistingLocked(0xc001e48c88?, {0x867238, 0xc0070cea80}, 0xc006621200, 0xc006125b90) pkg/sentry/fsimpl/kernfs/filesystem.go:75 +0x2cc gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).walkExistingLocked(0xc00050c190?, {0x867238, 0xc0070cea80}, 0xc006621200) pkg/sentry/fsimpl/kernfs/filesystem.go:160 +0xb0 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).OpenAt(0xc00050c140, {0x867238, 0xc0070cea80}, 0xc006621200, {0x20000, 0x0, 0x0}) pkg/sentry/fsimpl/kernfs/filesystem.go:481 +0x130 gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).OpenAt(0xc0087de040?, {0x867238, 0xc0070cea80}, 0x0?, 0xc001e493e8, 0xc001e492e0) pkg/sentry/vfs/vfs.go:436 +0x3a8 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.openat(0xc0070cea80, 0x1?, 0xc001e494b8?, 0x0, 0x0) pkg/sentry/syscalls/linux/sys_file.go:112 +0x1ac gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Openat(0xc0070cea80?, {{0xffffffffffffff9c}, {0xe25015f5db10}, {0x0}, {0x0}, {0x0}, {0x5510000000005440}}) pkg/sentry/syscalls/linux/sys_file.go:91 +0x40 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc0070cea80, 0x38, {{0xffffffffffffff9c}, {0xe25015f5db10}, {0x0}, {0x0}, {0x0}, {0x5510000000005440}}) pkg/sentry/kernel/task_syscall.go:142 +0x6d8 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc0070cea80, 0x1232d4c?, {{0xffffffffffffff9c}, {0xe25015f5db10}, {0x0}, {0x0}, {0x0}, {0x5510000000005440}}) pkg/sentry/kernel/task_syscall.go:322 +0x54 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc001e49b58?, 0x129b118?, {{0xffffffffffffff9c}, {0xe25015f5db10}, {0x0}, {0x0}, {0x0}, {0x5510000000005440}}) pkg/sentry/kernel/task_syscall.go:282 +0x7c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0070cea80) pkg/sentry/kernel/task_syscall.go:257 +0x3c0 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc0070cea80?, 0xc0070cea80) pkg/sentry/kernel/task_run.go:259 +0x1320 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc0070cea80, 0x89f0) pkg/sentry/kernel/task_run.go:94 +0x2bc created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:377 +0x184