panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x17689d3] goroutine 704828 [running]: panic({0x305940?, 0x25d0c60?}) GOROOT/src/runtime/panic.go:1017 +0x3ac fp=0xc0035fbd58 sp=0xc0035fbca8 pc=0x11ad0ec runtime.panicmem(...) GOROOT/src/runtime/panic.go:261 runtime.sigpanic() GOROOT/src/runtime/signal_unix.go:861 +0x378 fp=0xc0035fbdb8 sp=0xc0035fbd58 pc=0x11c60f8 gvisor.dev/gvisor/pkg/sentry/vfs.(*Mount).IncRef(0x0) pkg/sentry/vfs/mount.go:693 +0x33 fp=0xc0035fbdd8 sp=0xc0035fbdb8 pc=0x17689d3 gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc00092a960, 0x0) pkg/sentry/vfs/namespace.go:143 +0x385 fp=0xc0035fbee8 sp=0xc0035fbdd8 pc=0x1770d45 gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc00092a1e0, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fbff8 sp=0xc0035fbee8 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc0027780a0, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fc108 sp=0xc0035fbff8 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc0027781e0, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fc218 sp=0xc0035fc108 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc001f300a0, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fc328 sp=0xc0035fc218 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc001f301e0, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fc438 sp=0xc0035fc328 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc002778320, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fc548 sp=0xc0035fc438 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc00092b040, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fc658 sp=0xc0035fc548 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc001ea41e0, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fc768 sp=0xc0035fc658 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc001f30320, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fc878 sp=0xc0035fc768 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc00092b180, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fc988 sp=0xc0035fc878 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc00092b2c0, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fca98 sp=0xc0035fc988 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc001f305a0, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fcba8 sp=0xc0035fca98 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc00092b540, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fccb8 sp=0xc0035fcba8 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc001ea4640, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fcdc8 sp=0xc0035fccb8 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc0027785a0, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fced8 sp=0xc0035fcdc8 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc002778640, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fcfe8 sp=0xc0035fced8 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc0027786e0, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fd0f8 sp=0xc0035fcfe8 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc00092b400, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fd208 sp=0xc0035fd0f8 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc002e7a1e0, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fd318 sp=0xc0035fd208 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc001f30460, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fd428 sp=0xc0035fd318 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc001f306e0, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fd538 sp=0xc0035fd428 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc001f30820, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fd648 sp=0xc0035fd538 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc001f30960, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fd758 sp=0xc0035fd648 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc001f30aa0, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fd868 sp=0xc0035fd758 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc001f30be0, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fd978 sp=0xc0035fd868 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc001f30d20, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fda88 sp=0xc0035fd978 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc001f30e60, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fdb98 sp=0xc0035fda88 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc002e7a0a0, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fdca8 sp=0xc0035fdb98 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc001ea4320, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fddb8 sp=0xc0035fdca8 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc00092b7c0, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fdec8 sp=0xc0035fddb8 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc0027788c0, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fdfd8 sp=0xc0035fdec8 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc002778a00, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fe0e8 sp=0xc0035fdfd8 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc002778b40, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fe1f8 sp=0xc0035fe0e8 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc002778c80, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fe308 sp=0xc0035fe1f8 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc002778dc0, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fe418 sp=0xc0035fe308 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc002778f00, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fe528 sp=0xc0035fe418 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc002779040, 0x0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fe638 sp=0xc0035fe528 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc002779180, 0xc002e7a640) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fe748 sp=0xc0035fe638 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc001f310e0, 0xc002e7a500) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fe858 sp=0xc0035fe748 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc001ea4460, 0xc002e7a460) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fe968 sp=0xc0035fe858 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc002b3e000, 0xc002e7a3c0) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fea78 sp=0xc0035fe968 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc001f31220, 0xc002e7a320) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035feb88 sp=0xc0035fea78 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).updateRootAndCWD(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035e7910, 0xc0035e7920, 0xc00092a000, 0xc002e7a280) pkg/sentry/vfs/namespace.go:147 +0x47e fp=0xc0035fec98 sp=0xc0035feb88 pc=0x1770e3e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).CloneMountNamespace(0xc0007928e0, {0x6fec98, 0xc0035da000}, 0xc0035d0de0, 0xc000f92ea0, 0xc0035d8540?, 0xc000450990?, {0x6e27c0, 0xc000792700}) pkg/sentry/vfs/namespace.go:186 +0x4e8 fp=0xc0035fede0 sp=0xc0035fec98 pc=0x17713a8 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Clone(0xc0035da000, 0xc0035ff368) pkg/sentry/kernel/task_clone.go:205 +0x1b05 fp=0xc0035ff348 sp=0xc0035fede0 pc=0x1ab8b65 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.clone(0x11e7c8c?, 0x228000, 0x0, 0x0, 0x0, 0x0) pkg/sentry/syscalls/linux/sys_thread.go:215 +0x145 fp=0xc0035ff448 sp=0xc0035ff348 pc=0x1d5c325 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Clone(0xc000ab3540?, 0x11e072e?, {{0x228000}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_clone_amd64.go:36 +0xef fp=0xc0035ff4d0 sp=0xc0035ff448 pc=0x1d008cf gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc0035da000, 0x38, {{0x228000}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0xaff fp=0xc0035ff908 sp=0xc0035ff4d0 pc=0x1af213f gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc0035da000, 0x1?, {{0x228000}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x7d fp=0xc0035ff9c0 sp=0xc0035ff908 pc=0x1af41fd gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0026e4ff0?, 0x11e9329?, {{0x228000}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0xbd fp=0xc0035ffa38 sp=0xc0035ff9c0 pc=0x1af3afd gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0035da000) pkg/sentry/kernel/task_syscall.go:257 +0x55b fp=0xc0035ffb70 sp=0xc0035ffa38 pc=0x1af365b gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc0035da000?, 0xc0035da000) pkg/sentry/kernel/task_run.go:269 +0x2387 fp=0xc0035ffe60 sp=0xc0035ffb70 pc=0x1adc487 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc0035da000, 0x426e) pkg/sentry/kernel/task_run.go:98 +0x36a fp=0xc0035fffb0 sp=0xc0035ffe60 pc=0x1ad97ea gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:395 +0x45 fp=0xc0035fffe0 sp=0xc0035fffb0 pc=0x1aef9a5 runtime.goexit() src/runtime/asm_amd64.s:1650 +0x1 fp=0xc0035fffe8 sp=0xc0035fffe0 pc=0x11e6101 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start in goroutine 704626 pkg/sentry/kernel/task_start.go:395 +0x1ce