panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x7878ea] goroutine 1136303 [running]: panic({0x1115fa0?, 0x2a4c590?}) GOROOT/src/runtime/panic.go:1017 +0x3ac fp=0xc018beb900 sp=0xc018beb850 pc=0x43a72c runtime.panicmem(...) GOROOT/src/runtime/panic.go:261 runtime.sigpanic() GOROOT/src/runtime/signal_unix.go:861 +0x378 fp=0xc018beb960 sp=0xc018beb900 pc=0x451f38 gvisor.dev/gvisor/pkg/sentry/vfs.(*Mount).IncRef(0x1108f40?) pkg/sentry/vfs/mount.go:693 +0xa fp=0xc018beb968 sp=0xc018beb960 pc=0x7878ea gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004fefe0, {0x15144d8, 0xc00b4fa000}, 0xc006a6bf10, 0xc006a6bf20, 0xc0027ac320, 0x0) pkg/sentry/vfs/namespace.go:143 +0x1be fp=0xc018beba38 sp=0xc018beb968 pc=0x78cffe gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004fefe0, {0x15144d8, 0xc00b4fa000}, 0xc006a6bf10, 0xc006a6bf20, 0xc0027ac140, 0xc02b535180) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc018bebb08 sp=0xc018beba38 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004fefe0, {0x15144d8, 0xc00b4fa000}, 0xc006a6bf10, 0xc006a6bf20, 0xc00872b9a0, 0xc02b5350e0) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc018bebbd8 sp=0xc018bebb08 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004fefe0, {0x15144d8, 0xc00b4fa000}, 0xc006a6bf10, 0xc006a6bf20, 0xc000399a40, 0xc02b535040) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc018bebca8 sp=0xc018bebbd8 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004fefe0, {0x15144d8, 0xc00b4fa000}, 0xc006a6bf10, 0xc006a6bf20, 0xc00625b400, 0xc02b534fa0) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc018bebd78 sp=0xc018bebca8 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004fefe0, {0x15144d8, 0xc00b4fa000}, 0xc006a6bf10, 0xc006a6bf20, 0xc006596960, 0xc02b534f00) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc018bebe48 sp=0xc018bebd78 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004fefe0, {0x15144d8, 0xc00b4fa000}, 0xc006a6bf10, 0xc006a6bf20, 0xc00bdbc960, 0xc02b534e60) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc018bebf18 sp=0xc018bebe48 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004fefe0, {0x15144d8, 0xc00b4fa000}, 0xc006a6bf10, 0xc006a6bf20, 0xc00bdbc8c0, 0xc02b534dc0) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc018bebfe8 sp=0xc018bebf18 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004fefe0, {0x15144d8, 0xc00b4fa000}, 0xc006a6bf10, 0xc006a6bf20, 0xc00bdbcaa0, 0xc02b534d20) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc018bec0b8 sp=0xc018bebfe8 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004fefe0, {0x15144d8, 0xc00b4fa000}, 0xc006a6bf10, 0xc006a6bf20, 0xc00bdbc820, 0xc02b534c80) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc018bec188 sp=0xc018bec0b8 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004fefe0, {0x15144d8, 0xc00b4fa000}, 0xc006a6bf10, 0xc006a6bf20, 0xc00bdbcb40, 0xc02b534be0) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc018bec258 sp=0xc018bec188 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004fefe0, {0x15144d8, 0xc00b4fa000}, 0xc006a6bf10, 0xc006a6bf20, 0xc00bdbcbe0, 0xc02b534b40) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc018bec328 sp=0xc018bec258 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004fefe0, {0x15144d8, 0xc00b4fa000}, 0xc006a6bf10, 0xc006a6bf20, 0xc00bdbcc80, 0xc02b534aa0) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc018bec3f8 sp=0xc018bec328 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004fefe0, {0x15144d8, 0xc00b4fa000}, 0xc006a6bf10, 0xc006a6bf20, 0xc00bdbcd20, 0xc02b534a00) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc018bec4c8 sp=0xc018bec3f8 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004fefe0, {0x15144d8, 0xc00b4fa000}, 0xc006a6bf10, 0xc006a6bf20, 0xc00bdbc780, 0xc02b534960) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc018bec598 sp=0xc018bec4c8 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004fefe0, {0x15144d8, 0xc00b4fa000}, 0xc006a6bf10, 0xc006a6bf20, 0xc00bdbcdc0, 0xc02b5348c0) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc018bec668 sp=0xc018bec598 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004fefe0, {0x15144d8, 0xc00b4fa000}, 0xc006a6bf10, 0xc006a6bf20, 0xc00bdbce60, 0xc02b534820) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc018bec738 sp=0xc018bec668 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004fefe0, {0x15144d8, 0xc00b4fa000}, 0xc006a6bf10, 0xc006a6bf20, 0xc00bdbcf00, 0xc02b534640) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc018bec808 sp=0xc018bec738 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004fefe0, {0x15144d8, 0xc00b4fa000}, 0xc006a6bf10, 0xc006a6bf20, 0xc00bdbc640, 0xc02b534780) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc018bec8d8 sp=0xc018bec808 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004fefe0, {0x15144d8, 0xc00b4fa000}, 0xc006a6bf10, 0xc006a6bf20, 0xc00bdbd180, 0xc02b5346e0) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc018bec9a8 sp=0xc018bec8d8 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004fefe0, {0x15144d8, 0xc00b4fa000}, 0xc006a6bf10, 0xc006a6bf20, 0xc00bdbd220, 0xc02b5345a0) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc018beca78 sp=0xc018bec9a8 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004fefe0, {0x15144d8, 0xc00b4fa000}, 0xc006a6bf10, 0xc006a6bf20, 0xc00bdbd540, 0xc02b534500) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc018becb48 sp=0xc018beca78 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004fefe0, {0x15144d8, 0xc00b4fa000}, 0xc006a6bf10, 0xc006a6bf20, 0xc00bdbd5e0, 0xc02b534460) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc018becc18 sp=0xc018becb48 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004fefe0, {0x15144d8, 0xc00b4fa000}, 0xc006a6bf10, 0xc006a6bf20, 0xc00bdbd4a0, 0xc02b5343c0) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc018becce8 sp=0xc018becc18 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004fefe0, {0x15144d8, 0xc00b4fa000}, 0xc006a6bf10, 0xc006a6bf20, 0xc00bdbc5a0, 0xc02b534320) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc018becdb8 sp=0xc018becce8 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004fefe0, {0x15144d8, 0xc00b4fa000}, 0xc006a6bf10, 0xc006a6bf20, 0xc00bdbd680, 0xc02b534280) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc018bece88 sp=0xc018becdb8 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004fefe0, {0x15144d8, 0xc00b4fa000}, 0xc006a6bf10, 0xc006a6bf20, 0xc00bdbd720, 0xc02b5341e0) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc018becf58 sp=0xc018bece88 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004fefe0, {0x15144d8, 0xc00b4fa000}, 0xc006a6bf10, 0xc006a6bf20, 0xc00bdbd7c0, 0xc02b534140) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc018bed028 sp=0xc018becf58 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004fefe0, {0x15144d8, 0xc00b4fa000}, 0xc006a6bf10, 0xc006a6bf20, 0xc00bdbd860, 0xc02b534000) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc018bed0f8 sp=0xc018bed028 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004fefe0, {0x15144d8, 0xc00b4fa000}, 0xc006a6bf10, 0xc006a6bf20, 0xc00bdbd900, 0xc01b7ebf40) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc018bed1c8 sp=0xc018bed0f8 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004fefe0, {0x15144d8, 0xc00b4fa000}, 0xc006a6bf10, 0xc006a6bf20, 0xc00bdbd9a0, 0xc01b7ebea0) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc018bed298 sp=0xc018bed1c8 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0004fefe0, {0x15144d8, 0xc00b4fa000}, 0xc006a6bf10, 0xc006a6bf20, 0xc0027ac0a0, 0xc01b7ebe00) pkg/sentry/vfs/namespace.go:147 +0x27a fp=0xc018bed368 sp=0xc018bed298 pc=0x78d0ba gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).CloneMountNamespace(0xc0004fefe0, {0x15144d8, 0xc00b4fa000}, 0xc00282ba40, 0xc002712ab0, 0xc022c3a900?, 0x20000?, {0x14f7f60, 0xc0004fee00}) pkg/sentry/vfs/namespace.go:186 +0x270 fp=0xc018bed430 sp=0xc018bed368 pc=0x78d3b0 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Clone(0xc00b4fa000, 0xc018bed810) pkg/sentry/kernel/task_clone.go:205 +0xf29 fp=0xc018bed800 sp=0xc018bed430 pc=0x99c089 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.clone(0x0?, 0xc007df9918?, 0x418f8b?, 0x2aa4a48?, 0x424b65?, 0x7fc322a00000?) pkg/sentry/syscalls/linux/sys_thread.go:215 +0xbd fp=0xc018bed8d0 sp=0xc018bed800 pc=0xb5585d gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Clone(0x2?, 0x56338c2d5000?, {{0x20000}, {0x20000000}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_clone_amd64.go:36 +0x68 fp=0xc018bed910 sp=0xc018bed8d0 pc=0xb16948 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00b4fa000, 0x38, {{0x20000}, {0x20000000}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x80b fp=0xc018bedc50 sp=0xc018bed910 pc=0x9bfc4b gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00b4fa000, 0x1?, {{0x20000}, {0x20000000}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x4e fp=0xc018bedcb0 sp=0xc018bedc50 pc=0x9c124e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc00002c238?, 0xc018beddf8?, {{0x20000}, {0x20000000}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x74 fp=0xc018bedd10 sp=0xc018bedcb0 pc=0x9c0e14 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc011ce86e0?) pkg/sentry/kernel/task_syscall.go:257 +0x3a8 fp=0xc018bede08 sp=0xc018bedd10 pc=0x9c0b08 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc012453d80?, 0xc00b4fa000) pkg/sentry/kernel/task_run.go:269 +0x1405 fp=0xc018bedf48 sp=0xc018bede08 pc=0x9b2bc5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00b4fa000, 0x18dc) pkg/sentry/kernel/task_run.go:98 +0x262 fp=0xc018bedfc0 sp=0xc018bedf48 pc=0x9b10e2 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:395 +0x25 fp=0xc018bedfe0 sp=0xc018bedfc0 pc=0x9be145 runtime.goexit() src/runtime/asm_amd64.s:1650 +0x1 fp=0xc018bedfe8 sp=0xc018bedfe0 pc=0x471241 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start in goroutine 1136308 pkg/sentry/kernel/task_start.go:395 +0xf8