panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xaf1ed9] goroutine 320498 gp=0xc00345b500 m=17 mp=0xc000c2c808 [running]: panic({0x11d6e80?, 0x21d6930?}) GOROOT/src/runtime/panic.go:779 +0x158 fp=0xc001459670 sp=0xc0014595c0 pc=0x43cb78 runtime.panicmem(...) GOROOT/src/runtime/panic.go:261 runtime.sigpanic() GOROOT/src/runtime/signal_unix.go:881 +0x378 fp=0xc0014596d0 sp=0xc001459670 pc=0x456578 gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*endpoint).OnCorkOptionSet(0xc00af1ae08, 0x0?) pkg/tcpip/transport/tcp/endpoint.go:1766 +0x79 fp=0xc001459710 sp=0xc0014596d0 pc=0xaf1ed9 gvisor.dev/gvisor/pkg/tcpip.(*SocketOptions).SetCorkOption(0x16229a8?, 0x50?) pkg/tcpip/socketops.go:474 +0x5c fp=0xc001459730 sp=0xc001459710 pc=0x668f7c gvisor.dev/gvisor/pkg/sentry/socket/netstack.setSockOptTCP(0x0?, {0x16229a8?, 0xc00d0b4a50?}, {0x3f97978eac18, 0xc00af1ae08}, 0x3, {0xc007487e3c, 0x4, 0xc0014597e8?}) pkg/sentry/socket/netstack/netstack.go:2015 +0x19b fp=0xc001459770 sp=0xc001459730 pc=0xb82a1b gvisor.dev/gvisor/pkg/sentry/socket/netstack.SetSockOpt(0xc000487508?, {0x16229a8?, 0xc00d0b4a50?}, {0x3f97978eac18?, 0xc00af1ae08?}, 0x1610ef8?, 0xc007487508?, {0xc007487e3c, 0x4, 0x90}) pkg/sentry/socket/netstack/netstack.go:1765 +0xf0 fp=0xc0014597c8 sp=0xc001459770 pc=0xb81910 gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*sock).SetSockOpt(0xc00d0b4a50, 0x55a600000003?, 0xc007487e3c?, 0xffffffff?, {0xc007487e3c, 0x0?, 0xc000ec2d20?}) pkg/sentry/socket/netstack/netstack.go:611 +0x267 fp=0xc001459878 sp=0xc0014597c8 pc=0xb7aee7 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.SetSockOpt(0xc007487508, 0x0?, {{0x3}, {0x6}, {0x3}, {0x20000040}, {0x4}, {0x0}}) pkg/sentry/syscalls/linux/sys_socket.go:551 +0x315 fp=0xc001459958 sp=0xc001459878 pc=0xc0a3b5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc007487508, 0x36, {{0x3}, {0x6}, {0x3}, {0x20000040}, {0x4}, {0x0}}) pkg/sentry/kernel/task_syscall.go:143 +0x80b fp=0xc001459c98 sp=0xc001459958 pc=0xa5894b gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc007487508, 0x36, {{0x3}, {0x6}, {0x3}, {0x20000040}, {0x4}, {0x0}}) pkg/sentry/kernel/task_syscall.go:323 +0x4e fp=0xc001459cf0 sp=0xc001459c98 pc=0xa59f0e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc007487508, 0x36, {{0x3}, {0x6}, {0x3}, {0x20000040}, {0x4}, {0x0}}) pkg/sentry/kernel/task_syscall.go:283 +0x7d fp=0xc001459d40 sp=0xc001459cf0 pc=0xa59abd gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc008a69810?) pkg/sentry/kernel/task_syscall.go:258 +0x349 fp=0xc001459e28 sp=0xc001459d40 pc=0xa597a9 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc008c47c20?, 0xc007487508) pkg/sentry/kernel/task_run.go:263 +0x1325 fp=0xc001459f48 sp=0xc001459e28 pc=0xa4ba25 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc007487508, 0xabda) pkg/sentry/kernel/task_run.go:98 +0x24c fp=0xc001459fc0 sp=0xc001459f48 pc=0xa4a04c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.gowrap1() pkg/sentry/kernel/task_start.go:390 +0x25 fp=0xc001459fe0 sp=0xc001459fc0 pc=0xa56e45 runtime.goexit({}) src/runtime/asm_amd64.s:1695 +0x1 fp=0xc001459fe8 sp=0xc001459fe0 pc=0x478c41 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start in goroutine 320485 pkg/sentry/kernel/task_start.go:390 +0xf8