panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x929446] goroutine 2388934 [running]: panic(0x1098900, 0x1baabc0) GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc099cb19a0 sp=0xc099cb18d8 pc=0x437c65 runtime.panicmem() GOROOT/src/runtime/panic.go:212 +0x5b fp=0xc099cb19c0 sp=0xc099cb19a0 pc=0x435cbb runtime.sigpanic() GOROOT/src/runtime/signal_unix.go:734 +0x173 fp=0xc099cb19f8 sp=0xc099cb19c0 pc=0x44f993 gvisor.dev/gvisor/pkg/tcpip/stack.(*PacketBuffer).headerView(0x0, 0x2, 0x0, 0x0, 0x0) pkg/tcpip/stack/packet_buffer.go:274 +0x26 fp=0xc099cb1a40 sp=0xc099cb19f8 pc=0x929446 gvisor.dev/gvisor/pkg/tcpip/stack.PacketHeader.View(...) pkg/tcpip/stack/packet_buffer.go:364 gvisor.dev/gvisor/pkg/tcpip/transport/udp.(*protocol).HandleUnknownDestinationPacket(0xc00062c778, 0x0, 0x0, 0x0, 0x0, 0xc003adb980, 0x10, 0x0, 0x0) pkg/tcpip/transport/udp/protocol.go:82 +0x65 fp=0xc099cb2dd8 sp=0xc099cb1a40 pc=0xade7c5 gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).DeliverTransportPacket(0xc001f0a380, 0x11, 0xc0093fe500, 0x1) pkg/tcpip/stack/nic.go:840 +0x371 fp=0xc099cb2ee0 sp=0xc099cb2dd8 pc=0x927111 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).processExtensionHeaders(0xc0019dc800, 0xc0049551ce, 0x28, 0x30, 0xc0093fe500, 0x0, 0xc002510df4, 0x7) pkg/tcpip/network/ipv6/ipv6.go:1553 +0x1923 fp=0xc099cb3860 sp=0xc099cb2ee0 pc=0xb03d63 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).handleValidatedPacket(0xc0019dc800, 0xc0049551ce, 0x28, 0x30, 0xc0093fe500, 0xc002510df4, 0x7) pkg/tcpip/network/ipv6/ipv6.go:1187 +0x2de fp=0xc099cb3ad8 sp=0xc099cb3860 pc=0xb01fde gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).handleLocalPacket(0xc0019dc800, 0xc0093fe400, 0x1) pkg/tcpip/network/ipv6/ipv6.go:1127 +0x19f fp=0xc099cb3cf8 sp=0xc099cb3ad8 pc=0xb01c9f gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).writePacket(0xc0019dc800, 0xc00925b220, 0xc0093fe400, 0x11, 0x0, 0x0) pkg/tcpip/network/ipv6/ipv6.go:779 +0x4ae fp=0xc099cb3f30 sp=0xc099cb3cf8 pc=0xaffb6e gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).WritePacket(0xc0019dc800, 0xc00925b220, 0x4000000011, 0xc0093fe400, 0xc00925b220, 0x1) pkg/tcpip/network/ipv6/ipv6.go:771 +0x16c fp=0xc099cb3f98 sp=0xc099cb3f30 pc=0xaff52c gvisor.dev/gvisor/pkg/tcpip/stack.(*Route).WritePacket(0xc00925b220, 0x4000000011, 0xc0093fe400, 0xc001ed42f8, 0x8) pkg/tcpip/stack/route.go:462 +0xad fp=0xc099cb3fd8 sp=0xc099cb3f98 pc=0x92e36d gvisor.dev/gvisor/pkg/tcpip/transport/udp.sendUDP(0xc00925b220, 0x0, 0x0, 0x0, 0x0, 0x1000700b497, 0x13a87c0, 0xc0093fca80, 0x0, 0x0, ...) pkg/tcpip/transport/udp/endpoint.go:856 +0x3c5 fp=0xc099cb53f8 sp=0xc099cb3fd8 pc=0xadaa45 gvisor.dev/gvisor/pkg/tcpip/transport/udp.(*endpoint).write(0xc001b96f00, 0x13acf50, 0xc0039d1040, 0xc00682d500, 0x0, 0x0, 0x0, 0x0) pkg/tcpip/transport/udp/endpoint.go:580 +0x688 fp=0xc099cb5590 sp=0xc099cb53f8 pc=0xad9048 gvisor.dev/gvisor/pkg/tcpip/transport/udp.(*endpoint).Write(0xc001b96f00, 0x13acf50, 0xc0039d1040, 0xc00682d500, 0x0, 0x0, 0xc0093f0700, 0x2000000a) pkg/tcpip/transport/udp/endpoint.go:432 +0x68 fp=0xc099cb55e0 sp=0xc099cb5590 pc=0xad87e8 gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*socketOpsCommon).SendMsg(0xc009706620, 0xc0093fca80, 0x13c5030, 0xc0095c4000, 0x0, 0x0, 0x0, 0x0, 0x100, 0xc0076800e0, ...) pkg/sentry/socket/netstack/netstack.go:2854 +0x209 fp=0xc099cb5750 sp=0xc099cb55e0 pc=0xb297a9 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.sendSingleMsg(0xc0093fca80, 0x3f88e5a20218, 0xc0097065b0, 0xc0097065b0, 0x20003d80, 0xc000000000, 0x0, 0xc0093fca01, 0x56bf88) pkg/sentry/syscalls/linux/vfs2/socket.go:1065 +0x496 fp=0xc099cb5a38 sp=0xc099cb5750 pc=0xde4856 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.SendMMsg(0xc0093fca80, 0x3, 0x20003d80, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/socket.go:989 +0x2a5 fp=0xc099cb5b08 sp=0xc099cb5a38 pc=0xde3fc5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc0093fca80, 0x133, 0x3, 0x20003d80, 0x2, 0x0, 0x0, 0x0, 0xe1edec, 0x1234400, ...) pkg/sentry/kernel/task_syscall.go:102 +0x13c fp=0xc099cb5c68 sp=0xc099cb5b08 pc=0x9b45dc gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc0093fca80, 0x133, 0x3, 0x20003d80, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:237 +0x66 fp=0xc099cb5cf0 sp=0xc099cb5c68 pc=0x9b57a6 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0093fca80, 0x133, 0x3, 0x20003d80, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:197 +0x98 fp=0xc099cb5d50 sp=0xc099cb5cf0 pc=0x9b5358 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0093fca80, 0x2, 0xc0093fca80) pkg/sentry/kernel/task_syscall.go:172 +0x15c fp=0xc099cb5e20 sp=0xc099cb5d50 pc=0x9b4cfc gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc0093fca80, 0x139fe40, 0x0) pkg/sentry/kernel/task_run.go:282 +0xca5 fp=0xc099cb5f60 sp=0xc099cb5e20 pc=0x9a9505 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc0093fca80, 0xb85f) pkg/sentry/kernel/task_run.go:97 +0x1af fp=0xc099cb5fd0 sp=0xc099cb5f60 pc=0x9a816f runtime.goexit() src/runtime/asm_amd64.s:1371 +0x1 fp=0xc099cb5fd8 sp=0xc099cb5fd0 pc=0x472821 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:327 +0xfe