panic: unknown network protocol number 0 goroutine 239620 [running]: panic(0x1211a60, 0xc00b57d2a0) GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc00bea68f8 sp=0xc00bea6830 pc=0x437c65 gvisor.dev/gvisor/pkg/tcpip/stack.(*PacketBuffer).Network(0xc004f4da40, 0xc1066970e0, 0xed9768522) pkg/tcpip/stack/packet_buffer.go:421 +0x1c7 fp=0xc00bea6950 sp=0xc00bea68f8 pc=0x9e5727 gvisor.dev/gvisor/pkg/tcpip/transport/raw.(*endpoint).HandlePacket.func1(0xc00bd842c0, 0xc004f4da40, 0xc004f4da00) pkg/tcpip/transport/raw/endpoint.go:688 +0x348 fp=0xc00bea7f58 sp=0xc00bea6950 pc=0xbb2f68 gvisor.dev/gvisor/pkg/tcpip/transport/raw.(*endpoint).HandlePacket(0xc00bd842c0, 0xc004f4da40) pkg/tcpip/transport/raw/endpoint.go:818 +0x3f fp=0xc00bea7f80 sp=0xc00bea7f58 pc=0xbafb9f gvisor.dev/gvisor/pkg/tcpip/stack.(*transportDemuxer).deliverRawPacket(0xc0013f1da0, 0x1, 0xc005f13040, 0x8) pkg/tcpip/stack/transport_demuxer.go:771 +0x1a3 fp=0xc00bea8038 sp=0xc00bea7f80 pc=0x9fd143 gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).DeliverRawPacket(0xc003f35680, 0xc000000001, 0xc005f13040) pkg/tcpip/stack/nic.go:1123 +0x65 fp=0xc00bea8070 sp=0xc00bea8038 pc=0x9e2ae5 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).handleValidatedPacket(0xc004ea1500, 0xc00bd153e6, 0x14, 0x14, 0xc004f4d900, 0x142a62a, 0x2) pkg/tcpip/network/ipv4/ipv4.go:1145 +0xf82 fp=0xc00bea8838 sp=0xc00bea8070 pc=0xc03b82 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).HandlePacket(0xc004ea1500, 0xc004f4d900) pkg/tcpip/network/ipv4/ipv4.go:930 +0x1a5 fp=0xc00bea8a98 sp=0xc00bea8838 pc=0xc02585 gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).DeliverNetworkPacket(0xc003f35680, 0xc00b5798d6, 0x6, 0xc00b5798e0, 0x6, 0x800, 0xc004f4d900) pkg/tcpip/stack/nic.go:938 +0x3ae fp=0xc00bea8b50 sp=0xc00bea8a98 pc=0x9e1c2e gvisor.dev/gvisor/pkg/tcpip/link/nested.(*Endpoint).DeliverNetworkPacket(0xc00197bb30, 0xc00b5798d6, 0x6, 0xc00b5798e0, 0x6, 0x800, 0xc004f4d900) pkg/tcpip/link/nested/nested.go:63 +0x104 fp=0xc00bea8bb0 sp=0xc00bea8b50 pc=0xcb79c4 gvisor.dev/gvisor/pkg/tcpip/link/ethernet.(*Endpoint).DeliverNetworkPacket(0xc00197bb30, 0x0, 0x0, 0x0, 0x0, 0x800, 0xc004f4d900) pkg/tcpip/link/ethernet/ethernet.go:82 +0x1bb fp=0xc00bea8c20 sp=0xc00bea8bb0 pc=0xf9ba5b gvisor.dev/gvisor/pkg/tcpip/link/loopback.(*endpoint).WriteRawPacket(0xc0019ba730, 0xc004f4d7c0, 0x0, 0x0) pkg/tcpip/link/loopback/loopback.go:125 +0x128 fp=0xc00bea8c90 sp=0xc00bea8c20 pc=0xf9c628 gvisor.dev/gvisor/pkg/tcpip/link/loopback.(*endpoint).WritePackets(0xc0019ba730, 0xc004f4d7c0, 0xc004f4d7c0, 0x0, 0x0, 0xc000000800) pkg/tcpip/link/loopback/loopback.go:91 +0x90 fp=0xc00bea8cd0 sp=0xc00bea8c90 pc=0xf9c450 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(0xc00197bb30, 0xc004f4d7c0, 0xc004f4d7c0, 0x0, 0xc000ac4d00, 0x14864c8) pkg/tcpip/link/ethernet/ethernet.go:108 +0x10b fp=0xc00bea8d30 sp=0xc00bea8cd0 pc=0xf9bc6b gvisor.dev/gvisor/pkg/tcpip/stack.(*delegatingQueueingDiscipline).WritePacket(0xc0019ba740, 0xc004f4d7c0, 0x0, 0xc004f4d7c0) pkg/tcpip/stack/nic.go:166 +0x75 fp=0xc00bea8d80 sp=0xc00bea8d30 pc=0x9de235 gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).writePacket(0xc003f35680, 0xc004f4d7c0, 0xc00bb2ccb8, 0x4) pkg/tcpip/stack/nic.go:448 +0xbb fp=0xc00bea8dc8 sp=0xc00bea8d80 pc=0x9dfafb gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).WritePacket(0xc003f35680, 0xc003e77180, 0xc004f4d7c0, 0x0, 0x0) pkg/tcpip/stack/nic.go:407 +0x229 fp=0xc00bea8f08 sp=0xc00bea8dc8 pc=0x9df8a9 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).writePacketPostRouting.func1(0xc004f4d7c0, 0xc00bd15396, 0x14) pkg/tcpip/network/ipv4/ipv4.go:594 +0x52 fp=0xc00bea8f40 sp=0xc00bea8f08 pc=0xc091b2 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).handleFragments(0xc004ea1500, 0xc003e77180, 0xc00000ffde, 0xc004cf4280, 0xc00bea90e0, 0x142a62a, 0x2, 0x1, 0x0) pkg/tcpip/network/ipv4/ipv4.go:476 +0x166 fp=0xc00bea9070 sp=0xc00bea8f40 pc=0xc000c6 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).writePacketPostRouting(0xc004ea1500, 0xc003e77180, 0xc004cf4280, 0xc00bb2cc00, 0x4, 0xc00bd15301) pkg/tcpip/network/ipv4/ipv4.go:588 +0x332 fp=0xc00bea92b8 sp=0xc00bea9070 pc=0xc009b2 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).writePacket(0xc004ea1500, 0xc003e77180, 0xc004cf4280, 0xc00bb2ccb8, 0x4) pkg/tcpip/network/ipv4/ipv4.go:538 +0x205 fp=0xc00bea9340 sp=0xc00bea92b8 pc=0xc00585 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).WritePacket(0xc004ea1500, 0xc003e77180, 0x4000000001, 0xc004cf4280, 0x9e48d7, 0x15ea788) pkg/tcpip/network/ipv4/ipv4.go:500 +0x11b fp=0xc00bea93b0 sp=0xc00bea9340 pc=0xc0033b gvisor.dev/gvisor/pkg/tcpip/stack.(*Route).WritePacket(0xc003e77180, 0x4000000001, 0xc004cf4280, 0xc0027a34c0, 0xc004cf4280) pkg/tcpip/stack/route.go:572 +0xd7 fp=0xc00bea93f0 sp=0xc00bea93b0 pc=0x9ec517 gvisor.dev/gvisor/pkg/tcpip/transport/internal/network.(*WriteContext).WritePacket(0xc0027a34d8, 0xc004cf4280, 0x0, 0x1, 0xffe0) pkg/tcpip/transport/internal/network/endpoint.go:295 +0xd6 fp=0xc00bea9428 sp=0xc00bea93f0 pc=0xba16b6 gvisor.dev/gvisor/pkg/tcpip/transport/raw.(*endpoint).write(0xc00b0a6580, 0x15dbda8, 0xc00bb1b9f0, 0xc00b3758c0, 0x0, 0x0, 0x0, 0x0) pkg/tcpip/transport/raw/endpoint.go:392 +0x53b fp=0xc00bea95d8 sp=0xc00bea9428 pc=0xbaeb5b gvisor.dev/gvisor/pkg/tcpip/transport/raw.(*endpoint).Write(0xc00b0a6580, 0x15dbda8, 0xc00bb1b9f0, 0xc00b3758c0, 0xc00b000000, 0x4, 0x0, 0xa80002) pkg/tcpip/transport/raw/endpoint.go:323 +0xc5 fp=0xc00bea9628 sp=0xc00bea95d8 pc=0xbae2c5 gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*socketOpsCommon).SendMsg(0xc00bd25490, 0xc00ba6ea80, 0x15f5780, 0xc00ba42000, 0x0, 0x1, 0x20000040, 0xffe0, 0x100, 0xc00bb2ccc0, ...) pkg/sentry/socket/netstack/netstack.go:3915 +0x243 fp=0xc00bea9788 sp=0xc00bea9628 pc=0xc4df23 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.sendSingleMsg(0xc00ba6ea80, 0x3fd03b0e28d8, 0xc00bd25420, 0xc00bd25420, 0x20001440, 0xc000000040, 0x0, 0xc00ba6ea01, 0x5582d8821038) pkg/sentry/syscalls/linux/vfs2/socket.go:1437 +0x555 fp=0xc00bea9ae8 sp=0xc00bea9788 pc=0xf76015 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.SendMMsg(0xc00ba6ea80, 0x87, 0x20001440, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/socket.go:1329 +0x37f fp=0xc00bea9bb8 sp=0xc00bea9ae8 pc=0xf7563f gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00ba6ea80, 0x133, 0x87, 0x20001440, 0x1, 0x0, 0x0, 0x0, 0xc000001fa0, 0x1425720, ...) pkg/sentry/kernel/task_syscall.go:115 +0x199 fp=0xc00bea9c78 sp=0xc00bea9bb8 pc=0xa83359 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00ba6ea80, 0x133, 0x87, 0x20001440, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:290 +0x70 fp=0xc00bea9d00 sp=0xc00bea9c78 pc=0xa84630 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc00ba6ea80, 0x133, 0x87, 0x20001440, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:237 +0xb4 fp=0xc00bea9d60 sp=0xc00bea9d00 pc=0xa84114 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00ba6ea80, 0x2, 0xc00ba6ea80) pkg/sentry/kernel/task_syscall.go:204 +0x198 fp=0xc00bea9e30 sp=0xc00bea9d60 pc=0xa839f8 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc00ba6ea80, 0x15cdfa0, 0x0) pkg/sentry/kernel/task_run.go:294 +0xd9a fp=0xc00bea9f68 sp=0xc00bea9e30 pc=0xa7691a gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00ba6ea80, 0x1834) pkg/sentry/kernel/task_run.go:98 +0x1b9 fp=0xc00bea9fd0 sp=0xc00bea9f68 pc=0xa756d9 runtime.goexit() src/runtime/asm_amd64.s:1371 +0x1 fp=0xc00bea9fd8 sp=0xc00bea9fd0 pc=0x472861 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:398 +0x116