panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0xc27876] goroutine 221 [running]: panic({0x12a6e60, 0x2283050}) GOROOT/src/runtime/panic.go:987 +0x3bb fp=0xc000526ce8 sp=0xc000526c28 pc=0x436b9b runtime.panicmem(...) GOROOT/src/runtime/panic.go:260 runtime.sigpanic() GOROOT/src/runtime/signal_unix.go:837 +0x37d fp=0xc000526d48 sp=0xc000526ce8 pc=0x44e1dd gvisor.dev/gvisor/pkg/sentry/inet.(*Namespace).Stack(...) pkg/sentry/inet/namespace.go:108 gvisor.dev/gvisor/pkg/sentry/fsimpl/proc.(*filesystem).newTaskNetDir(0xc0001d1680, {0x16e3c60, 0xc000558000}, 0xc0007fea80) pkg/sentry/fsimpl/proc/task_net.go:46 +0x116 fp=0xc000526e50 sp=0xc000526d48 pc=0xc27876 gvisor.dev/gvisor/pkg/sentry/fsimpl/proc.(*filesystem).newTaskInode(0xc0001d1680, {0x16e3c60, 0xc000558000}, 0xc0007fea80, 0xc0001981c0, 0x1, 0x0) pkg/sentry/fsimpl/proc/task.go:73 +0xe1b fp=0xc000527048 sp=0xc000526e50 pc=0xc19efb gvisor.dev/gvisor/pkg/sentry/fsimpl/proc.(*tasksInode).Lookup(0xc000823800, {0x16e3c60, 0xc000558000}, {0xc00017eb10, 0x1}) pkg/sentry/fsimpl/proc/tasks.go:130 +0x285 fp=0xc0005270f0 sp=0xc000527048 pc=0xc2d985 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).revalidateChildLocked(0xc0005f5200?, {0x16e3c60?, 0xc000558000?}, 0x1?, 0xc0005e4510, {0xc00017eb10, 0x1}, 0xc0005e4480?) pkg/sentry/fsimpl/kernfs/filesystem.go:131 +0x1bd fp=0xc000527168 sp=0xc0005270f0 pc=0x80373d gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).stepExistingLocked(0xc000527360?, {0x16e3c60, 0xc000558000}, 0xc0005f5200, 0xc0005e4510) pkg/sentry/fsimpl/kernfs/filesystem.go:75 +0x36a fp=0xc000527218 sp=0xc000527168 pc=0x8031aa gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).walkExistingLocked(0xc0005272f8?, {0x16e3c60, 0xc000558000}, 0xc0005f5200) pkg/sentry/fsimpl/kernfs/filesystem.go:163 +0xc5 fp=0xc000527258 sp=0xc000527218 pc=0x8039a5 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).OpenAt(0xc0001d1680, {0x16e3c60, 0xc000558000}, 0xc0005f5200, {0x8002, 0x0, 0x0}) pkg/sentry/fsimpl/kernfs/filesystem.go:486 +0x632 fp=0xc0005274c8 sp=0xc000527258 pc=0x8075d2 gvisor.dev/gvisor/pkg/sentry/fsimpl/proc.(*filesystem).OpenAt(0xc00029bde0?, {0x16e3c60?, 0xc000558000?}, 0xc0005f5200?, {0x22e21b0?, 0x0?, 0x0?}) :1 +0x2e fp=0xc000527500 sp=0xc0005274c8 pc=0xc46a6e gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).OpenAt(0xc00052c100?, {0x16e3c60, 0xc000558000}, 0xc0008aa000?, 0xc000527820, 0xc0005277b8) pkg/sentry/vfs/vfs.go:460 +0x31a fp=0xc000527720 sp=0xc000527500 pc=0x79773a gvisor.dev/gvisor/pkg/sentry/syscalls/linux.openat(0xc000558000, 0x0?, 0x1?, 0x2, 0x0) pkg/sentry/syscalls/linux/sys_file.go:112 +0x29a fp=0xc0005278e0 sp=0xc000527720 pc=0xb4123a gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Openat(0x0?, 0x0?, {{0xffffff9c}, {0x7f049ddfec00}, {0x2}, {0x0}, {0x11}, {0x7f049ddfe937}}) pkg/sentry/syscalls/linux/sys_file.go:91 +0x5f fp=0xc000527918 sp=0xc0005278e0 pc=0xb40edf gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc000558000, 0x101, {{0xffffff9c}, {0x7f049ddfec00}, {0x2}, {0x0}, {0x11}, {0x7f049ddfe937}}) pkg/sentry/kernel/task_syscall.go:142 +0x80b fp=0xc000527c58 sp=0xc000527918 pc=0x9e254b gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc000558000, 0x85?, {{0xffffff9c}, {0x7f049ddfec00}, {0x2}, {0x0}, {0x11}, {0x7f049ddfe937}}) pkg/sentry/kernel/task_syscall.go:322 +0x54 fp=0xc000527cb8 sp=0xc000527c58 pc=0x9e3b34 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0x84c0af?, 0x0?, {{0xffffff9c}, {0x7f049ddfec00}, {0x2}, {0x0}, {0x11}, {0x7f049ddfe937}}) pkg/sentry/kernel/task_syscall.go:282 +0x85 fp=0xc000527d18 sp=0xc000527cb8 pc=0x9e3725 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0005d5520?) pkg/sentry/kernel/task_syscall.go:257 +0x3ac fp=0xc000527e10 sp=0xc000527d18 pc=0x9e33ec gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc000224a00?, 0xc000558000) pkg/sentry/kernel/task_run.go:269 +0x144a fp=0xc000527f48 sp=0xc000527e10 pc=0x9d4eea gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc000558000, 0x7) pkg/sentry/kernel/task_run.go:98 +0x25c fp=0xc000527fc0 sp=0xc000527f48 pc=0x9d339c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:389 +0x2a fp=0xc000527fe0 sp=0xc000527fc0 pc=0x9e09ca runtime.goexit() src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000527fe8 sp=0xc000527fe0 pc=0x46d641 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:389 +0x105