panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x78870a] goroutine 2182823 [running]: panic({0x115d8e0, 0x2a25fb0}) GOROOT/src/runtime/panic.go:987 +0x3bb fp=0xc000d75f90 sp=0xc000d75ed0 pc=0x436abb runtime.panicmem(...) GOROOT/src/runtime/panic.go:260 runtime.sigpanic() GOROOT/src/runtime/signal_unix.go:837 +0x37d fp=0xc000d75ff0 sp=0xc000d75f90 pc=0x44e0fd gvisor.dev/gvisor/pkg/sentry/vfs.(*Mount).IncRef(0x114bde0?) pkg/sentry/vfs/mount.go:644 +0xa fp=0xc000d75ff8 sp=0xc000d75ff0 pc=0x78870a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00024b360, {0x1535080, 0xc0021e3500}, 0xc0016407d0, 0xc0016407e0, 0xc000668be0, 0x0) pkg/sentry/vfs/namespace.go:138 +0x1b2 fp=0xc000d760c8 sp=0xc000d75ff8 pc=0x78e092 gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00024b360, {0x1535080, 0xc0021e3500}, 0xc0016407d0, 0xc0016407e0, 0xc000668320, 0x0) pkg/sentry/vfs/namespace.go:142 +0x27a fp=0xc000d76198 sp=0xc000d760c8 pc=0x78e15a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00024b360, {0x1535080, 0xc0021e3500}, 0xc0016407d0, 0xc0016407e0, 0xc000669040, 0x0) pkg/sentry/vfs/namespace.go:142 +0x27a fp=0xc000d76268 sp=0xc000d76198 pc=0x78e15a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00024b360, {0x1535080, 0xc0021e3500}, 0xc0016407d0, 0xc0016407e0, 0xc0010fa0a0, 0x0) pkg/sentry/vfs/namespace.go:142 +0x27a fp=0xc000d76338 sp=0xc000d76268 pc=0x78e15a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00024b360, {0x1535080, 0xc0021e3500}, 0xc0016407d0, 0xc0016407e0, 0xc0028f2000, 0x0) pkg/sentry/vfs/namespace.go:142 +0x27a fp=0xc000d76408 sp=0xc000d76338 pc=0x78e15a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00024b360, {0x1535080, 0xc0021e3500}, 0xc0016407d0, 0xc0016407e0, 0xc0019261e0, 0x0) pkg/sentry/vfs/namespace.go:142 +0x27a fp=0xc000d764d8 sp=0xc000d76408 pc=0x78e15a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00024b360, {0x1535080, 0xc0021e3500}, 0xc0016407d0, 0xc0016407e0, 0xc001926280, 0x0) pkg/sentry/vfs/namespace.go:142 +0x27a fp=0xc000d765a8 sp=0xc000d764d8 pc=0x78e15a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00024b360, {0x1535080, 0xc0021e3500}, 0xc0016407d0, 0xc0016407e0, 0xc000669360, 0x0) pkg/sentry/vfs/namespace.go:142 +0x27a fp=0xc000d76678 sp=0xc000d765a8 pc=0x78e15a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00024b360, {0x1535080, 0xc0021e3500}, 0xc0016407d0, 0xc0016407e0, 0xc0010fa280, 0x0) pkg/sentry/vfs/namespace.go:142 +0x27a fp=0xc000d76748 sp=0xc000d76678 pc=0x78e15a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00024b360, {0x1535080, 0xc0021e3500}, 0xc0016407d0, 0xc0016407e0, 0xc001926320, 0x0) pkg/sentry/vfs/namespace.go:142 +0x27a fp=0xc000d76818 sp=0xc000d76748 pc=0x78e15a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00024b360, {0x1535080, 0xc0021e3500}, 0xc0016407d0, 0xc0016407e0, 0xc002d98140, 0x0) pkg/sentry/vfs/namespace.go:142 +0x27a fp=0xc000d768e8 sp=0xc000d76818 pc=0x78e15a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00024b360, {0x1535080, 0xc0021e3500}, 0xc0016407d0, 0xc0016407e0, 0xc0019263c0, 0x0) pkg/sentry/vfs/namespace.go:142 +0x27a fp=0xc000d769b8 sp=0xc000d768e8 pc=0x78e15a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00024b360, {0x1535080, 0xc0021e3500}, 0xc0016407d0, 0xc0016407e0, 0xc000669540, 0x0) pkg/sentry/vfs/namespace.go:142 +0x27a fp=0xc000d76a88 sp=0xc000d769b8 pc=0x78e15a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00024b360, {0x1535080, 0xc0021e3500}, 0xc0016407d0, 0xc0016407e0, 0xc001926c80, 0x0) pkg/sentry/vfs/namespace.go:142 +0x27a fp=0xc000d76b58 sp=0xc000d76a88 pc=0x78e15a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00024b360, {0x1535080, 0xc0021e3500}, 0xc0016407d0, 0xc0016407e0, 0xc001926d20, 0x0) pkg/sentry/vfs/namespace.go:142 +0x27a fp=0xc000d76c28 sp=0xc000d76b58 pc=0x78e15a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00024b360, {0x1535080, 0xc0021e3500}, 0xc0016407d0, 0xc0016407e0, 0xc001926f00, 0x0) pkg/sentry/vfs/namespace.go:142 +0x27a fp=0xc000d76cf8 sp=0xc000d76c28 pc=0x78e15a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00024b360, {0x1535080, 0xc0021e3500}, 0xc0016407d0, 0xc0016407e0, 0xc001926fa0, 0x0) pkg/sentry/vfs/namespace.go:142 +0x27a fp=0xc000d76dc8 sp=0xc000d76cf8 pc=0x78e15a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00024b360, {0x1535080, 0xc0021e3500}, 0xc0016407d0, 0xc0016407e0, 0xc001927040, 0xc0028f2460) pkg/sentry/vfs/namespace.go:142 +0x27a fp=0xc000d76e98 sp=0xc000d76dc8 pc=0x78e15a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00024b360, {0x1535080, 0xc0021e3500}, 0xc0016407d0, 0xc0016407e0, 0xc002d983c0, 0xc0028f23c0) pkg/sentry/vfs/namespace.go:142 +0x27a fp=0xc000d76f68 sp=0xc000d76e98 pc=0x78e15a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00024b360, {0x1535080, 0xc0021e3500}, 0xc0016407d0, 0xc0016407e0, 0xc0006699a0, 0xc0028f2320) pkg/sentry/vfs/namespace.go:142 +0x27a fp=0xc000d77038 sp=0xc000d76f68 pc=0x78e15a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00024b360, {0x1535080, 0xc0021e3500}, 0xc0016407d0, 0xc0016407e0, 0xc002d98460, 0xc0028f2280) pkg/sentry/vfs/namespace.go:142 +0x27a fp=0xc000d77108 sp=0xc000d77038 pc=0x78e15a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00024b360, {0x1535080, 0xc0021e3500}, 0xc0016407d0, 0xc0016407e0, 0xc002d98500, 0xc0028f21e0) pkg/sentry/vfs/namespace.go:142 +0x27a fp=0xc000d771d8 sp=0xc000d77108 pc=0x78e15a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00024b360, {0x1535080, 0xc0021e3500}, 0xc0016407d0, 0xc0016407e0, 0xc002a50000, 0xc0028f2140) pkg/sentry/vfs/namespace.go:142 +0x27a fp=0xc000d772a8 sp=0xc000d771d8 pc=0x78e15a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc00024b360, {0x1535080, 0xc0021e3500}, 0xc0016407d0, 0xc0016407e0, 0xc000668140, 0xc0028f20a0) pkg/sentry/vfs/namespace.go:142 +0x27a fp=0xc000d77378 sp=0xc000d772a8 pc=0x78e15a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).CloneMountNamespace(0xc00024b360, {0x1535080, 0xc0021e3500}, 0xc00098b680, 0xc0006887b0, 0x0?, 0x0?, {0x1518e00, 0xc00024b180}) pkg/sentry/vfs/namespace.go:181 +0x285 fp=0xc000d77440 sp=0xc000d77378 pc=0x78e465 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Clone(0xc0021e3500, 0xc000d77818) pkg/sentry/kernel/task_clone.go:198 +0xf09 fp=0xc000d77808 sp=0xc000d77440 pc=0x9b3f29 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.clone(0x7ee65de00000?, 0x100000000b39820?, 0x100010101?, 0x1535080?, 0x7ee65dc00000?, 0xc0016ad8e0?) pkg/sentry/syscalls/linux/sys_thread.go:215 +0xbd fp=0xc000d778d8 sp=0xc000d77808 pc=0xb7621d gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Clone(0x7ee65dc01000?, 0x0?, {{0x80064000}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_clone_amd64.go:36 +0x6e fp=0xc000d77918 sp=0xc000d778d8 pc=0xb3558e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc0021e3500, 0x38, {{0x80064000}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x80b fp=0xc000d77c58 sp=0xc000d77918 pc=0x9d728b gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc0021e3500, 0xc004504ea0?, {{0x80064000}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x54 fp=0xc000d77cb8 sp=0xc000d77c58 pc=0x9d8874 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc001b0fe00?, 0xd7599a?, {{0x80064000}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x85 fp=0xc000d77d18 sp=0xc000d77cb8 pc=0x9d8465 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc006e64b60?) pkg/sentry/kernel/task_syscall.go:257 +0x3ac fp=0xc000d77e10 sp=0xc000d77d18 pc=0x9d812c gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc00755ce00?, 0xc0021e3500) pkg/sentry/kernel/task_run.go:269 +0x144a fp=0xc000d77f48 sp=0xc000d77e10 pc=0x9c9bea gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc0021e3500, 0xb303) pkg/sentry/kernel/task_run.go:98 +0x25c fp=0xc000d77fc0 sp=0xc000d77f48 pc=0x9c809c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:390 +0x2a fp=0xc000d77fe0 sp=0xc000d77fc0 pc=0x9d570a runtime.goexit() src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000d77fe8 sp=0xc000d77fe0 pc=0x46d4c1 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:390 +0x105