panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x2d8 pc=0x619d30] goroutine 12022 gp=0x40030e7c00 m=31 mp=0x4000989008 [running]: panic({0xc2d760?, 0x1a6efc0?}) GOROOT/src/runtime/panic.go:779 +0x140 fp=0x4001b6f610 sp=0x4001b6f560 pc=0x4bc60 runtime.panicmem(...) GOROOT/src/runtime/panic.go:261 runtime.sigpanic() GOROOT/src/runtime/signal_unix.go:881 +0x308 fp=0x4001b6f670 sp=0x4001b6f610 pc=0x66f58 gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*endpoint).OnCorkOptionSet(0x40043a5108, 0x0?) pkg/tcpip/transport/tcp/endpoint.go:1766 +0x60 fp=0x4001b6f6c0 sp=0x4001b6f680 pc=0x619d30 gvisor.dev/gvisor/pkg/tcpip.(*SocketOptions).SetCorkOption(0x106e148?, 0x10?) pkg/tcpip/socketops.go:474 +0x3c fp=0x4001b6f6e0 sp=0x4001b6f6c0 pc=0x260acc gvisor.dev/gvisor/pkg/sentry/socket/netstack.setSockOptTCP(0x400325ac08?, {0x106e148?, 0x4001d39d10?}, {0xffff5d2d9800, 0x40043a5108}, 0x3, {0x40074453bc, 0x4, 0x4003217008?}) pkg/sentry/socket/netstack/netstack.go:2015 +0x164 fp=0x4001b6f720 sp=0x4001b6f6e0 pc=0x68e724 gvisor.dev/gvisor/pkg/sentry/socket/netstack.SetSockOpt(0x1a74d30?, {0x106e148?, 0x4001d39d10?}, {0xffff5d2d9800?, 0x40043a5108?}, 0x40074453bc?, 0x4?, {0x40074453bc?, 0x105c868?, 0x4007444a88?}) pkg/sentry/socket/netstack/netstack.go:1765 +0xac fp=0x4001b6f780 sp=0x4001b6f720 pc=0x68daac gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*sock).SetSockOpt(0x4001d39d10, 0x4007444a88?, 0x6?, 0x3?, {0x40074453bc, 0x4?, 0x90?}) pkg/sentry/socket/netstack/netstack.go:611 +0x27c fp=0x4001b6f830 sp=0x4001b6f780 pc=0x68899c gvisor.dev/gvisor/pkg/sentry/syscalls/linux.SetSockOpt(0x4007444a88, 0x589d8?, {{0x3}, {0x6}, {0x3}, {0x200001c0}, {0x4}, {0x0}}) pkg/sentry/syscalls/linux/sys_socket.go:551 +0x1b8 fp=0x4001b6f910 sp=0x4001b6f830 pc=0x7085e8 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0x4007444a88, 0xd0, {{0x3}, {0x6}, {0x3}, {0x200001c0}, {0x4}, {0x0}}) pkg/sentry/kernel/task_syscall.go:143 +0x4fc fp=0x4001b6fc50 sp=0x4001b6f910 pc=0x597c0c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0x4007444a88, 0xd0, {{0x3}, {0x6}, {0x3}, {0x200001c0}, {0x4}, {0x0}}) pkg/sentry/kernel/task_syscall.go:323 +0x3c fp=0x4001b6fcb0 sp=0x4001b6fc50 pc=0x598b5c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0x4007444a88, 0xd0, {{0x3}, {0x6}, {0x3}, {0x200001c0}, {0x4}, {0x0}}) pkg/sentry/kernel/task_syscall.go:283 +0x58 fp=0x4001b6fd00 sp=0x4001b6fcb0 pc=0x5987d8 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0x4001135ba0?) pkg/sentry/kernel/task_syscall.go:258 +0x23c fp=0x4001b6fdf0 sp=0x4001b6fd00 pc=0x59858c gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x4000f05e60?, 0x4007444a88) pkg/sentry/kernel/task_run.go:263 +0xcf4 fp=0x4001b6ff20 sp=0x4001b6fdf0 pc=0x58d014 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0x4007444a88, 0xe76) pkg/sentry/kernel/task_run.go:98 +0x1cc fp=0x4001b6ffb0 sp=0x4001b6ff20 pc=0x58bc9c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.gowrap1() pkg/sentry/kernel/task_start.go:390 +0x2c fp=0x4001b6ffd0 sp=0x4001b6ffb0 pc=0x59662c runtime.goexit({}) src/runtime/asm_arm64.s:1222 +0x4 fp=0x4001b6ffd0 sp=0x4001b6ffd0 pc=0x896c4 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start in goroutine 12020 pkg/sentry/kernel/task_start.go:390 +0xe4