panic: unknown network protocol number 0 goroutine 1341490 [running]: panic(0x1211a00, 0xc00862b6c0) GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc004b427b0 sp=0xc004b426e8 pc=0x437c65 gvisor.dev/gvisor/pkg/tcpip/stack.(*PacketBuffer).Network(0xc0064afe00, 0xc0084bd290, 0xed973c2d6) pkg/tcpip/stack/packet_buffer.go:421 +0x1c7 fp=0xc004b42808 sp=0xc004b427b0 pc=0x9e5807 gvisor.dev/gvisor/pkg/tcpip/transport/raw.(*endpoint).HandlePacket.func1(0xc0003fb080, 0xc0064afe00, 0xc0064afe00) pkg/tcpip/transport/raw/endpoint.go:688 +0x348 fp=0xc004b43e10 sp=0xc004b42808 pc=0xbb30a8 gvisor.dev/gvisor/pkg/tcpip/transport/raw.(*endpoint).HandlePacket(0xc0003fb080, 0xc0064afe00) pkg/tcpip/transport/raw/endpoint.go:818 +0x3f fp=0xc004b43e38 sp=0xc004b43e10 pc=0xbafcdf gvisor.dev/gvisor/pkg/tcpip/stack.(*transportDemuxer).deliverRawPacket(0xc01d9fb0c8, 0x1, 0xc004be43c0, 0x8) pkg/tcpip/stack/transport_demuxer.go:771 +0x1a3 fp=0xc004b43ef0 sp=0xc004b43e38 pc=0x9fd163 gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).DeliverRawPacket(0xc006745a40, 0xc000000001, 0xc004be43c0) pkg/tcpip/stack/nic.go:1126 +0x65 fp=0xc004b43f28 sp=0xc004b43ef0 pc=0x9e2bc5 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).handleValidatedPacket(0xc004e3ce00, 0xc0045389e6, 0x14, 0x14, 0xc0064afcc0, 0x142a80a, 0x2) pkg/tcpip/network/ipv4/ipv4.go:1143 +0xf82 fp=0xc004b446f0 sp=0xc004b43f28 pc=0xc03b62 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).HandlePacket(0xc004e3ce00, 0xc0064afcc0) pkg/tcpip/network/ipv4/ipv4.go:928 +0x1a5 fp=0xc004b44950 sp=0xc004b446f0 pc=0xc02565 gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).DeliverNetworkPacket(0xc006745a40, 0xc0285c7b56, 0x6, 0xc0285c7b60, 0x6, 0x800, 0xc0064afcc0) pkg/tcpip/stack/nic.go:941 +0x3ae fp=0xc004b44a08 sp=0xc004b44950 pc=0x9e1d0e gvisor.dev/gvisor/pkg/tcpip/link/nested.(*Endpoint).DeliverNetworkPacket(0xc0016aacd0, 0xc0285c7b56, 0x6, 0xc0285c7b60, 0x6, 0x800, 0xc0064afcc0) pkg/tcpip/link/nested/nested.go:63 +0x104 fp=0xc004b44a68 sp=0xc004b44a08 pc=0xcb79c4 gvisor.dev/gvisor/pkg/tcpip/link/ethernet.(*Endpoint).DeliverNetworkPacket(0xc0016aacd0, 0x0, 0x0, 0x0, 0x0, 0x800, 0xc0064afcc0) pkg/tcpip/link/ethernet/ethernet.go:82 +0x1bb fp=0xc004b44ad8 sp=0xc004b44a68 pc=0xf9bb7b gvisor.dev/gvisor/pkg/tcpip/link/loopback.(*endpoint).WriteRawPacket(0xc00875c8a0, 0xc00116d900, 0x0, 0x0) pkg/tcpip/link/loopback/loopback.go:125 +0x128 fp=0xc004b44b48 sp=0xc004b44ad8 pc=0xf9c808 gvisor.dev/gvisor/pkg/tcpip/link/loopback.(*endpoint).WritePackets(0xc00875c8a0, 0xc00760bd08, 0x4, 0xc00760bd08, 0x4, 0x15b3040, 0x6, 0x0, 0x0, 0x100000800, ...) pkg/tcpip/link/loopback/loopback.go:91 +0x94 fp=0xc004b44b88 sp=0xc004b44b48 pc=0xf9c614 gvisor.dev/gvisor/pkg/tcpip/link/nested.(*Endpoint).WritePackets(...) pkg/tcpip/link/nested/nested.go:120 gvisor.dev/gvisor/pkg/tcpip/link/ethernet.(*Endpoint).WritePackets(0xc0016aacd0, 0xc00760bd08, 0x4, 0xc00760bd08, 0x4, 0x15b3040, 0x6, 0x0, 0x0, 0x100000800, ...) pkg/tcpip/link/ethernet/ethernet.go:108 +0x1ab fp=0xc004b44c98 sp=0xc004b44b88 pc=0xf9be2b gvisor.dev/gvisor/pkg/tcpip/stack.(*delegatingQueueingDiscipline).WritePacket(0xc00875c8b0, 0xc00760bd08, 0x4, 0xc00760bd08, 0x4, 0x15b3040, 0x6, 0x0, 0x0, 0x100000800, ...) pkg/tcpip/stack/nic.go:166 +0xd0 fp=0xc004b44d48 sp=0xc004b44c98 pc=0x9de210 gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).writePacket(0xc006745a40, 0xc00760bd08, 0x4, 0xc00760bd08, 0x4, 0x15b3040, 0x6, 0x0, 0x0, 0x100000800, ...) pkg/tcpip/stack/nic.go:451 +0x158 fp=0xc004b44de0 sp=0xc004b44d48 pc=0x9dfb98 gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).WritePacket(0xc006745a40, 0xc003bc2280, 0x800, 0xc00116d900, 0x0, 0x0) pkg/tcpip/stack/nic.go:406 +0x230 fp=0xc004b44f20 sp=0xc004b44de0 pc=0x9df8b0 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).writePacketPostRouting.func1(0xc00116d900, 0xc004538996, 0x14) pkg/tcpip/network/ipv4/ipv4.go:592 +0x5a fp=0xc004b44f60 sp=0xc004b44f20 pc=0xc0919a gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).handleFragments(0xc004e3ce00, 0xc003bc2280, 0xc00000ffde, 0xc00116d540, 0xc004b450e0, 0x142a80a, 0x2, 0x1, 0x0) pkg/tcpip/network/ipv4/ipv4.go:476 +0x15e fp=0xc004b45070 sp=0xc004b44f60 pc=0xc000fe gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).writePacketPostRouting(0xc004e3ce00, 0xc003bc2280, 0xc00116d540, 0xc00760bd00, 0x4, 0xc004538901) pkg/tcpip/network/ipv4/ipv4.go:586 +0x332 fp=0xc004b452b8 sp=0xc004b45070 pc=0xc00992 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).writePacket(0xc004e3ce00, 0xc003bc2280, 0xc00116d540, 0xc00760bd08, 0x4) pkg/tcpip/network/ipv4/ipv4.go:536 +0x205 fp=0xc004b45340 sp=0xc004b452b8 pc=0xc00565 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).WritePacket(0xc004e3ce00, 0xc003bc2280, 0x4000000001, 0xc00116d540, 0x9e49b7, 0x15ea9a8) pkg/tcpip/network/ipv4/ipv4.go:498 +0x11b fp=0xc004b453b0 sp=0xc004b45340 pc=0xc0031b gvisor.dev/gvisor/pkg/tcpip/stack.(*Route).WritePacket(0xc003bc2280, 0x4000000001, 0xc00116d540, 0xc0012894c0, 0xc00116d540) pkg/tcpip/stack/route.go:572 +0xd7 fp=0xc004b453f0 sp=0xc004b453b0 pc=0x9ec5d7 gvisor.dev/gvisor/pkg/tcpip/transport/internal/network.(*WriteContext).WritePacket(0xc0012894d8, 0xc00116d540, 0x0, 0x1, 0xffe0) pkg/tcpip/transport/internal/network/endpoint.go:295 +0xd6 fp=0xc004b45428 sp=0xc004b453f0 pc=0xba17f6 gvisor.dev/gvisor/pkg/tcpip/transport/raw.(*endpoint).write(0xc006d64000, 0x15dbfc8, 0xc01a1ef130, 0xc003be3fa0, 0x0, 0x0, 0x0, 0x0) pkg/tcpip/transport/raw/endpoint.go:392 +0x53b fp=0xc004b455d8 sp=0xc004b45428 pc=0xbaec9b gvisor.dev/gvisor/pkg/tcpip/transport/raw.(*endpoint).Write(0xc006d64000, 0x15dbfc8, 0xc01a1ef130, 0xc003be3fa0, 0xc007000000, 0x4, 0x0, 0xa80002) pkg/tcpip/transport/raw/endpoint.go:323 +0xc5 fp=0xc004b45628 sp=0xc004b455d8 pc=0xbae405 gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*socketOpsCommon).SendMsg(0xc0013352d0, 0xc00e15d500, 0x15f59a0, 0xc00b720000, 0x0, 0x1, 0x20000040, 0xffe0, 0x100, 0xc00760bd10, ...) pkg/sentry/socket/netstack/netstack.go:3915 +0x243 fp=0xc004b45788 sp=0xc004b45628 pc=0xc4df23 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.sendSingleMsg(0xc00e15d500, 0x3fb890c75618, 0xc001335260, 0xc001335260, 0x20001440, 0xc000000040, 0x0, 0xc00e15d501, 0x55aae5af5f68) pkg/sentry/syscalls/linux/vfs2/socket.go:1437 +0x555 fp=0xc004b45ae8 sp=0xc004b45788 pc=0xf76135 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.SendMMsg(0xc00e15d500, 0x4, 0x20001440, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/socket.go:1329 +0x37f fp=0xc004b45bb8 sp=0xc004b45ae8 pc=0xf7575f gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00e15d500, 0x133, 0x4, 0x20001440, 0x1, 0x0, 0x0, 0x0, 0xc000001fa0, 0x1425900, ...) pkg/sentry/kernel/task_syscall.go:115 +0x199 fp=0xc004b45c78 sp=0xc004b45bb8 pc=0xa83479 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00e15d500, 0x133, 0x4, 0x20001440, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:290 +0x70 fp=0xc004b45d00 sp=0xc004b45c78 pc=0xa84750 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc00e15d500, 0x133, 0x4, 0x20001440, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:237 +0xb4 fp=0xc004b45d60 sp=0xc004b45d00 pc=0xa84234 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00e15d500, 0x2, 0xc00e15d500) pkg/sentry/kernel/task_syscall.go:204 +0x198 fp=0xc004b45e30 sp=0xc004b45d60 pc=0xa83b18 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc00e15d500, 0x15ce1c0, 0x0) pkg/sentry/kernel/task_run.go:294 +0xd9a fp=0xc004b45f68 sp=0xc004b45e30 pc=0xa76a3a gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00e15d500, 0xabe5) pkg/sentry/kernel/task_run.go:98 +0x1b9 fp=0xc004b45fd0 sp=0xc004b45f68 pc=0xa757f9 runtime.goexit() src/runtime/asm_amd64.s:1371 +0x1 fp=0xc004b45fd8 sp=0xc004b45fd0 pc=0x472861 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:398 +0x116