panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xaf1ed9] goroutine 118396 gp=0xc002783180 m=29 mp=0xc000e49008 [running]: panic({0x11d6e80?, 0x21d6890?}) GOROOT/src/runtime/panic.go:779 +0x158 fp=0xc0025d3670 sp=0xc0025d35c0 pc=0x43cb78 runtime.panicmem(...) GOROOT/src/runtime/panic.go:261 runtime.sigpanic() GOROOT/src/runtime/signal_unix.go:881 +0x378 fp=0xc0025d36d0 sp=0xc0025d3670 pc=0x456578 gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*endpoint).OnCorkOptionSet(0xc0084eae08, 0x0?) pkg/tcpip/transport/tcp/endpoint.go:1766 +0x79 fp=0xc0025d3710 sp=0xc0025d36d0 pc=0xaf1ed9 gvisor.dev/gvisor/pkg/tcpip.(*SocketOptions).SetCorkOption(0x16229a8?, 0x0?) pkg/tcpip/socketops.go:474 +0x5c fp=0xc0025d3730 sp=0xc0025d3710 pc=0x668f7c gvisor.dev/gvisor/pkg/sentry/socket/netstack.setSockOptTCP(0x0?, {0x16229a8?, 0xc009e0af00?}, {0x7f4a67b49028, 0xc0084eae08}, 0x3, {0xc00844c93c, 0x4, 0xc0025d37e8?}) pkg/sentry/socket/netstack/netstack.go:2015 +0x19b fp=0xc0025d3770 sp=0xc0025d3730 pc=0xb82a1b gvisor.dev/gvisor/pkg/sentry/socket/netstack.SetSockOpt(0xc00044c008?, {0x16229a8?, 0xc009e0af00?}, {0x7f4a67b49028?, 0xc0084eae08?}, 0x1610ef8?, 0xc00844c008?, {0xc00844c93c, 0x4, 0x90}) pkg/sentry/socket/netstack/netstack.go:1765 +0xf0 fp=0xc0025d37c8 sp=0xc0025d3770 pc=0xb81910 gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*sock).SetSockOpt(0xc009e0af00, 0xc00844c008?, 0x6?, 0x3?, {0xc00844c93c, 0x4?, 0x90?}) pkg/sentry/socket/netstack/netstack.go:611 +0x267 fp=0xc0025d3878 sp=0xc0025d37c8 pc=0xb7aee7 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.SetSockOpt(0xc00844c008, 0xe79a9?, {{0x3}, {0x6}, {0x3}, {0x20000000}, {0x4}, {0x0}}) pkg/sentry/syscalls/linux/sys_socket.go:551 +0x315 fp=0xc0025d3958 sp=0xc0025d3878 pc=0xc0a3b5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00844c008, 0x36, {{0x3}, {0x6}, {0x3}, {0x20000000}, {0x4}, {0x0}}) pkg/sentry/kernel/task_syscall.go:143 +0x80b fp=0xc0025d3c98 sp=0xc0025d3958 pc=0xa5894b gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00844c008, 0x36, {{0x3}, {0x6}, {0x3}, {0x20000000}, {0x4}, {0x0}}) pkg/sentry/kernel/task_syscall.go:323 +0x4e fp=0xc0025d3cf0 sp=0xc0025d3c98 pc=0xa59f0e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc00844c008, 0x36, {{0x3}, {0x6}, {0x3}, {0x20000000}, {0x4}, {0x0}}) pkg/sentry/kernel/task_syscall.go:283 +0x7d fp=0xc0025d3d40 sp=0xc0025d3cf0 pc=0xa59abd gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc006428b60?) pkg/sentry/kernel/task_syscall.go:258 +0x349 fp=0xc0025d3e28 sp=0xc0025d3d40 pc=0xa597a9 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc002207b00?, 0xc00844c008) pkg/sentry/kernel/task_run.go:263 +0x1325 fp=0xc0025d3f48 sp=0xc0025d3e28 pc=0xa4ba25 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00844c008, 0x6b63) pkg/sentry/kernel/task_run.go:98 +0x24c fp=0xc0025d3fc0 sp=0xc0025d3f48 pc=0xa4a04c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.gowrap1() pkg/sentry/kernel/task_start.go:390 +0x25 fp=0xc0025d3fe0 sp=0xc0025d3fc0 pc=0xa56e45 runtime.goexit({}) src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0025d3fe8 sp=0xc0025d3fe0 pc=0x478c41 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start in goroutine 118359 pkg/sentry/kernel/task_start.go:390 +0xf8