panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1ecb6bd] goroutine 5433 [running]: panic({0x322f40, 0x2800340}) GOROOT/src/runtime/panic.go:987 +0x3bb fp=0xc0035a01b8 sp=0xc0035a00f8 pc=0x130d87b runtime.panicmem(...) GOROOT/src/runtime/panic.go:260 runtime.sigpanic() GOROOT/src/runtime/signal_unix.go:837 +0x37d fp=0xc0035a0218 sp=0xc0035a01b8 pc=0x132675d gvisor.dev/gvisor/pkg/sentry/inet.(*Namespace).Stack(...) pkg/sentry/inet/namespace.go:108 gvisor.dev/gvisor/pkg/sentry/fsimpl/proc.(*filesystem).newTaskNetDir(0xc001c83c20, {0x84d3c0, 0xc004a56a80}, 0xc005bae000) pkg/sentry/fsimpl/proc/task_net.go:46 +0x31d fp=0xc0035a0470 sp=0xc0035a0218 pc=0x1ecb6bd gvisor.dev/gvisor/pkg/sentry/fsimpl/proc.(*filesystem).newTaskInode(0xc001c83c20, {0x84d3c0, 0xc004a56a80}, 0xc005bae000, 0xc000296070, 0x1, 0x0) pkg/sentry/fsimpl/proc/task.go:73 +0x1594 fp=0xc0035a08b0 sp=0xc0035a0470 pc=0x1eb8ff4 gvisor.dev/gvisor/pkg/sentry/fsimpl/proc.(*tasksInode).Lookup(0xc005b3b800, {0x84d3c0, 0xc004a56a80}, {0xc0059b5c10, 0x3}) pkg/sentry/fsimpl/proc/tasks.go:130 +0x3e5 fp=0xc0035a09c0 sp=0xc0035a08b0 pc=0x1ed3945 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).revalidateChildLocked(0x313600?, {0x84d3c0, 0xc004a56a80}, 0x3?, 0xc003be5830, {0xc0059b5c10, 0x3}, 0x0) pkg/sentry/fsimpl/kernfs/filesystem.go:131 +0x1d8 fp=0xc0035a0a58 sp=0xc0035a09c0 pc=0x190eab8 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).stepExistingLocked(0x131f4b9?, {0x84d3c0, 0xc004a56a80}, 0xc005b50480, 0xc003be5830) pkg/sentry/fsimpl/kernfs/filesystem.go:75 +0x3ea fp=0xc0035a0b98 sp=0xc0035a0a58 pc=0x190e48a gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).walkExistingLocked(0xc001c83c70?, {0x84d3c0, 0xc004a56a80}, 0xc005b50480) pkg/sentry/fsimpl/kernfs/filesystem.go:163 +0xdf fp=0xc0035a0c00 sp=0xc0035a0b98 pc=0x190ed9f gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).OpenAt(0xc001c83c20, {0x84d3c0, 0xc004a56a80}, 0xc005b50480, {0x8002, 0x0, 0x0}) pkg/sentry/fsimpl/kernfs/filesystem.go:486 +0x1c5 fp=0xc0035a0ef0 sp=0xc0035a0c00 pc=0x1912d65 gvisor.dev/gvisor/pkg/sentry/fsimpl/proc.(*filesystem).OpenAt(0xc001c83c20, {0x84d3c0, 0xc004a56a80}, 0xc005b50480?, {0x37f5300?, 0x0?, 0x0?}) :1 +0x85 fp=0xc0035a0f50 sp=0xc0035a0ef0 pc=0x1ef4f65 gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).OpenAt(0xc004a46540?, {0x84d3c0, 0xc004a56a80}, 0xc00002e400?, 0xc0035a1370, 0xc0035a1268) pkg/sentry/vfs/vfs.go:460 +0x517 fp=0xc0035a11c0 sp=0xc0035a0f50 pc=0x1872a17 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.openat(0xc004a56a80, 0x1?, 0x1349ba5?, 0x2, 0x0) pkg/sentry/syscalls/linux/sys_file.go:112 +0x2b2 fp=0xc0035a1420 sp=0xc0035a11c0 pc=0x1d9cff2 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Openat(0xc0035a14c0?, 0x1347fb9?, {{0xffffff9c}, {0x7ff667426bd0}, {0x2}, {0x0}, {0x13}, {0x7ff667426905}}) pkg/sentry/syscalls/linux/sys_file.go:91 +0x45 fp=0xc0035a1480 sp=0xc0035a1420 pc=0x1d9cc45 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc004a56a80, 0x101, {{0xffffff9c}, {0x7ff667426bd0}, {0x2}, {0x0}, {0x13}, {0x7ff667426905}}) pkg/sentry/kernel/task_syscall.go:142 +0x9c2 fp=0xc0035a1960 sp=0xc0035a1480 pc=0x1bb0002 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc004a56a80, 0x0?, {{0xffffff9c}, {0x7ff667426bd0}, {0x2}, {0x0}, {0x13}, {0x7ff667426905}}) pkg/sentry/kernel/task_syscall.go:322 +0x7d fp=0xc0035a19f8 sp=0xc0035a1960 pc=0x1bb1dfd gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0007ea270?, 0xc004a3cf70?, {{0xffffff9c}, {0x7ff667426bd0}, {0x2}, {0x0}, {0x13}, {0x7ff667426905}}) pkg/sentry/kernel/task_syscall.go:282 +0x8f fp=0xc0035a1a70 sp=0xc0035a19f8 pc=0x1bb17af gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc004a56a80) pkg/sentry/kernel/task_syscall.go:257 +0x4c5 fp=0xc0035a1b98 sp=0xc0035a1a70 pc=0x1bb1345 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc004a56a80?, 0xc004a56a80) pkg/sentry/kernel/task_run.go:269 +0x1d4b fp=0xc0035a1e70 sp=0xc0035a1b98 pc=0x1b9ba0b gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc004a56a80, 0x186) pkg/sentry/kernel/task_run.go:98 +0x41b fp=0xc0035a1fb0 sp=0xc0035a1e70 pc=0x1b9929b gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:389 +0x48 fp=0xc0035a1fe0 sp=0xc0035a1fb0 pc=0x1badb08 runtime.goexit() src/runtime/asm_amd64.s:1598 +0x1 fp=0xc0035a1fe8 sp=0xc0035a1fe0 pc=0x1346801 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:389 +0x1ad