panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1e21a36] goroutine 14021 gp=0xc001143880 m=24 mp=0xc000d80008 [running]: panic({0x312ce0?, 0x2827720?}) GOROOT/src/runtime/panic.go:779 +0x158 fp=0xc005bcf0c0 sp=0xc005bcf010 pc=0x1358318 runtime.panicmem(...) GOROOT/src/runtime/panic.go:261 runtime.sigpanic() GOROOT/src/runtime/signal_unix.go:881 +0x378 fp=0xc005bcf120 sp=0xc005bcf0c0 pc=0x1373578 gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*endpoint).OnCorkOptionSet(0xc008cb6a08, 0x0) pkg/tcpip/transport/tcp/endpoint.go:1766 +0xb6 fp=0xc005bcf190 sp=0xc005bcf120 pc=0x1e21a36 gvisor.dev/gvisor/pkg/tcpip.(*SocketOptions).SetCorkOption(0xc008cb6f18, 0x0) pkg/tcpip/socketops.go:474 +0x66 fp=0xc005bcf1b0 sp=0xc005bcf190 pc=0x16d69a6 gvisor.dev/gvisor/pkg/sentry/socket/netstack.setSockOptTCP(0x0?, {0x833048, 0xc008766c30}, {0x7fd84e00d708, 0xc008cb6a08}, 0x3, {0xc008f633bc, 0x14, 0x1399b91?}) pkg/sentry/socket/netstack/netstack.go:2015 +0x425 fp=0xc005bcf250 sp=0xc005bcf1b0 pc=0x1ef1945 gvisor.dev/gvisor/pkg/sentry/socket/netstack.SetSockOpt(0xc008f62a88, {0x833048, 0xc008766c30}, {0x7fd84e00d708, 0xc008cb6a08}, 0x6, 0x3, {0xc008f633bc, 0x14, 0x90}) pkg/sentry/socket/netstack/netstack.go:1765 +0x196 fp=0xc005bcf2b0 sp=0xc005bcf250 pc=0x1eeed16 gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*sock).SetSockOpt(0xc008766c30, 0xc008f62a88, 0x6, 0x3, {0xc008f633bc, 0x14, 0x90}) pkg/sentry/socket/netstack/netstack.go:611 +0x608 fp=0xc005bcf3d8 sp=0xc005bcf2b0 pc=0x1ee67e8 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.SetSockOpt(0xc008f62a88, 0xca?, {{0x3}, {0x6}, {0x3}, {0x20000000}, {0x14}, {0x0}}) pkg/sentry/syscalls/linux/sys_socket.go:551 +0x3b5 fp=0xc005bcf4f0 sp=0xc005bcf3d8 pc=0x1fb72b5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc008f62a88, 0x36, {{0x3}, {0x6}, {0x3}, {0x20000000}, {0x14}, {0x0}}) pkg/sentry/kernel/task_syscall.go:143 +0x995 fp=0xc005bcf938 sp=0xc005bcf4f0 pc=0x1d32e55 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc008f62a88, 0x36, {{0x3}, {0x6}, {0x3}, {0x20000000}, {0x14}, {0x0}}) pkg/sentry/kernel/task_syscall.go:323 +0x72 fp=0xc005bcf9e0 sp=0xc005bcf938 pc=0x1d34cb2 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc008f62a88, 0x36, {{0x3}, {0x6}, {0x3}, {0x20000000}, {0x14}, {0x0}}) pkg/sentry/kernel/task_syscall.go:283 +0x94 fp=0xc005bcfa50 sp=0xc005bcf9e0 pc=0x1d346b4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc008f62a88) pkg/sentry/kernel/task_syscall.go:258 +0x4b0 fp=0xc005bcfb80 sp=0xc005bcfa50 pc=0x1d34250 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc008f62a88?, 0xc008f62a88) pkg/sentry/kernel/task_run.go:263 +0x1fee fp=0xc005bcfe98 sp=0xc005bcfb80 pc=0x1d1dace gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc008f62a88, 0x12f8) pkg/sentry/kernel/task_run.go:98 +0x46d fp=0xc005bcffb0 sp=0xc005bcfe98 pc=0x1d1b14d gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.gowrap1() pkg/sentry/kernel/task_start.go:390 +0x45 fp=0xc005bcffe0 sp=0xc005bcffb0 pc=0x1d30985 runtime.goexit({}) src/runtime/asm_amd64.s:1695 +0x1 fp=0xc005bcffe8 sp=0xc005bcffe0 pc=0x13968c1 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start in goroutine 13966 pkg/sentry/kernel/task_start.go:390 +0x1ae