panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x929266] goroutine 441628 [running]: panic(0x1097c40, 0x1baabc0) GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc08927daa8 sp=0xc08927d9e0 pc=0x437c65 runtime.panicmem() GOROOT/src/runtime/panic.go:212 +0x5b fp=0xc08927dac8 sp=0xc08927daa8 pc=0x435cbb runtime.sigpanic() GOROOT/src/runtime/signal_unix.go:734 +0x173 fp=0xc08927db00 sp=0xc08927dac8 pc=0x44f993 gvisor.dev/gvisor/pkg/tcpip/stack.(*PacketBuffer).headerView(0x0, 0x2, 0x0, 0x0, 0x0) pkg/tcpip/stack/packet_buffer.go:274 +0x26 fp=0xc08927db48 sp=0xc08927db00 pc=0x929266 gvisor.dev/gvisor/pkg/tcpip/stack.PacketHeader.View(...) pkg/tcpip/stack/packet_buffer.go:364 gvisor.dev/gvisor/pkg/tcpip/transport/udp.(*protocol).HandleUnknownDestinationPacket(0xc001c30098, 0x0, 0x0, 0x0, 0xcdab, 0xc002709200, 0x0, 0x0, 0x10) pkg/tcpip/transport/udp/protocol.go:82 +0x65 fp=0xc08927eee0 sp=0xc08927db48 pc=0xade545 gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).DeliverTransportPacket(0xc0001f3880, 0x11, 0xc008e78400, 0x1) pkg/tcpip/stack/nic.go:840 +0x371 fp=0xc08927efe8 sp=0xc08927eee0 pc=0x926f31 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).processExtensionHeaders(0xc002688800, 0xc001d5fbce, 0x28, 0x30, 0xc008e78400, 0x0, 0xc001e369c4, 0x7) pkg/tcpip/network/ipv6/ipv6.go:1553 +0x1923 fp=0xc08927f968 sp=0xc08927efe8 pc=0xb039e3 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).handleValidatedPacket(0xc002688800, 0xc001d5fbce, 0x28, 0x30, 0xc008e78400) pkg/tcpip/network/ipv6/ipv6.go:1187 +0x30c fp=0xc08927fbe0 sp=0xc08927f968 pc=0xb01c4c gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).handleLocalPacket(0xc002688800, 0xc008e78300, 0x3f26e2c1e601) pkg/tcpip/network/ipv6/ipv6.go:1126 +0x150 fp=0xc08927fde0 sp=0xc08927fbe0 pc=0xb018d0 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).writePacket(0xc002688800, 0xc002b42460, 0xc008e78300, 0x11, 0x0, 0x0) pkg/tcpip/network/ipv6/ipv6.go:779 +0x4ae fp=0xc089280018 sp=0xc08927fde0 pc=0xaff84e gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).WritePacket(0xc002688800, 0xc002b42460, 0x4000000011, 0xc008e78300, 0xc002b42460, 0xc001aa7601) pkg/tcpip/network/ipv6/ipv6.go:771 +0x16c fp=0xc089280080 sp=0xc089280018 pc=0xaff20c gvisor.dev/gvisor/pkg/tcpip/stack.(*Route).WritePacket(0xc002b42460, 0x4000000011, 0xc008e78300, 0xc000138928, 0x8) pkg/tcpip/stack/route.go:462 +0xad fp=0xc0892800c0 sp=0xc089280080 pc=0x92e18d gvisor.dev/gvisor/pkg/tcpip/transport/udp.sendUDP(0xc002b42460, 0xc089281650, 0x1, 0x1, 0x7, 0x1000000cdab, 0x13a7890, 0xc009101500, 0x0, 0x96f048, ...) pkg/tcpip/transport/udp/endpoint.go:856 +0x3c5 fp=0xc0892814e0 sp=0xc0892800c0 pc=0xada7c5 gvisor.dev/gvisor/pkg/tcpip/transport/udp.(*endpoint).write(0xc003342280, 0x13ac020, 0xc007e33680, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/tcpip/transport/udp/endpoint.go:580 +0x688 fp=0xc089281678 sp=0xc0892814e0 pc=0xad8dc8 gvisor.dev/gvisor/pkg/tcpip/transport/udp.(*endpoint).Write(0xc003342280, 0x13ac020, 0xc007e33680, 0x0, 0x0, 0x40a63f, 0xc000030000, 0x10a2be0) pkg/tcpip/transport/udp/endpoint.go:432 +0x68 fp=0xc0892816c8 sp=0xc089281678 pc=0xad8568 gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*SocketVFS2).Write(0xc00011ef70, 0x13c92a0, 0xc008d3e000, 0x13c4170, 0xc008cbc000, 0x0, 0x1, 0x200000c0, 0x7, 0x100, ...) pkg/sentry/socket/netstack/netstack_vfs2.go:132 +0x12c fp=0xc089281790 sp=0xc0892816c8 pc=0xb2c58c gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Write(0xc00011ef70, 0x13c92a0, 0xc008d3e000, 0x13c4170, 0xc008cbc000, 0x0, 0x1, 0x200000c0, 0x7, 0x100, ...) pkg/sentry/vfs/file_description.go:657 +0xb4 fp=0xc089281828 sp=0xc089281790 pc=0x7374b4 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.write(0xc008d3e000, 0xc00011ef70, 0x13c4170, 0xc008cbc000, 0x0, 0x1, 0x200000c0, 0x7, 0x100, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/read_write.go:345 +0x9b fp=0xc0892819d8 sp=0xc089281828 pc=0xdd739b gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Write(0xc008d3e000, 0x5, 0x200000c0, 0x7, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/read_write.go:314 +0x245 fp=0xc089281b08 sp=0xc0892819d8 pc=0xdd6c85 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc008d3e000, 0x1, 0x5, 0x200000c0, 0x7, 0x0, 0x0, 0x0, 0xe1dd0c, 0x1233820, ...) pkg/sentry/kernel/task_syscall.go:102 +0x13c fp=0xc089281c68 sp=0xc089281b08 pc=0x9b453c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc008d3e000, 0x1, 0x5, 0x200000c0, 0x7, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:237 +0x66 fp=0xc089281cf0 sp=0xc089281c68 pc=0x9b5706 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc008d3e000, 0x1, 0x5, 0x200000c0, 0x7, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:197 +0x98 fp=0xc089281d50 sp=0xc089281cf0 pc=0x9b52b8 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc008d3e000, 0x2, 0xc008d3e000) pkg/sentry/kernel/task_syscall.go:172 +0x15c fp=0xc089281e20 sp=0xc089281d50 pc=0x9b4c5c gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc008d3e000, 0x139ef60, 0x0) pkg/sentry/kernel/task_run.go:282 +0xca5 fp=0xc089281f60 sp=0xc089281e20 pc=0x9a8fc5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc008d3e000, 0x216d) pkg/sentry/kernel/task_run.go:97 +0x1af fp=0xc089281fd0 sp=0xc089281f60 pc=0x9a7c2f runtime.goexit() src/runtime/asm_amd64.s:1371 +0x1 fp=0xc089281fd8 sp=0xc089281fd0 pc=0x472821 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:328 +0xfe