panic: kernfs.Dentry.DecRef() called without holding a reference goroutine 233762 [running]: panic({0x172f380, 0x1b224a0}) GOROOT/src/runtime/panic.go:941 +0x397 fp=0xc00102ac98 sp=0xc00102abd8 pc=0x438397 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Dentry).decRefLocked(0xc000739560, {0x1b3c770, 0xc007366000}) pkg/sentry/fsimpl/kernfs/kernfs.go:302 +0x109 fp=0xc00102acc8 sp=0xc00102ac98 pc=0xa55929 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Dentry).releaseKeptDentriesLocked(0xc000739560, {0x1b3c770, 0xc007366000}) pkg/sentry/fsimpl/kernfs/filesystem.go:282 +0x10a fp=0xc00102ada8 sp=0xc00102acc8 pc=0xa41d0a gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Dentry).releaseKeptDentriesLocked(0xc0038bd830, {0x1b3c770, 0xc007366000}) pkg/sentry/fsimpl/kernfs/filesystem.go:293 +0x33f fp=0xc00102ae88 sp=0xc00102ada8 pc=0xa41f3f gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).Release(0xc0066705a0, {0x1b3c770, 0xc007366000}) pkg/sentry/fsimpl/kernfs/filesystem.go:267 +0xa6 fp=0xc00102aec0 sp=0xc00102ae88 pc=0xa41b26 gvisor.dev/gvisor/pkg/sentry/fsimpl/cgroupfs.(*filesystem).Release(0xc0066705a0, {0x1b3c770, 0xc007366000}) pkg/sentry/fsimpl/cgroupfs/cgroupfs.go:474 +0x219 fp=0xc00102af18 sp=0xc00102aec0 pc=0x11e3db9 gvisor.dev/gvisor/pkg/sentry/vfs.(*Filesystem).DecRef.func1() pkg/sentry/vfs/filesystem.go:81 +0x117 fp=0xc00102af68 sp=0xc00102af18 pc=0x9733d7 gvisor.dev/gvisor/pkg/sentry/vfs.(*FilesystemRefs).DecRef(0xc0066705a0, 0xc00102afd8) bazel-out/k8-fastbuild-ST-3dcbe13c9b87/bin/pkg/sentry/vfs/filesystem_refs.go:131 +0xb2 fp=0xc00102afc8 sp=0xc00102af68 pc=0x973ef2 gvisor.dev/gvisor/pkg/sentry/vfs.(*Filesystem).DecRef(0xc0066705a0, {0x1b3c770, 0xc007366000}) pkg/sentry/vfs/filesystem.go:77 +0x87 fp=0xc00102b008 sp=0xc00102afc8 pc=0x973287 gvisor.dev/gvisor/pkg/sentry/vfs.(*Mount).destroy(0xc003a49980, {0x1b3c770, 0xc007366000}) pkg/sentry/vfs/mount.go:926 +0x1b4 fp=0xc00102b060 sp=0xc00102b008 pc=0x9823f4 gvisor.dev/gvisor/pkg/sentry/vfs.(*Mount).DecRef(0xc003a49980, {0x1b3c770, 0xc007366000}) pkg/sentry/vfs/mount.go:910 +0xca fp=0xc00102b090 sp=0xc00102b060 pc=0x9821ea gvisor.dev/gvisor/pkg/sentry/vfs.VirtualDentry.DecRef({0xc003a49980?, 0xc0038bd830?}, {0x1b3c770, 0xc007366000}) pkg/sentry/vfs/vfs.go:927 +0x7e fp=0xc00102b0c8 sp=0xc00102b090 pc=0x99999e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).UmountAt.func1() pkg/sentry/vfs/mount.go:653 +0x74 fp=0xc00102b110 sp=0xc00102b0c8 pc=0x981014 runtime.deferreturn() GOROOT/src/runtime/panic.go:436 +0x33 fp=0xc00102b150 sp=0xc00102b110 pc=0x4374b3 gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).UmountAt(0xc00002bcd0, {0x1b3c770, 0xc007366000}, 0xc001450540, 0xc008332b00?, 0xc00102b424) pkg/sentry/vfs/mount.go:739 +0xcfe fp=0xc00102b398 sp=0xc00102b150 pc=0x980b9e gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Umount2(0xc007366000, {{0x7fb2eec3c580}, {0xa}, {0x7fb2eec3c58b}, {0x55e3dd8b37a3}, {0xffffffff}, {0x7fb2eec3c350}}) pkg/sentry/syscalls/linux/sys_mount.go:171 +0x3a5 fp=0xc00102b5b0 sp=0xc00102b398 pc=0xefbcc5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc007366000, 0xa6, {{0x7fb2eec3c580}, {0xa}, {0x7fb2eec3c58b}, {0x55e3dd8b37a3}, {0xffffffff}, {0x7fb2eec3c350}}) pkg/sentry/kernel/task_syscall.go:142 +0xab8 fp=0xc00102b9f8 sp=0xc00102b5b0 pc=0xce1278 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc007366000, 0x1?, {{0x7fb2eec3c580}, {0xa}, {0x7fb2eec3c58b}, {0x55e3dd8b37a3}, {0xffffffff}, {0x7fb2eec3c350}}) pkg/sentry/kernel/task_syscall.go:322 +0x8e fp=0xc00102ba98 sp=0xc00102b9f8 pc=0xce340e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0005e0960?, 0x46fdec?, {{0x7fb2eec3c580}, {0xa}, {0x7fb2eec3c58b}, {0x55e3dd8b37a3}, {0xffffffff}, {0x7fb2eec3c350}}) pkg/sentry/kernel/task_syscall.go:282 +0xc5 fp=0xc00102bb10 sp=0xc00102ba98 pc=0xce2ce5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc007366000) pkg/sentry/kernel/task_syscall.go:257 +0x53b fp=0xc00102bc38 sp=0xc00102bb10 pc=0xce27db gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc007366000?, 0xc007366000) pkg/sentry/kernel/task_run.go:253 +0x1e2b fp=0xc00102bec0 sp=0xc00102bc38 pc=0xccbdab gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc007366000, 0x12ce) pkg/sentry/kernel/task_run.go:94 +0x2c2 fp=0xc00102bfb0 sp=0xc00102bec0 pc=0xcc95c2 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:378 +0x48 fp=0xc00102bfe0 sp=0xc00102bfb0 pc=0xcde988 runtime.goexit() src/runtime/asm_amd64.s:1571 +0x1 fp=0xc00102bfe8 sp=0xc00102bfe0 pc=0x46e1c1 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:378 +0x1d0