panic: unknown network protocol number 0 goroutine 5878 [running]: panic(0x10f8480, 0xc000170570) GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc000c7a740 sp=0xc000c7a678 pc=0x437c65 gvisor.dev/gvisor/pkg/tcpip/stack.(*PacketBuffer).Network(0xc000bb0dc0, 0x0, 0x0) pkg/tcpip/stack/packet_buffer.go:371 +0x177 fp=0xc000c7a798 sp=0xc000c7a740 pc=0x9647d7 gvisor.dev/gvisor/pkg/tcpip/transport/raw.(*endpoint).HandlePacket.func1(0xc0019fb080, 0xc000bb0dc0, 0xc000bb0d00) pkg/tcpip/transport/raw/endpoint.go:558 +0x23e fp=0xc000c7bda0 sp=0xc000c7a798 pc=0xafe0be gvisor.dev/gvisor/pkg/tcpip/transport/raw.(*endpoint).HandlePacket(0xc0019fb080, 0xc000bb0dc0) pkg/tcpip/transport/raw/endpoint.go:665 +0x35 fp=0xc000c7bdc8 sp=0xc000c7bda0 pc=0xafb895 gvisor.dev/gvisor/pkg/tcpip/stack.(*transportDemuxer).deliverRawPacket(0xc000d49d28, 0x1, 0xc000bb0a00, 0x8) pkg/tcpip/stack/transport_demuxer.go:623 +0x13b fp=0xc000c7be80 sp=0xc000c7bdc8 pc=0x978c1b gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).DeliverRawPacket(0xc000f2c000, 0xc000000001, 0xc000bb0a00) pkg/tcpip/stack/nic.go:925 +0x4e fp=0xc000c7beb8 sp=0xc000c7be80 pc=0x96242e gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).handleValidatedPacket(0xc000391500, 0xc0002a4c66, 0x14, 0x14, 0xc000bb0c80, 0x130f9ca, 0x2) pkg/tcpip/network/ipv4/ipv4.go:944 +0x846 fp=0xc000c7c680 sp=0xc000c7beb8 pc=0xb40b26 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).HandlePacket(0xc000391500, 0xc000bb0c80) pkg/tcpip/network/ipv4/ipv4.go:773 +0x169 fp=0xc000c7c8e0 sp=0xc000c7c680 pc=0xb3fcc9 gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).DeliverNetworkPacket(0xc000f2c000, 0xc0009085b0, 0x6, 0xc0009085b6, 0x6, 0xc000000800, 0xc000bb0c80) pkg/tcpip/stack/nic.go:778 +0x2d0 fp=0xc000c7c998 sp=0xc000c7c8e0 pc=0x961750 gvisor.dev/gvisor/pkg/tcpip/link/nested.(*Endpoint).DeliverNetworkPacket(0xc0002af810, 0xc0009085b0, 0x6, 0xc0009085b6, 0x6, 0x800, 0xc000bb0c80) pkg/tcpip/link/nested/nested.go:59 +0xbe fp=0xc000c7c9f0 sp=0xc000c7c998 pc=0xbe47be gvisor.dev/gvisor/pkg/tcpip/link/ethernet.(*Endpoint).DeliverNetworkPacket(0xc0002af810, 0x0, 0x0, 0x0, 0x0, 0x800, 0xc000bb0c80) pkg/tcpip/link/ethernet/ethernet.go:71 +0x15f fp=0xc000c7ca60 sp=0xc000c7c9f0 pc=0xe9501f gvisor.dev/gvisor/pkg/tcpip/link/loopback.(*endpoint).WriteRawPacket(0xc0004c00b0, 0xc000bb0b40, 0x0, 0x0) pkg/tcpip/link/loopback/loopback.go:109 +0xfa fp=0xc000c7cad0 sp=0xc000c7ca60 pc=0xe95a5a gvisor.dev/gvisor/pkg/tcpip/link/loopback.(*endpoint).WritePackets(0xc0004c00b0, 0xc000908520, 0x4, 0xc000908520, 0x4, 0x146a5d8, 0x6, 0x0, 0x0, 0x100000800, ...) pkg/tcpip/link/loopback/loopback.go:81 +0x65 fp=0xc000c7cb10 sp=0xc000c7cad0 pc=0xe958a5 gvisor.dev/gvisor/pkg/tcpip/link/nested.(*Endpoint).WritePackets(...) pkg/tcpip/link/nested/nested.go:107 gvisor.dev/gvisor/pkg/tcpip/link/ethernet.(*Endpoint).WritePackets(0xc0002af810, 0xc000908520, 0x4, 0xc000908520, 0x4, 0x146a5d8, 0x6, 0x0, 0x0, 0x100000800, ...) pkg/tcpip/link/ethernet/ethernet.go:91 +0x18a fp=0xc000c7cc20 sp=0xc000c7cb10 pc=0xe9528a gvisor.dev/gvisor/pkg/tcpip/stack.(*delegatingQueueingDiscipline).WritePacket(0xc0004c00c0, 0xc000908520, 0x4, 0xc000908520, 0x4, 0x146a5d8, 0x6, 0x0, 0x0, 0x100000800, ...) pkg/tcpip/stack/nic.go:152 +0xca fp=0xc000c7ccc0 sp=0xc000c7cc20 pc=0x95e2ca gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).writePacket(0xc000f2c000, 0xc000908520, 0x4, 0xc000908520, 0x4, 0x146a5d8, 0x6, 0x0, 0x0, 0x100000800, ...) pkg/tcpip/stack/nic.go:395 +0x136 fp=0xc000c7cd58 sp=0xc000c7ccc0 pc=0x95f9f6 gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).WritePacket(0xc000f2c000, 0xc000b2a1e0, 0x800, 0xc000bb0b40, 0x0, 0x0) pkg/tcpip/stack/nic.go:354 +0x210 fp=0xc000c7ce98 sp=0xc000c7cd58 pc=0x95f750 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).writePacketPostRouting.func1(0xc000bb0b40, 0xc0002a4c16, 0x14) pkg/tcpip/network/ipv4/ipv4.go:502 +0x50 fp=0xc000c7ced8 sp=0xc000c7ce98 pc=0xb458d0 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).handleFragments(0xc000391500, 0xc000b2a1e0, 0xc00000ffde, 0xc000bb03c0, 0xc000c7d038, 0x130f9ca, 0x2, 0xc000170401, 0x2) pkg/tcpip/network/ipv4/ipv4.go:411 +0x134 fp=0xc000c7cfe8 sp=0xc000c7ced8 pc=0xb3dd74 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).writePacketPostRouting(0xc000391500, 0xc000b2a1e0, 0xc000bb03c0, 0xc000908500, 0x4, 0xc0002a4c01) pkg/tcpip/network/ipv4/ipv4.go:497 +0x26f fp=0xc000c7d210 sp=0xc000c7cfe8 pc=0xb3e46f gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).writePacket(0xc000391500, 0xc000b2a1e0, 0xc000bb03c0, 0xc000908520, 0x4) pkg/tcpip/network/ipv4/ipv4.go:459 +0x1a5 fp=0xc000c7d298 sp=0xc000c7d210 pc=0xb3e105 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).WritePacket(0xc000391500, 0xc000b2a1e0, 0x4000000001, 0xc000bb03c0, 0x963b2d, 0x14a17e8) pkg/tcpip/network/ipv4/ipv4.go:427 +0xe9 fp=0xc000c7d308 sp=0xc000c7d298 pc=0xb3df29 gvisor.dev/gvisor/pkg/tcpip/stack.(*Route).WritePacket(0xc000b2a1e0, 0x4000000001, 0xc000bb03c0, 0xc001741418, 0xc000bb03c0) pkg/tcpip/stack/route.go:465 +0xad fp=0xc000c7d348 sp=0xc000c7d308 pc=0x969fed gvisor.dev/gvisor/pkg/tcpip/transport/internal/network.(*WriteContext).WritePacket(0xc001741430, 0xc000bb03c0, 0x0, 0x1, 0xffe0) pkg/tcpip/transport/internal/network/endpoint.go:262 +0xb0 fp=0xc000c7d380 sp=0xc000c7d348 pc=0xaefcd0 gvisor.dev/gvisor/pkg/tcpip/transport/raw.(*endpoint).write(0xc0019fb080, 0x1492ca0, 0xc000bc70e0, 0xc00082a540, 0x0, 0x0, 0x0, 0x0) pkg/tcpip/transport/raw/endpoint.go:329 +0x49b fp=0xc000c7d530 sp=0xc000c7d380 pc=0xafab7b gvisor.dev/gvisor/pkg/tcpip/transport/raw.(*endpoint).Write(0xc0019fb080, 0x1492ca0, 0xc000bc70e0, 0xc00082a540, 0xc000000000, 0x4, 0x0, 0x9f0002) pkg/tcpip/transport/raw/endpoint.go:276 +0x90 fp=0xc000c7d580 sp=0xc000c7d530 pc=0xafa4b0 gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*socketOpsCommon).SendMsg(0xc00037ea10, 0xc000c73500, 0x14ac8e0, 0xc0014d4000, 0x0, 0x1, 0x20000040, 0xffe0, 0x100, 0xc000908510, ...) pkg/sentry/socket/netstack/netstack.go:3051 +0x206 fp=0xc000c7d6e0 sp=0xc000c7d580 pc=0xb81966 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.sendSingleMsg(0xc000c73500, 0x7fd131f2c318, 0xc00037e9a0, 0xc00037e9a0, 0x20001440, 0xc000000040, 0x0, 0xc000c73501, 0x55eb841c2f68) pkg/sentry/syscalls/linux/vfs2/socket.go:1112 +0x4d5 fp=0xc000c7da40 sp=0xc000c7d6e0 pc=0xe72695 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.SendMMsg(0xc000c73500, 0x4, 0x20001440, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/socket.go:1036 +0x2a5 fp=0xc000c7db10 sp=0xc000c7da40 pc=0xe71dc5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc000c73500, 0x133, 0x4, 0x20001440, 0x1, 0x0, 0x0, 0x0, 0xc000001fa0, 0x130aac0, ...) pkg/sentry/kernel/task_syscall.go:103 +0x13c fp=0xc000c7dc70 sp=0xc000c7db10 pc=0x9edcdc gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc000c73500, 0x133, 0x4, 0x20001440, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:238 +0x66 fp=0xc000c7dcf8 sp=0xc000c7dc70 pc=0x9eee86 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc000c73500, 0x133, 0x4, 0x20001440, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:198 +0x98 fp=0xc000c7dd58 sp=0xc000c7dcf8 pc=0x9eea78 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc000c73500, 0x2, 0xc000c73500) pkg/sentry/kernel/task_syscall.go:173 +0x15c fp=0xc000c7de28 sp=0xc000c7dd58 pc=0x9ee41c gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc000c73500, 0x1484f00, 0x0) pkg/sentry/kernel/task_run.go:282 +0xccc fp=0xc000c7df68 sp=0xc000c7de28 pc=0x9e31cc gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc000c73500, 0xe6) pkg/sentry/kernel/task_run.go:97 +0x182 fp=0xc000c7dfd0 sp=0xc000c7df68 pc=0x9e1e02 runtime.goexit() src/runtime/asm_amd64.s:1371 +0x1 fp=0xc000c7dfd8 sp=0xc000c7dfd0 pc=0x472861 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:340 +0xfe