panic: unknown network protocol number 0 goroutine 1357855 [running]: panic(0x12119c0, 0xc00b489b80) GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc0017c68f8 sp=0xc0017c6830 pc=0x437c65 gvisor.dev/gvisor/pkg/tcpip/stack.(*PacketBuffer).Network(0xc0041b1500, 0xc00403e870, 0xed979ccb4) pkg/tcpip/stack/packet_buffer.go:420 +0x1d7 fp=0xc0017c6950 sp=0xc0017c68f8 pc=0x9e59b7 gvisor.dev/gvisor/pkg/tcpip/transport/raw.(*endpoint).HandlePacket.func1(0xc00163a000, 0xc0041b1500, 0x0) pkg/tcpip/transport/raw/endpoint.go:688 +0x348 fp=0xc0017c7f58 sp=0xc0017c6950 pc=0xbb3208 gvisor.dev/gvisor/pkg/tcpip/transport/raw.(*endpoint).HandlePacket(0xc00163a000, 0xc0041b1500) pkg/tcpip/transport/raw/endpoint.go:818 +0x3f fp=0xc0017c7f80 sp=0xc0017c7f58 pc=0xbafe3f gvisor.dev/gvisor/pkg/tcpip/stack.(*transportDemuxer).deliverRawPacket(0xc0024b93b0, 0x1, 0xc003ff7500, 0x8) pkg/tcpip/stack/transport_demuxer.go:771 +0x1a3 fp=0xc0017c8038 sp=0xc0017c7f80 pc=0x9fd503 gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).DeliverRawPacket(0xc00000a3c0, 0xc000000001, 0xc003ff7500) pkg/tcpip/stack/nic.go:1123 +0x65 fp=0xc0017c8070 sp=0xc0017c8038 pc=0x9e2c25 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).handleValidatedPacket(0xc000495100, 0xc001120586, 0x14, 0x14, 0xc0041b1180, 0x142a58a, 0x2) pkg/tcpip/network/ipv4/ipv4.go:1145 +0xfa2 fp=0xc0017c8838 sp=0xc0017c8070 pc=0xc03e82 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).HandlePacket(0xc000495100, 0xc0041b1180) pkg/tcpip/network/ipv4/ipv4.go:930 +0x1a5 fp=0xc0017c8a98 sp=0xc0017c8838 pc=0xc02865 gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).DeliverNetworkPacket(0xc00000a3c0, 0xc00d02f860, 0x6, 0xc00d02f866, 0x6, 0x800, 0xc0041b1180) pkg/tcpip/stack/nic.go:938 +0x3ae fp=0xc0017c8b50 sp=0xc0017c8a98 pc=0x9e1d4e gvisor.dev/gvisor/pkg/tcpip/link/nested.(*Endpoint).DeliverNetworkPacket(0xc002c585f0, 0xc00d02f860, 0x6, 0xc00d02f866, 0x6, 0x800, 0xc0041b1180) pkg/tcpip/link/nested/nested.go:63 +0x104 fp=0xc0017c8bb0 sp=0xc0017c8b50 pc=0xcb7d44 gvisor.dev/gvisor/pkg/tcpip/link/ethernet.(*Endpoint).DeliverNetworkPacket(0xc002c585f0, 0x0, 0x0, 0x0, 0x0, 0x800, 0xc0041b1180) pkg/tcpip/link/ethernet/ethernet.go:82 +0x1bb fp=0xc0017c8c20 sp=0xc0017c8bb0 pc=0xf9bddb gvisor.dev/gvisor/pkg/tcpip/link/loopback.(*endpoint).WriteRawPacket(0xc002bff7e0, 0xc005ffa700, 0x0, 0x0) pkg/tcpip/link/loopback/loopback.go:125 +0x12f fp=0xc0017c8c90 sp=0xc0017c8c20 pc=0xf9c9af gvisor.dev/gvisor/pkg/tcpip/link/loopback.(*endpoint).WritePackets(0xc002bff7e0, 0xc005ffa700, 0xc005ffa700, 0x0, 0x0, 0xc000000800) pkg/tcpip/link/loopback/loopback.go:91 +0x90 fp=0xc0017c8cd0 sp=0xc0017c8c90 pc=0xf9c7d0 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(0xc002c585f0, 0xc005ffa700, 0xc005ffa700, 0x0, 0xc00179ad00, 0x1486428) pkg/tcpip/link/ethernet/ethernet.go:108 +0x10e fp=0xc0017c8d30 sp=0xc0017c8cd0 pc=0xf9bfee gvisor.dev/gvisor/pkg/tcpip/stack.(*delegatingQueueingDiscipline).WritePacket(0xc002bff7f0, 0xc005ffa700, 0x0, 0xc005ffa700) pkg/tcpip/stack/nic.go:166 +0x75 fp=0xc0017c8d80 sp=0xc0017c8d30 pc=0x9de355 gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).writePacket(0xc00000a3c0, 0xc005ffa700, 0xc00d02f7e0, 0x4) pkg/tcpip/stack/nic.go:448 +0xbf fp=0xc0017c8dc8 sp=0xc0017c8d80 pc=0x9dfc1f gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).WritePacket(0xc00000a3c0, 0xc009042460, 0xc005ffa700, 0x0, 0x0) pkg/tcpip/stack/nic.go:407 +0x229 fp=0xc0017c8f08 sp=0xc0017c8dc8 pc=0x9df9c9 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).writePacketPostRouting.func1(0xc005ffa700, 0xc001120536, 0x14) pkg/tcpip/network/ipv4/ipv4.go:594 +0x52 fp=0xc0017c8f40 sp=0xc0017c8f08 pc=0xc094b2 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).handleFragments(0xc000495100, 0xc009042460, 0xc00000ffde, 0xc006405880, 0xc0017c90e0, 0x142a58a, 0x2, 0x1, 0x0) pkg/tcpip/network/ipv4/ipv4.go:476 +0x166 fp=0xc0017c9070 sp=0xc0017c8f40 pc=0xc003a6 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).writePacketPostRouting(0xc000495100, 0xc009042460, 0xc006405880, 0xc00d02f700, 0x4, 0xc001120501) pkg/tcpip/network/ipv4/ipv4.go:588 +0x332 fp=0xc0017c92b8 sp=0xc0017c9070 pc=0xc00c92 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).writePacket(0xc000495100, 0xc009042460, 0xc006405880, 0xc00d02f7e0, 0x4) pkg/tcpip/network/ipv4/ipv4.go:538 +0x205 fp=0xc0017c9340 sp=0xc0017c92b8 pc=0xc00865 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).WritePacket(0xc000495100, 0xc009042460, 0x4000000001, 0xc006405880, 0x9e49ee, 0x15ea768) pkg/tcpip/network/ipv4/ipv4.go:500 +0x11b fp=0xc0017c93b0 sp=0xc0017c9340 pc=0xc0061b gvisor.dev/gvisor/pkg/tcpip/stack.(*Route).WritePacket(0xc009042460, 0x4000000001, 0xc006405880, 0xc002a274c0, 0xc006405880) pkg/tcpip/stack/route.go:572 +0xd7 fp=0xc0017c93f0 sp=0xc0017c93b0 pc=0x9ec8d7 gvisor.dev/gvisor/pkg/tcpip/transport/internal/network.(*WriteContext).WritePacket(0xc002a274d8, 0xc006405880, 0x0, 0x1, 0xffe0) pkg/tcpip/transport/internal/network/endpoint.go:295 +0xd6 fp=0xc0017c9428 sp=0xc0017c93f0 pc=0xba1956 gvisor.dev/gvisor/pkg/tcpip/transport/raw.(*endpoint).write(0xc00163a000, 0x15dbd88, 0xc0097b1db0, 0xc0053cf5e0, 0x0, 0x0, 0x0, 0x0) pkg/tcpip/transport/raw/endpoint.go:392 +0x53b fp=0xc0017c95d8 sp=0xc0017c9428 pc=0xbaedfb gvisor.dev/gvisor/pkg/tcpip/transport/raw.(*endpoint).Write(0xc00163a000, 0x15dbd88, 0xc0097b1db0, 0xc0053cf5e0, 0xc00d000000, 0x4, 0x0, 0xa80002) pkg/tcpip/transport/raw/endpoint.go:323 +0xc5 fp=0xc0017c9628 sp=0xc0017c95d8 pc=0xbae565 gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*socketOpsCommon).SendMsg(0xc00593d490, 0xc007ca4a80, 0x15f5760, 0xc00afb0000, 0x0, 0x1, 0x20000040, 0xffe0, 0x100, 0xc00d02f7d0, ...) pkg/sentry/socket/netstack/netstack.go:3915 +0x243 fp=0xc0017c9788 sp=0xc0017c9628 pc=0xc4e2a3 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.sendSingleMsg(0xc007ca4a80, 0x7f6234ba58d8, 0xc00593d420, 0xc00593d420, 0x20001440, 0xc000000040, 0x0, 0xc007ca4a01, 0x5636f0caf038) pkg/sentry/syscalls/linux/vfs2/socket.go:1437 +0x555 fp=0xc0017c9ae8 sp=0xc0017c9788 pc=0xf76395 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.SendMMsg(0xc007ca4a80, 0x5, 0x20001440, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/socket.go:1329 +0x37f fp=0xc0017c9bb8 sp=0xc0017c9ae8 pc=0xf759bf gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc007ca4a80, 0x133, 0x5, 0x20001440, 0x1, 0x0, 0x0, 0x0, 0xc000001fa0, 0x1425680, ...) pkg/sentry/kernel/task_syscall.go:115 +0x199 fp=0xc0017c9c78 sp=0xc0017c9bb8 pc=0xa835d9 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc007ca4a80, 0x133, 0x5, 0x20001440, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:290 +0x70 fp=0xc0017c9d00 sp=0xc0017c9c78 pc=0xa848b0 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc007ca4a80, 0x133, 0x5, 0x20001440, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:237 +0xb4 fp=0xc0017c9d60 sp=0xc0017c9d00 pc=0xa84394 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc007ca4a80, 0x2, 0xc007ca4a80) pkg/sentry/kernel/task_syscall.go:204 +0x198 fp=0xc0017c9e30 sp=0xc0017c9d60 pc=0xa83c78 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc007ca4a80, 0x15cdf80, 0x0) pkg/sentry/kernel/task_run.go:294 +0xd9a fp=0xc0017c9f68 sp=0xc0017c9e30 pc=0xa76b9a gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc007ca4a80, 0x66f3) pkg/sentry/kernel/task_run.go:98 +0x1b9 fp=0xc0017c9fd0 sp=0xc0017c9f68 pc=0xa75959 runtime.goexit() src/runtime/asm_amd64.s:1371 +0x1 fp=0xc0017c9fd8 sp=0xc0017c9fd0 pc=0x472861 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:398 +0x116