panic: kernfs.Dentry.DecRef() called without holding a reference goroutine 1146329 [running]: panic(0x11d1600, 0x1565508) GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc0225c1ce0 sp=0xc0225c1c18 pc=0x437c65 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Dentry).DecRef(0xc01a1a7320, 0x15aa480, 0xc021f03500) pkg/sentry/fsimpl/kernfs/kernfs.go:312 +0x11f fp=0xc0225c1d08 sp=0xc0225c1ce0 pc=0x8a979f gvisor.dev/gvisor/pkg/sentry/vfs.(*Dentry).DecRef(...) pkg/sentry/vfs/dentry.go:163 gvisor.dev/gvisor/pkg/sentry/vfs.(*Mount).destroy(0xc0098bf860, 0x15aa480, 0xc021f03500) pkg/sentry/vfs/mount.go:634 +0x125 fp=0xc0225c1d58 sp=0xc0225c1d08 pc=0x785925 gvisor.dev/gvisor/pkg/sentry/vfs.(*Mount).DecRef(0xc0098bf860, 0x15aa480, 0xc021f03500) pkg/sentry/vfs/mount.go:616 +0xaa fp=0xc0225c1d80 sp=0xc0225c1d58 pc=0x7857ea gvisor.dev/gvisor/pkg/sentry/fsimpl/mqfs.(*RegistryImpl).Destroy(0xc0119721e0, 0x15aa480, 0xc021f03500) pkg/sentry/fsimpl/mqfs/registry.go:155 +0x72 fp=0xc0225c1da8 sp=0xc0225c1d80 pc=0x8c8552 gvisor.dev/gvisor/pkg/sentry/kernel/mq.(*Registry).Destroy(0xc00cd0c1e0, 0x15aa480, 0xc021f03500) pkg/sentry/kernel/mq/mq.go:283 +0x97 fp=0xc0225c1df0 sp=0xc0225c1da8 pc=0x8c2d37 gvisor.dev/gvisor/pkg/sentry/kernel.(*IPCNamespace).DecRef.func1() pkg/sentry/kernel/ipc_namespace.go:120 +0x9e fp=0xc0225c1e30 sp=0xc0225c1df0 pc=0xa862de gvisor.dev/gvisor/pkg/sentry/kernel.(*IPCNamespaceRefs).DecRef(0xc01741cb40, 0xc0225c1eb8) bazel-out/k8-fastbuild-ST-4c64f0b3d5c7/bin/pkg/sentry/kernel/ipc_namespace_refs.go:152 +0x82 fp=0xc0225c1ea8 sp=0xc0225c1e30 pc=0xa21d02 gvisor.dev/gvisor/pkg/sentry/kernel.(*IPCNamespace).DecRef(0xc01741cb40, 0x15aa480, 0xc021f03500) pkg/sentry/kernel/ipc_namespace.go:115 +0x73 fp=0xc0225c1ee8 sp=0xc0225c1ea8 pc=0xa21553 gvisor.dev/gvisor/pkg/sentry/kernel.(*runExitMain).execute(0x0, 0xc021f03500, 0x157e500, 0x0) pkg/sentry/kernel/task_exit.go:292 +0x277 fp=0xc0225c1f60 sp=0xc0225c1ee8 pc=0xa4d857 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc021f03500, 0x7015) pkg/sentry/kernel/task_run.go:100 +0x1e2 fp=0xc0225c1fd0 sp=0xc0225c1f60 pc=0xa58622 runtime.goexit() src/runtime/asm_amd64.s:1371 +0x1 fp=0xc0225c1fd8 sp=0xc0225c1fd0 pc=0x472861 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:380 +0x116