panic: nested locking: kernfs.filesystemRWMutex: goroutine 3206235 [running]: gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*filesystemRWMutex).Lock(0xc0006e3090) bazel-out/k8-fastbuild-ST-3dcbe13c9b87/bin/pkg/sentry/fsimpl/kernfs/filesystem_mutex.go:31 +0x58 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).Release(0xc0006e3040, {0x772940, 0xc0257c8000}) pkg/sentry/fsimpl/kernfs/filesystem.go:262 +0x9b gvisor.dev/gvisor/pkg/sentry/fsimpl/proc.(*filesystem).Release(0xc0006e3040, {0x772940, 0xc0257c8000}) pkg/sentry/fsimpl/proc/filesystem.go:104 +0xc5 gvisor.dev/gvisor/pkg/sentry/vfs.(*Filesystem).DecRef.func1() pkg/sentry/vfs/filesystem.go:81 +0x119 gvisor.dev/gvisor/pkg/sentry/vfs.(*FilesystemRefs).DecRef(0xc0006e3040, 0xc029b427c8) bazel-out/k8-fastbuild-ST-3dcbe13c9b87/bin/pkg/sentry/vfs/filesystem_refs.go:132 +0xb2 gvisor.dev/gvisor/pkg/sentry/vfs.(*Filesystem).DecRef(0xc0006e3040, {0x772940, 0xc0257c8000}) pkg/sentry/vfs/filesystem.go:77 +0x87 gvisor.dev/gvisor/pkg/sentry/vfs.(*Mount).destroy(0xc004b00a00, {0x772940, 0xc0257c8000}) pkg/sentry/vfs/mount.go:753 +0x1b7 gvisor.dev/gvisor/pkg/sentry/vfs.(*Mount).DecRef(0xc004b00a00, {0x772940, 0xc0257c8000}) pkg/sentry/vfs/mount.go:737 +0xcc gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).forgetDeadMountpoint(0xc0006f08e0, {0x772940, 0xc0257c8000}, 0xc0049414d0, 0x1) pkg/sentry/vfs/dentry.go:346 +0x2cc gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).InvalidateDentry(0xc0045ff980?, {0x772940, 0xc0257c8000}, 0xc0049414d0) pkg/sentry/vfs/dentry.go:250 +0xb3 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).revalidateChildLocked(0x3125e0?, {0x772940, 0xc0257c8000}, 0x4?, 0xc0007d0630, {0xc0367b53dc, 0x4}, 0xc0049414d0) pkg/sentry/fsimpl/kernfs/filesystem.go:121 +0x1da gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).stepExistingLocked(0xc0047aed80?, {0x772940, 0xc0257c8000}, 0xc0047aed80, 0xc0007d0630) pkg/sentry/fsimpl/kernfs/filesystem.go:75 +0x525 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).walkExistingLocked(0xc0006e2d70?, {0x772940, 0xc0257c8000}, 0xc0047aed80) pkg/sentry/fsimpl/kernfs/filesystem.go:163 +0x11b gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).OpenAt(0xc0006e2d20, {0x772940, 0xc0257c8000}, 0xc0047aed80, {0x8001, 0x0, 0x0}) pkg/sentry/fsimpl/kernfs/filesystem.go:486 +0x18d gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).OpenAt(0xc032589a40?, {0x772940, 0xc0257c8000}, 0xc0007bdb00?, 0xc029b43428, 0xc029b432f8) pkg/sentry/vfs/vfs.go:460 +0x6bc gvisor.dev/gvisor/pkg/sentry/syscalls/linux.openat(0xc0257c8000, 0x2877b04?, 0x1?, 0x80001, 0x0) pkg/sentry/syscalls/linux/sys_file.go:112 +0x365 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Openat(0x0?, 0xc029b435d0?, {{0xffffff9c}, {0x55cbe46a1d29}, {0x80001}, {0x0}, {0x0}, {0x7fa51eef8030}}) pkg/sentry/syscalls/linux/sys_file.go:91 +0xcb gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc0257c8000, 0x101, {{0xffffff9c}, {0x55cbe46a1d29}, {0x80001}, {0x0}, {0x0}, {0x7fa51eef8030}}) pkg/sentry/kernel/task_syscall.go:142 +0xabf gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc0257c8000, 0x1?, {{0xffffff9c}, {0x55cbe46a1d29}, {0x80001}, {0x0}, {0x0}, {0x7fa51eef8030}}) pkg/sentry/kernel/task_syscall.go:322 +0x8e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc031efac30?, 0xc029b43b37?, {{0xffffff9c}, {0x55cbe46a1d29}, {0x80001}, {0x0}, {0x0}, {0x7fa51eef8030}}) pkg/sentry/kernel/task_syscall.go:282 +0xc5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0257c8000) pkg/sentry/kernel/task_syscall.go:257 +0x53b gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc0257c8000?, 0xc0257c8000) pkg/sentry/kernel/task_run.go:269 +0x22b4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc0257c8000, 0x7d2) pkg/sentry/kernel/task_run.go:98 +0x35b created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:377 +0x1da