panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x17689d3] goroutine 1145617 [running]: panic({0x305940?, 0x25d0c60?}) GOROOT/src/runtime/panic.go:1017 +0x3ac fp=0xc002145c48 sp=0xc002145b98 pc=0x11ad0ec runtime.panicmem(...) GOROOT/src/runtime/panic.go:261 runtime.sigpanic() GOROOT/src/runtime/signal_unix.go:861 +0x378 fp=0xc002145ca8 sp=0xc002145c48 pc=0x11c60f8 gvisor.dev/gvisor/pkg/sentry/vfs.(*Mount).IncRef(0x0) pkg/sentry/vfs/mount.go:693 +0x33 fp=0xc002145cc8 sp=0xc002145ca8 pc=0x17689d3 gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc000498960, 0x0) pkg/sentry/vfs/namespace.go:143 +0x385 fp=0xc002145dd8 sp=0xc002145cc8 pc=0x1770d45 gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc0004986e0, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc002145ee8 sp=0xc002145dd8 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc002ec81e0, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc002145ff8 sp=0xc002145ee8 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc002b0e460, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc002146108 sp=0xc002145ff8 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc004f12a00, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc002146218 sp=0xc002146108 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc00057dc20, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc002146328 sp=0xc002146218 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc00057dae0, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc002146438 sp=0xc002146328 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc00057dd60, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc002146548 sp=0xc002146438 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc00057dea0, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc002146658 sp=0xc002146548 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc0077a0000, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc002146768 sp=0xc002146658 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc0077a0140, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc002146878 sp=0xc002146768 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc0077a0280, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc002146988 sp=0xc002146878 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc0077a03c0, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc002146a98 sp=0xc002146988 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc0077a0500, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc002146ba8 sp=0xc002146a98 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc00b7240a0, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc002146cb8 sp=0xc002146ba8 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc002b0efa0, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc002146dc8 sp=0xc002146cb8 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc002b0f0e0, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc002146ed8 sp=0xc002146dc8 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc0077a0640, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc002146fe8 sp=0xc002146ed8 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc00b724140, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0021470f8 sp=0xc002146fe8 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc002ce00a0, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc002147208 sp=0xc0021470f8 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc002ce01e0, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc002147318 sp=0xc002147208 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc011a84c80, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc002147428 sp=0xc002147318 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc00017b220, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc002147538 sp=0xc002147428 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc00057d900, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc002147648 sp=0xc002147538 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc000499540, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc002147758 sp=0xc002147648 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc002b0e0a0, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc002147868 sp=0xc002147758 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc00057d400, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc002147978 sp=0xc002147868 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc011a84320, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc002147a88 sp=0xc002147978 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc02d15c460, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc002147b98 sp=0xc002147a88 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc0077a0960, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc002147ca8 sp=0xc002147b98 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc011a84b40, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc002147db8 sp=0xc002147ca8 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc000fb41e0, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc002147ec8 sp=0xc002147db8 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc02d15c320, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc002147fd8 sp=0xc002147ec8 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc02d15c140, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0021480e8 sp=0xc002147fd8 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc0077a05a0, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0021481f8 sp=0xc0021480e8 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc0077a0a00, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc002148308 sp=0xc0021481f8 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc0077a0820, 0xc004f13040) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc002148418 sp=0xc002148308 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc0077a0780, 0xc004f12f00) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc002148528 sp=0xc002148418 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc0077a0be0, 0xc004f12e60) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc002148638 sp=0xc002148528 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc0077a0dc0, 0xc004f12dc0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc002148748 sp=0xc002148638 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc0077a0d20, 0xc004f12d20) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc002148858 sp=0xc002148748 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc0077a0f00, 0xc004f12c80) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc002148968 sp=0xc002148858 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc0077a10e0, 0xc004f12be0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc002148a78 sp=0xc002148968 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc0077a12c0, 0xc004f12b40) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc002148b88 sp=0xc002148a78 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc00592b050, 0xc00592b060, 0xc000498140, 0xc004f12aa0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc002148c98 sp=0xc002148b88 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).CloneMountNamespace(0xc000265de0, {0x6fec98, 0xc00c89f500}, 0xc000a1f500, 0xc000ae7320, 0xf000000?, 0x101000101010101?, {0x6e27c0, 0xc000265c00}) pkg/sentry/vfs/namespace.go:186 +0x4e8 fp=0xc002148de0 sp=0xc002148c98 pc=0x17713a8 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Clone(0xc00c89f500, 0xc002149368) pkg/sentry/kernel/task_clone.go:205 +0x1b05 fp=0xc002149348 sp=0xc002148de0 pc=0x1ab8b65 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.clone(0x11e7c8c?, 0x412c000, 0x0, 0x0, 0x0, 0x0) pkg/sentry/syscalls/linux/sys_thread.go:215 +0x145 fp=0xc002149448 sp=0xc002149348 pc=0x1d5c325 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Clone(0xc001077540?, 0x11e072e?, {{0x412c000}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_clone_amd64.go:36 +0xef fp=0xc0021494d0 sp=0xc002149448 pc=0x1d008cf gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00c89f500, 0x38, {{0x412c000}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0xaff fp=0xc002149908 sp=0xc0021494d0 pc=0x1af213f gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00c89f500, 0x1?, {{0x412c000}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x7d fp=0xc0021499c0 sp=0xc002149908 pc=0x1af41fd gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc003a6eff0?, 0x11e9329?, {{0x412c000}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0xbd fp=0xc002149a38 sp=0xc0021499c0 pc=0x1af3afd gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00c89f500) pkg/sentry/kernel/task_syscall.go:257 +0x55b fp=0xc002149b70 sp=0xc002149a38 pc=0x1af365b gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc00c89f500?, 0xc00c89f500) pkg/sentry/kernel/task_run.go:269 +0x2387 fp=0xc002149e60 sp=0xc002149b70 pc=0x1adc487 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00c89f500, 0x5bb1) pkg/sentry/kernel/task_run.go:98 +0x36a fp=0xc002149fb0 sp=0xc002149e60 pc=0x1ad97ea gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:395 +0x45 fp=0xc002149fe0 sp=0xc002149fb0 pc=0x1aef9a5 runtime.goexit() src/runtime/asm_amd64.s:1650 +0x1 fp=0xc002149fe8 sp=0xc002149fe0 pc=0x11e6101 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start in goroutine 1145671 pkg/sentry/kernel/task_start.go:395 +0x1ce