panic: nested locking: kernfs.filesystemRWMutex: goroutine 225669 [running]: gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*filesystemRWMutex).RLock(0xc000188230) bazel-out/aarch64-fastbuild-ST-3dcbe13c9b87/bin/pkg/sentry/fsimpl/kernfs/filesystem_mutex.go:59 +0x40 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Dentry).InotifyWithParent(0xc0065ac000, {0x841ed8, 0xc007fe5500}, 0x8, 0x0?, 0xf4?) 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(0xc00145e3c0, 0xc001274988) bazel-out/aarch64-fastbuild-ST-3dcbe13c9b87/bin/pkg/sentry/vfs/file_description_refs.go:131 +0x58 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef(0xc00145e3c0, {0x841ed8, 0xc007fe5500}) pkg/sentry/vfs/file_description.go:161 +0x64 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).SafeDecRefFD(0xc000188f00, {0x841ed8, 0xc007fe5500}, 0xc00145e3c0) pkg/sentry/fsimpl/kernfs/kernfs.go:153 +0xb0 gvisor.dev/gvisor/pkg/sentry/fsimpl/proc.taskFDExists({0x841ed8, 0xc007fe5500}, 0xc000188f00, 0x20?, 0x1274a68?) pkg/sentry/fsimpl/proc/task_fds.go:50 +0x60 gvisor.dev/gvisor/pkg/sentry/fsimpl/proc.(*fdDirInode).Lookup(0xc007f4cc00, {0x841ed8, 0xc007fe5500}, {0xc0066b6015, 0x1}) pkg/sentry/fsimpl/proc/task_fds.go:149 +0x98 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).revalidateChildLocked(0x305700?, {0x841ed8, 0xc007fe5500}, 0x1?, 0xc0018be1b0, {0xc0066b6015, 0x1}, 0x0) pkg/sentry/fsimpl/kernfs/filesystem.go:128 +0x13c gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).stepExistingLocked(0xc001274c98?, {0x841ed8, 0xc007fe5500}, 0xc0010c3680, 0xc0018be1b0) pkg/sentry/fsimpl/kernfs/filesystem.go:75 +0x2cc gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).walkExistingLocked(0xc000188f50?, {0x841ed8, 0xc007fe5500}, 0xc0010c3680) pkg/sentry/fsimpl/kernfs/filesystem.go:160 +0xb8 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).OpenAt(0xc000188f00, {0x841ed8, 0xc007fe5500}, 0xc0010c3680, {0x20002, 0x0, 0x0}) pkg/sentry/fsimpl/kernfs/filesystem.go:483 +0x130 gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).OpenAt(0xc004651640?, {0x841ed8, 0xc007fe5500}, 0x0?, 0xc001275408, 0xc001275300) pkg/sentry/vfs/vfs.go:436 +0x398 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.openat(0xc007fe5500, 0x1?, 0xc0012754d8?, 0x2, 0x0) pkg/sentry/syscalls/linux/sys_file.go:112 +0x1a8 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Openat(0xc007fe5500?, {{0xffffffffffffff9c}, {0xed0d11bfeb10}, {0x2}, {0x0}, {0x0}, {0x5510000000005440}}) pkg/sentry/syscalls/linux/sys_file.go:91 +0x40 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc007fe5500, 0x38, {{0xffffffffffffff9c}, {0xed0d11bfeb10}, {0x2}, {0x0}, {0x0}, {0x5510000000005440}}) pkg/sentry/kernel/task_syscall.go:142 +0x6f4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc007fe5500, 0x16318bc?, {{0xffffffffffffff9c}, {0xed0d11bfeb10}, {0x2}, {0x0}, {0x0}, {0x5510000000005440}}) pkg/sentry/kernel/task_syscall.go:322 +0x50 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc001275b68?, 0x1294868?, {{0xffffffffffffff9c}, {0xed0d11bfeb10}, {0x2}, {0x0}, {0x0}, {0x5510000000005440}}) pkg/sentry/kernel/task_syscall.go:282 +0x78 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc007fe5500) pkg/sentry/kernel/task_syscall.go:257 +0x3ac gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc007fe5500?, 0xc007fe5500) pkg/sentry/kernel/task_run.go:259 +0x1298 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc007fe5500, 0x906d) pkg/sentry/kernel/task_run.go:94 +0x2a0 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:377 +0x180