panic: nested locking: kernfs.filesystemRWMutex: goroutine 126021 [running]: gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*filesystemRWMutex).RLock(0xc0004fc2d0) 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(0xc0042519e0, {0x842db8, 0xc001c74a80}, 0x10, 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(0xc0051fba00, 0xc0017f89b8) bazel-out/aarch64-fastbuild-ST-3dcbe13c9b87/bin/pkg/sentry/vfs/file_description_refs.go:131 +0x58 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef(0xc0051fba00, {0x842db8, 0xc001c74a80}) pkg/sentry/vfs/file_description.go:161 +0x64 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).SafeDecRefFD(0xc0004fc1e0, {0x842db8, 0xc001c74a80}, 0xc0051fba00) pkg/sentry/fsimpl/kernfs/kernfs.go:153 +0xb0 gvisor.dev/gvisor/pkg/sentry/fsimpl/proc.taskFDExists({0x842db8, 0xc001c74a80}, 0xc0004fc1e0, 0x416d0001?, 0x0?) pkg/sentry/fsimpl/proc/task_fds.go:50 +0x60 gvisor.dev/gvisor/pkg/sentry/fsimpl/proc.(*fdSymlink).Valid(0xc0051fba80, {0x842db8, 0xc001c74a80}) pkg/sentry/fsimpl/proc/task_fds.go:246 +0x80 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).revalidateChildLocked(0x305c00?, {0x842db8, 0xc001c74a80}, 0x1?, 0xc004251b00, {0xc001a5e20e, 0x1}, 0xc004251b90) pkg/sentry/fsimpl/kernfs/filesystem.go:115 +0x78 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).stepExistingLocked(0xc0017f8c98?, {0x842db8, 0xc001c74a80}, 0xc001a72000, 0xc004251b00) pkg/sentry/fsimpl/kernfs/filesystem.go:75 +0x2cc gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).walkExistingLocked(0xc0004fc230?, {0x842db8, 0xc001c74a80}, 0xc001a72000) pkg/sentry/fsimpl/kernfs/filesystem.go:160 +0xb8 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).OpenAt(0xc0004fc1e0, {0x842db8, 0xc001c74a80}, 0xc001a72000, {0x20002, 0x0, 0x0}) pkg/sentry/fsimpl/kernfs/filesystem.go:483 +0x130 gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).OpenAt(0xc007537e00?, {0x842db8, 0xc001c74a80}, 0x0?, 0xc0017f9408, 0xc0017f9300) pkg/sentry/vfs/vfs.go:436 +0x398 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.openat(0xc001c74a80, 0x1?, 0xc0017f94d8?, 0x2, 0x0) pkg/sentry/syscalls/linux/sys_file.go:112 +0x1a8 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Openat(0xc001c74a80?, {{0xffffffffffffff9c}, {0xf084888c2b10}, {0x2}, {0x0}, {0x0}, {0x5510000000005440}}) pkg/sentry/syscalls/linux/sys_file.go:91 +0x40 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc001c74a80, 0x38, {{0xffffffffffffff9c}, {0xf084888c2b10}, {0x2}, {0x0}, {0x0}, {0x5510000000005440}}) pkg/sentry/kernel/task_syscall.go:142 +0x6f4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc001c74a80, 0x16328bc?, {{0xffffffffffffff9c}, {0xf084888c2b10}, {0x2}, {0x0}, {0x0}, {0x5510000000005440}}) pkg/sentry/kernel/task_syscall.go:322 +0x50 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0017f9b68?, 0x1295868?, {{0xffffffffffffff9c}, {0xf084888c2b10}, {0x2}, {0x0}, {0x0}, {0x5510000000005440}}) pkg/sentry/kernel/task_syscall.go:282 +0x78 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc001c74a80) pkg/sentry/kernel/task_syscall.go:257 +0x3ac gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc001c74a80?, 0xc001c74a80) pkg/sentry/kernel/task_run.go:259 +0x1298 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc001c74a80, 0x507d) 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