panic: nested locking: kernfs.filesystemRWMutex: goroutine 109799 [running]: gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*filesystemRWMutex).RLock(0xc00049bd10) 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(0xc004160bd0, {0x867238, 0xc0058a4000}, 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(0xc000c8c000, 0xc001384978) bazel-out/aarch64-fastbuild-ST-3dcbe13c9b87/bin/pkg/sentry/vfs/file_description_refs.go:131 +0x58 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef(0xc000c8c000, {0x867238, 0xc0058a4000}) pkg/sentry/vfs/file_description.go:161 +0x64 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).SafeDecRefFD(0xc00051e000, {0x867238, 0xc0058a4000}, 0xc000c8c000) pkg/sentry/fsimpl/kernfs/kernfs.go:153 +0xb0 gvisor.dev/gvisor/pkg/sentry/fsimpl/proc.taskFDExists({0x867238, 0xc0058a4000}, 0xc00051e000, 0x0?, 0x9a0600?) pkg/sentry/fsimpl/proc/task_fds.go:50 +0x60 gvisor.dev/gvisor/pkg/sentry/fsimpl/proc.(*fdInfoData).Valid(0xc004e4b880, {0x867238, 0xc0058a4000}) pkg/sentry/fsimpl/proc/task_fds.go:349 +0x80 gvisor.dev/gvisor/pkg/sentry/fsimpl/proc.(*taskOwnedInode).Valid(0xc00248ea68, {0x867238, 0xc0058a4000}) pkg/sentry/fsimpl/proc/task.go:166 +0x80 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).revalidateChildLocked(0x302820?, {0x867238, 0xc0058a4000}, 0x1?, 0xc0041610e0, {0xc006d41a12, 0x1}, 0xc004161170) pkg/sentry/fsimpl/kernfs/filesystem.go:115 +0x78 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).stepExistingLocked(0xc001384c88?, {0x867238, 0xc0058a4000}, 0xc005c9e480, 0xc0041610e0) pkg/sentry/fsimpl/kernfs/filesystem.go:75 +0x2cc gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).walkExistingLocked(0xc00051e050?, {0x867238, 0xc0058a4000}, 0xc005c9e480) pkg/sentry/fsimpl/kernfs/filesystem.go:160 +0xb0 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).OpenAt(0xc00051e000, {0x867238, 0xc0058a4000}, 0xc005c9e480, {0x20002, 0x0, 0x0}) pkg/sentry/fsimpl/kernfs/filesystem.go:481 +0x130 gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).OpenAt(0xc005895040?, {0x867238, 0xc0058a4000}, 0x0?, 0xc0013853e8, 0xc0013852e0) pkg/sentry/vfs/vfs.go:436 +0x3a8 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.openat(0xc0058a4000, 0x1?, 0xc0013854b8?, 0x2, 0x0) pkg/sentry/syscalls/linux/sys_file.go:112 +0x1ac gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Openat(0xc0058a4000?, {{0xffffffffffffff9c}, {0xe4316cf8eb10}, {0x2}, {0x0}, {0x0}, {0x5510000000005440}}) pkg/sentry/syscalls/linux/sys_file.go:91 +0x40 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc0058a4000, 0x38, {{0xffffffffffffff9c}, {0xe4316cf8eb10}, {0x2}, {0x0}, {0x0}, {0x5510000000005440}}) pkg/sentry/kernel/task_syscall.go:142 +0x6d8 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc0058a4000, 0x1232d4c?, {{0xffffffffffffff9c}, {0xe4316cf8eb10}, {0x2}, {0x0}, {0x0}, {0x5510000000005440}}) pkg/sentry/kernel/task_syscall.go:322 +0x54 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc001385b58?, 0x129b118?, {{0xffffffffffffff9c}, {0xe4316cf8eb10}, {0x2}, {0x0}, {0x0}, {0x5510000000005440}}) pkg/sentry/kernel/task_syscall.go:282 +0x7c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0058a4000) pkg/sentry/kernel/task_syscall.go:257 +0x3c0 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc0058a4000?, 0xc0058a4000) pkg/sentry/kernel/task_run.go:259 +0x1320 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc0058a4000, 0x48b2) 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