panic: Decrementing non-positive ref count 0xc0023372c0, owned by vfs.FileDescription goroutine 37615 [running]: panic(0x10b2300, 0xc000d663c0) GOROOT/src/runtime/panic.go:1064 +0x470 fp=0xc0034cf380 sp=0xc0034cf2c8 pc=0x437110 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescriptionRefs).DecRef(0xc0023372c0, 0xc0034cf408) bazel-out/k8-fastbuild-ST-3bfd66f45e612c1a5c797474a25664e227d81bf914f3b08a40e00b2e2692afa4/bin/pkg/sentry/vfs/file_description_refs.go:136 +0x1cc fp=0xc0034cf3f8 sp=0xc0034cf380 pc=0x7df5cc gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef(0xc0023372c0, 0x14227e0, 0xc002f4f500) pkg/sentry/vfs/file_description.go:169 +0x73 fp=0xc0034cf438 sp=0xc0034cf3f8 pc=0x7d9713 gvisor.dev/gvisor/pkg/sentry/socket/control.(*RightsFilesVFS2).Release(0xc0028352c0, 0x14227e0, 0xc002f4f500) pkg/sentry/socket/control/control_vfs2.go:105 +0x75 fp=0xc0034cf478 sp=0xc0034cf438 pc=0xaa8235 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*ControlMessages).Release(0xc001960cd8, 0x14227e0, 0xc002f4f500) pkg/sentry/socket/unix/transport/unix.go:86 +0xb7 fp=0xc0034cf4a0 sp=0xc0034cf478 pc=0x7296d7 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*message).Release(...) pkg/sentry/socket/unix/transport/unix.go:295 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*queue).Reset(0xc00079ac30, 0x14227e0, 0xc002f4f500) pkg/sentry/socket/unix/transport/queue.go:67 +0x95 fp=0xc0034cf4d8 sp=0xc0034cf4a0 pc=0x7270b5 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*queue).DecRef.func1() pkg/sentry/socket/unix/transport/queue.go:82 +0x46 fp=0xc0034cf500 sp=0xc0034cf4d8 pc=0x72f846 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*queueRefs).DecRef(0xc00079ac30, 0xc0034cf588) bazel-out/k8-fastbuild-ST-3bfd66f45e612c1a5c797474a25664e227d81bf914f3b08a40e00b2e2692afa4/bin/pkg/sentry/socket/unix/transport/queue_refs.go:144 +0x82 fp=0xc0034cf578 sp=0xc0034cf500 pc=0x728642 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*queue).DecRef(0xc00079ac30, 0x14227e0, 0xc002f4f500) pkg/sentry/socket/unix/transport/queue.go:78 +0x73 fp=0xc0034cf5b8 sp=0xc0034cf578 pc=0x7271b3 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*connectedEndpoint).Release(0xc000b22f60, 0x14227e0, 0xc002f4f500) pkg/sentry/socket/unix/transport/unix.go:798 +0x4d fp=0xc0034cf5e0 sp=0xc0034cf5b8 pc=0x72b52d gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*connectionedEndpoint).Close(0xc0042d8800, 0x14227e0, 0xc002f4f500) pkg/sentry/socket/unix/transport/connectioned.go:267 +0x25a fp=0xc0034cf648 sp=0xc0034cf5e0 pc=0x723f5a gvisor.dev/gvisor/pkg/sentry/socket/unix.(*SocketVFS2).DecRef.func1() pkg/sentry/socket/unix/unix_vfs2.go:112 +0xb0 fp=0xc0034cf698 sp=0xc0034cf648 pc=0xbf13d0 gvisor.dev/gvisor/pkg/sentry/socket/unix.(*socketVFS2Refs).DecRef(0xc002337330, 0xc0034cf720) bazel-out/k8-fastbuild-ST-3bfd66f45e612c1a5c797474a25664e227d81bf914f3b08a40e00b2e2692afa4/bin/pkg/sentry/socket/unix/socket_vfs2_refs.go:144 +0x82 fp=0xc0034cf710 sp=0xc0034cf698 pc=0xbe73c2 gvisor.dev/gvisor/pkg/sentry/socket/unix.(*SocketVFS2).DecRef(0xc0023372c0, 0x14227e0, 0xc002f4f500) pkg/sentry/socket/unix/unix_vfs2.go:108 +0x77 fp=0xc0034cf750 sp=0xc0034cf710 pc=0xbecf37 gvisor.dev/gvisor/pkg/sentry/socket/unix.(*SocketVFS2).Release(0xc0023372c0, 0x14227e0, 0xc002f4f500) pkg/sentry/socket/unix/unix_vfs2.go:125 +0x49 fp=0xc0034cf778 sp=0xc0034cf750 pc=0xbecfa9 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef.func1() pkg/sentry/vfs/file_description.go:200 +0x229 fp=0xc0034cf858 sp=0xc0034cf778 pc=0x802cc9 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescriptionRefs).DecRef(0xc0023372c0, 0xc0034cf8e0) bazel-out/k8-fastbuild-ST-3bfd66f45e612c1a5c797474a25664e227d81bf914f3b08a40e00b2e2692afa4/bin/pkg/sentry/vfs/file_description_refs.go:144 +0x82 fp=0xc0034cf8d0 sp=0xc0034cf858 pc=0x7df482 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef(0xc0023372c0, 0x14227e0, 0xc002f4f500) pkg/sentry/vfs/file_description.go:169 +0x73 fp=0xc0034cf910 sp=0xc0034cf8d0 pc=0x7d9713 gvisor.dev/gvisor/pkg/sentry/socket/control.(*RightsFilesVFS2).Release(0xc0028352c0, 0x14227e0, 0xc002f4f500) pkg/sentry/socket/control/control_vfs2.go:105 +0x75 fp=0xc0034cf950 sp=0xc0034cf910 pc=0xaa8235 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*ControlMessages).Release(0xc001960568, 0x14227e0, 0xc002f4f500) pkg/sentry/socket/unix/transport/unix.go:86 +0xb7 fp=0xc0034cf978 sp=0xc0034cf950 pc=0x7296d7 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*streamQueueReceiver).Release(0xc001960540, 0x14227e0, 0xc002f4f500) pkg/sentry/socket/unix/transport/unix.go:641 +0x7e fp=0xc0034cf9a0 sp=0xc0034cf978 pc=0x72affe gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*connectionedEndpoint).Close(0xc0042d8700, 0x14227e0, 0xc002f4f500) pkg/sentry/socket/unix/transport/connectioned.go:273 +0x217 fp=0xc0034cfa08 sp=0xc0034cf9a0 pc=0x723f17 gvisor.dev/gvisor/pkg/sentry/socket/unix.(*SocketVFS2).DecRef.func1() pkg/sentry/socket/unix/unix_vfs2.go:112 +0xb0 fp=0xc0034cfa58 sp=0xc0034cfa08 pc=0xbf13d0 gvisor.dev/gvisor/pkg/sentry/socket/unix.(*socketVFS2Refs).DecRef(0xc002337270, 0xc0034cfae0) bazel-out/k8-fastbuild-ST-3bfd66f45e612c1a5c797474a25664e227d81bf914f3b08a40e00b2e2692afa4/bin/pkg/sentry/socket/unix/socket_vfs2_refs.go:144 +0x82 fp=0xc0034cfad0 sp=0xc0034cfa58 pc=0xbe73c2 gvisor.dev/gvisor/pkg/sentry/socket/unix.(*SocketVFS2).DecRef(0xc002337200, 0x14227e0, 0xc002f4f500) pkg/sentry/socket/unix/unix_vfs2.go:108 +0x77 fp=0xc0034cfb10 sp=0xc0034cfad0 pc=0xbecf37 gvisor.dev/gvisor/pkg/sentry/socket/unix.(*SocketVFS2).Release(0xc002337200, 0x14227e0, 0xc002f4f500) pkg/sentry/socket/unix/unix_vfs2.go:125 +0x49 fp=0xc0034cfb38 sp=0xc0034cfb10 pc=0xbecfa9 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef.func1() pkg/sentry/vfs/file_description.go:200 +0x229 fp=0xc0034cfc18 sp=0xc0034cfb38 pc=0x802cc9 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescriptionRefs).DecRef(0xc002337200, 0xc0034cfca0) bazel-out/k8-fastbuild-ST-3bfd66f45e612c1a5c797474a25664e227d81bf914f3b08a40e00b2e2692afa4/bin/pkg/sentry/vfs/file_description_refs.go:144 +0x82 fp=0xc0034cfc90 sp=0xc0034cfc18 pc=0x7df482 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef(0xc002337200, 0x14227e0, 0xc002f4f500) pkg/sentry/vfs/file_description.go:169 +0x73 fp=0xc0034cfcd0 sp=0xc0034cfc90 pc=0x7d9713 gvisor.dev/gvisor/pkg/sentry/kernel.(*FDTable).dropVFS2(0xc001282c30, 0x14227e0, 0xc002f4f500, 0xc002337200) pkg/sentry/kernel/fd_table.go:200 +0x189 fp=0xc0034cfd50 sp=0xc0034cfcd0 pc=0xa044a9 gvisor.dev/gvisor/pkg/sentry/kernel.(*FDTable).RemoveIf(0xc001282c30, 0x14227e0, 0xc002f4f500, 0x12dcb68) pkg/sentry/kernel/fd_table.go:862 +0x20b fp=0xc0034cfe10 sp=0xc0034cfd50 pc=0xa06d0b gvisor.dev/gvisor/pkg/sentry/kernel.(*FDTable).DecRef.func1() pkg/sentry/kernel/fd_table.go:218 +0x52 fp=0xc0034cfe40 sp=0xc0034cfe10 pc=0xa6b532 gvisor.dev/gvisor/pkg/sentry/kernel.(*FDTableRefs).DecRef(0xc001282c30, 0xc0034cfec8) bazel-out/k8-fastbuild-ST-3bfd66f45e612c1a5c797474a25664e227d81bf914f3b08a40e00b2e2692afa4/bin/pkg/sentry/kernel/fd_table_refs.go:144 +0x82 fp=0xc0034cfeb8 sp=0xc0034cfe40 pc=0xa07402 gvisor.dev/gvisor/pkg/sentry/kernel.(*FDTable).DecRef(0xc001282c30, 0x14227e0, 0xc002f4f500) pkg/sentry/kernel/fd_table.go:216 +0x73 fp=0xc0034cfef8 sp=0xc0034cfeb8 pc=0xa046b3 gvisor.dev/gvisor/pkg/sentry/kernel.(*runExitMain).execute(0x0, 0xc002f4f500, 0x13f4cc0, 0x0) pkg/sentry/kernel/task_exit.go:312 +0x198 fp=0xc0034cff60 sp=0xc0034cfef8 pc=0xa34518 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc002f4f500, 0x501) pkg/sentry/kernel/task_run.go:100 +0x1e2 fp=0xc0034cffd0 sp=0xc0034cff60 pc=0xa3f402 runtime.goexit() src/runtime/asm_amd64.s:1374 +0x1 fp=0xc0034cffd8 sp=0xc0034cffd0 pc=0x470681 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:374 +0x116