panic: kernfs.Dentry.DecRef() called without holding a reference goroutine 6382 [running]: panic({0x172f380, 0x1b224a0}) GOROOT/src/runtime/panic.go:941 +0x397 fp=0xc00413ac98 sp=0xc00413abd8 pc=0x438397 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Dentry).decRefLocked(0xc006f74e10, {0x1b3c770, 0xc0034b8a80}) pkg/sentry/fsimpl/kernfs/kernfs.go:302 +0x109 fp=0xc00413acc8 sp=0xc00413ac98 pc=0xa55929 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Dentry).releaseKeptDentriesLocked(0xc006f74e10, {0x1b3c770, 0xc0034b8a80}) pkg/sentry/fsimpl/kernfs/filesystem.go:282 +0x10a fp=0xc00413ada8 sp=0xc00413acc8 pc=0xa41d0a gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Dentry).releaseKeptDentriesLocked(0xc006f74cf0, {0x1b3c770, 0xc0034b8a80}) pkg/sentry/fsimpl/kernfs/filesystem.go:293 +0x33f fp=0xc00413ae88 sp=0xc00413ada8 pc=0xa41f3f gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).Release(0xc009142000, {0x1b3c770, 0xc0034b8a80}) pkg/sentry/fsimpl/kernfs/filesystem.go:267 +0xa6 fp=0xc00413aec0 sp=0xc00413ae88 pc=0xa41b26 gvisor.dev/gvisor/pkg/sentry/fsimpl/cgroupfs.(*filesystem).Release(0xc009142000, {0x1b3c770, 0xc0034b8a80}) pkg/sentry/fsimpl/cgroupfs/cgroupfs.go:474 +0x219 fp=0xc00413af18 sp=0xc00413aec0 pc=0x11e3db9 gvisor.dev/gvisor/pkg/sentry/vfs.(*Filesystem).DecRef.func1() pkg/sentry/vfs/filesystem.go:81 +0x117 fp=0xc00413af68 sp=0xc00413af18 pc=0x9733d7 gvisor.dev/gvisor/pkg/sentry/vfs.(*FilesystemRefs).DecRef(0xc009142000, 0xc00413afd8) bazel-out/k8-fastbuild-ST-3dcbe13c9b87/bin/pkg/sentry/vfs/filesystem_refs.go:131 +0xb2 fp=0xc00413afc8 sp=0xc00413af68 pc=0x973ef2 gvisor.dev/gvisor/pkg/sentry/vfs.(*Filesystem).DecRef(0xc009142000, {0x1b3c770, 0xc0034b8a80}) pkg/sentry/vfs/filesystem.go:77 +0x87 fp=0xc00413b008 sp=0xc00413afc8 pc=0x973287 gvisor.dev/gvisor/pkg/sentry/vfs.(*Mount).destroy(0xc004fe0900, {0x1b3c770, 0xc0034b8a80}) pkg/sentry/vfs/mount.go:926 +0x1b4 fp=0xc00413b060 sp=0xc00413b008 pc=0x9823f4 gvisor.dev/gvisor/pkg/sentry/vfs.(*Mount).DecRef(0xc004fe0900, {0x1b3c770, 0xc0034b8a80}) pkg/sentry/vfs/mount.go:910 +0xca fp=0xc00413b090 sp=0xc00413b060 pc=0x9821ea gvisor.dev/gvisor/pkg/sentry/vfs.VirtualDentry.DecRef({0xc004fe0900?, 0xc006f74cf0?}, {0x1b3c770, 0xc0034b8a80}) pkg/sentry/vfs/vfs.go:927 +0x7e fp=0xc00413b0c8 sp=0xc00413b090 pc=0x99999e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).UmountAt.func1() pkg/sentry/vfs/mount.go:653 +0x74 fp=0xc00413b110 sp=0xc00413b0c8 pc=0x981014 runtime.deferreturn() GOROOT/src/runtime/panic.go:436 +0x33 fp=0xc00413b150 sp=0xc00413b110 pc=0x4374b3 gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).UmountAt(0xc00047f0d0, {0x1b3c770, 0xc0034b8a80}, 0xc0035fbda0, 0xc006427600?, 0xc00413b424) pkg/sentry/vfs/mount.go:739 +0xcfe fp=0xc00413b398 sp=0xc00413b150 pc=0x980b9e gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Umount2(0xc0034b8a80, {{0x7f3d2e97a580}, {0xa}, {0x7f3d2e97a58b}, {0x563b07d547a3}, {0xffffffff}, {0x7f3d2e97a350}}) pkg/sentry/syscalls/linux/sys_mount.go:171 +0x3a5 fp=0xc00413b5b0 sp=0xc00413b398 pc=0xefbcc5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc0034b8a80, 0xa6, {{0x7f3d2e97a580}, {0xa}, {0x7f3d2e97a58b}, {0x563b07d547a3}, {0xffffffff}, {0x7f3d2e97a350}}) pkg/sentry/kernel/task_syscall.go:142 +0xab8 fp=0xc00413b9f8 sp=0xc00413b5b0 pc=0xce1278 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc0034b8a80, 0x1?, {{0x7f3d2e97a580}, {0xa}, {0x7f3d2e97a58b}, {0x563b07d547a3}, {0xffffffff}, {0x7f3d2e97a350}}) pkg/sentry/kernel/task_syscall.go:322 +0x8e fp=0xc00413ba98 sp=0xc00413b9f8 pc=0xce340e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc002632780?, 0x46fdec?, {{0x7f3d2e97a580}, {0xa}, {0x7f3d2e97a58b}, {0x563b07d547a3}, {0xffffffff}, {0x7f3d2e97a350}}) pkg/sentry/kernel/task_syscall.go:282 +0xc5 fp=0xc00413bb10 sp=0xc00413ba98 pc=0xce2ce5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0034b8a80) pkg/sentry/kernel/task_syscall.go:257 +0x53b fp=0xc00413bc38 sp=0xc00413bb10 pc=0xce27db gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc0034b8a80?, 0xc0034b8a80) pkg/sentry/kernel/task_run.go:253 +0x1e2b fp=0xc00413bec0 sp=0xc00413bc38 pc=0xccbdab gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc0034b8a80, 0xab6) pkg/sentry/kernel/task_run.go:94 +0x2c2 fp=0xc00413bfb0 sp=0xc00413bec0 pc=0xcc95c2 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:378 +0x48 fp=0xc00413bfe0 sp=0xc00413bfb0 pc=0xcde988 runtime.goexit() src/runtime/asm_amd64.s:1571 +0x1 fp=0xc00413bfe8 sp=0xc00413bfe0 pc=0x46e1c1 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:378 +0x1d0