panic: unknown network protocol number 0 goroutine 85790 [running]: panic(0x1210a60, 0xc007c1efc0) GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc002f26918 sp=0xc002f26850 pc=0x437c65 gvisor.dev/gvisor/pkg/tcpip/stack.(*PacketBuffer).Network(0xc002485680, 0xc00a49d9e0, 0xed974e48f) pkg/tcpip/stack/packet_buffer.go:421 +0x1c7 fp=0xc002f26970 sp=0xc002f26918 pc=0x9e5727 gvisor.dev/gvisor/pkg/tcpip/transport/raw.(*endpoint).HandlePacket.func1(0xc002d2e2c0, 0xc002485680, 0xc002485600) pkg/tcpip/transport/raw/endpoint.go:688 +0x348 fp=0xc002f27f78 sp=0xc002f26970 pc=0xbb2f68 gvisor.dev/gvisor/pkg/tcpip/transport/raw.(*endpoint).HandlePacket(0xc002d2e2c0, 0xc002485680) pkg/tcpip/transport/raw/endpoint.go:818 +0x3f fp=0xc002f27fa0 sp=0xc002f27f78 pc=0xbafb9f gvisor.dev/gvisor/pkg/tcpip/stack.(*transportDemuxer).deliverRawPacket(0xc0008069c0, 0x1, 0xc002485400, 0x8) pkg/tcpip/stack/transport_demuxer.go:771 +0x1a3 fp=0xc002f28058 sp=0xc002f27fa0 pc=0x9fd143 gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).DeliverRawPacket(0xc00000a1e0, 0xc000000001, 0xc002485400) pkg/tcpip/stack/nic.go:1123 +0x65 fp=0xc002f28090 sp=0xc002f28058 pc=0x9e2ae5 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).handleValidatedPacket(0xc000491500, 0xc002c88e96, 0x14, 0x14, 0xc002485540, 0x142962a, 0x2) pkg/tcpip/network/ipv4/ipv4.go:1143 +0xf82 fp=0xc002f28858 sp=0xc002f28090 pc=0xc03a22 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).HandlePacket(0xc000491500, 0xc002485540) pkg/tcpip/network/ipv4/ipv4.go:928 +0x1a5 fp=0xc002f28ab8 sp=0xc002f28858 pc=0xc02425 gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).DeliverNetworkPacket(0xc00000a1e0, 0xc00081ff30, 0x6, 0xc00081ff36, 0x6, 0x800, 0xc002485540) pkg/tcpip/stack/nic.go:938 +0x3ae fp=0xc002f28b70 sp=0xc002f28ab8 pc=0x9e1c2e gvisor.dev/gvisor/pkg/tcpip/link/nested.(*Endpoint).DeliverNetworkPacket(0xc0000c6d20, 0xc00081ff30, 0x6, 0xc00081ff36, 0x6, 0x800, 0xc002485540) pkg/tcpip/link/nested/nested.go:63 +0x104 fp=0xc002f28bd0 sp=0xc002f28b70 pc=0xcb7804 gvisor.dev/gvisor/pkg/tcpip/link/ethernet.(*Endpoint).DeliverNetworkPacket(0xc0000c6d20, 0x0, 0x0, 0x0, 0x0, 0x800, 0xc002485540) pkg/tcpip/link/ethernet/ethernet.go:82 +0x1bb fp=0xc002f28c40 sp=0xc002f28bd0 pc=0xf9b89b gvisor.dev/gvisor/pkg/tcpip/link/loopback.(*endpoint).WriteRawPacket(0xc00084e300, 0xc001330500, 0x0, 0x0) pkg/tcpip/link/loopback/loopback.go:125 +0x128 fp=0xc002f28cb0 sp=0xc002f28c40 pc=0xf9c468 gvisor.dev/gvisor/pkg/tcpip/link/loopback.(*endpoint).WritePackets(0xc00084e300, 0xc001330500, 0xc001330500, 0x0, 0x0, 0xc000000800) pkg/tcpip/link/loopback/loopback.go:91 +0x90 fp=0xc002f28cf0 sp=0xc002f28cb0 pc=0xf9c290 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(0xc0000c6d20, 0xc001330500, 0xc001330500, 0x0, 0xc0028aed20, 0x14854c8) pkg/tcpip/link/ethernet/ethernet.go:108 +0x10b fp=0xc002f28d50 sp=0xc002f28cf0 pc=0xf9baab gvisor.dev/gvisor/pkg/tcpip/stack.(*delegatingQueueingDiscipline).WritePacket(0xc00084e310, 0xc001330500, 0x0, 0xc001330500) pkg/tcpip/stack/nic.go:166 +0x75 fp=0xc002f28da0 sp=0xc002f28d50 pc=0x9de235 gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).writePacket(0xc00000a1e0, 0xc001330500, 0xc00081feb0, 0x4) pkg/tcpip/stack/nic.go:448 +0xbb fp=0xc002f28de8 sp=0xc002f28da0 pc=0x9dfafb gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).WritePacket(0xc00000a1e0, 0xc0014c68c0, 0xc001330500, 0x0, 0x0) pkg/tcpip/stack/nic.go:407 +0x229 fp=0xc002f28f28 sp=0xc002f28de8 pc=0x9df8a9 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).writePacketPostRouting.func1(0xc001330500, 0xc002c88e46, 0x14) pkg/tcpip/network/ipv4/ipv4.go:592 +0x52 fp=0xc002f28f60 sp=0xc002f28f28 pc=0xc09052 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).handleFragments(0xc000491500, 0xc0014c68c0, 0xc00000ffde, 0xc002485180, 0xc002f290e0, 0x142962a, 0x2, 0x1, 0x0) pkg/tcpip/network/ipv4/ipv4.go:476 +0x15e fp=0xc002f29070 sp=0xc002f28f60 pc=0xbfffbe gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).writePacketPostRouting(0xc000491500, 0xc0014c68c0, 0xc002485180, 0xc00081fe00, 0x4, 0xc002c88e01) pkg/tcpip/network/ipv4/ipv4.go:586 +0x332 fp=0xc002f292b8 sp=0xc002f29070 pc=0xc00852 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).writePacket(0xc000491500, 0xc0014c68c0, 0xc002485180, 0xc00081feb0, 0x4) pkg/tcpip/network/ipv4/ipv4.go:536 +0x205 fp=0xc002f29340 sp=0xc002f292b8 pc=0xc00425 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).WritePacket(0xc000491500, 0xc0014c68c0, 0x4000000001, 0xc002485180, 0x9e48d7, 0x15e9748) pkg/tcpip/network/ipv4/ipv4.go:498 +0x11b fp=0xc002f293b0 sp=0xc002f29340 pc=0xc001db gvisor.dev/gvisor/pkg/tcpip/stack.(*Route).WritePacket(0xc0014c68c0, 0x4000000001, 0xc002485180, 0xc0028af4c0, 0xc002485180) pkg/tcpip/stack/route.go:572 +0xd7 fp=0xc002f293f0 sp=0xc002f293b0 pc=0x9ec517 gvisor.dev/gvisor/pkg/tcpip/transport/internal/network.(*WriteContext).WritePacket(0xc0028af4d8, 0xc002485180, 0x0, 0x1, 0xffe0) pkg/tcpip/transport/internal/network/endpoint.go:295 +0xd6 fp=0xc002f29428 sp=0xc002f293f0 pc=0xba16b6 gvisor.dev/gvisor/pkg/tcpip/transport/raw.(*endpoint).write(0xc0004c2b00, 0x15dad68, 0xc001830f00, 0xc00242ca60, 0x0, 0x0, 0x0, 0x0) pkg/tcpip/transport/raw/endpoint.go:392 +0x53b fp=0xc002f295d8 sp=0xc002f29428 pc=0xbaeb5b gvisor.dev/gvisor/pkg/tcpip/transport/raw.(*endpoint).Write(0xc0004c2b00, 0x15dad68, 0xc001830f00, 0xc00242ca60, 0xc000000000, 0x4, 0x0, 0xa80002) pkg/tcpip/transport/raw/endpoint.go:323 +0xc5 fp=0xc002f29628 sp=0xc002f295d8 pc=0xbae2c5 gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*socketOpsCommon).SendMsg(0xc0029cd3b0, 0xc002d28a80, 0x15f4740, 0xc00258a000, 0x0, 0x1, 0x20000040, 0xffe0, 0x100, 0xc00081fea0, ...) pkg/sentry/socket/netstack/netstack.go:3915 +0x243 fp=0xc002f29788 sp=0xc002f29628 pc=0xc4dd63 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.sendSingleMsg(0xc002d28a80, 0x3f26f9bac458, 0xc0029cd340, 0xc0029cd340, 0x20001440, 0xc000000040, 0x0, 0xc002d28a01, 0x561835e75f68) pkg/sentry/syscalls/linux/vfs2/socket.go:1437 +0x555 fp=0xc002f29ae8 sp=0xc002f29788 pc=0xf75e55 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.SendMMsg(0xc002d28a80, 0x5, 0x20001440, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/socket.go:1329 +0x37f fp=0xc002f29bb8 sp=0xc002f29ae8 pc=0xf7547f gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc002d28a80, 0x133, 0x5, 0x20001440, 0x1, 0x0, 0x0, 0x0, 0xc000001fa0, 0x1424720, ...) pkg/sentry/kernel/task_syscall.go:115 +0x199 fp=0xc002f29c78 sp=0xc002f29bb8 pc=0xa83359 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc002d28a80, 0x133, 0x5, 0x20001440, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:290 +0x70 fp=0xc002f29d00 sp=0xc002f29c78 pc=0xa84630 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc002d28a80, 0x133, 0x5, 0x20001440, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:237 +0xb4 fp=0xc002f29d60 sp=0xc002f29d00 pc=0xa84114 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc002d28a80, 0x2, 0xc002d28a80) pkg/sentry/kernel/task_syscall.go:204 +0x198 fp=0xc002f29e30 sp=0xc002f29d60 pc=0xa839f8 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc002d28a80, 0x15ccf60, 0x0) pkg/sentry/kernel/task_run.go:294 +0xd9a fp=0xc002f29f68 sp=0xc002f29e30 pc=0xa7691a gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc002d28a80, 0x6d8) pkg/sentry/kernel/task_run.go:98 +0x1b9 fp=0xc002f29fd0 sp=0xc002f29f68 pc=0xa756d9 runtime.goexit() src/runtime/asm_amd64.s:1371 +0x1 fp=0xc002f29fd8 sp=0xc002f29fd0 pc=0x472861 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:398 +0x116