panic: unknown network protocol number 0 goroutine 125525 [running]: panic(0x1211a00, 0xc0892260f0) GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc000a8c7b0 sp=0xc000a8c6e8 pc=0x437c65 gvisor.dev/gvisor/pkg/tcpip/stack.(*PacketBuffer).Network(0xc000f22280, 0xc000ec1a70, 0xed9736108) pkg/tcpip/stack/packet_buffer.go:421 +0x1c7 fp=0xc000a8c808 sp=0xc000a8c7b0 pc=0x9e5807 gvisor.dev/gvisor/pkg/tcpip/transport/raw.(*endpoint).HandlePacket.func1(0xc0003582c0, 0xc000f22280, 0xc000f22200) pkg/tcpip/transport/raw/endpoint.go:688 +0x348 fp=0xc000a8de10 sp=0xc000a8c808 pc=0xbb30a8 gvisor.dev/gvisor/pkg/tcpip/transport/raw.(*endpoint).HandlePacket(0xc0003582c0, 0xc000f22280) pkg/tcpip/transport/raw/endpoint.go:818 +0x3f fp=0xc000a8de38 sp=0xc000a8de10 pc=0xbafcdf gvisor.dev/gvisor/pkg/tcpip/stack.(*transportDemuxer).deliverRawPacket(0xc0009b8b28, 0x1, 0xc00260a8c0, 0x8) pkg/tcpip/stack/transport_demuxer.go:771 +0x1a3 fp=0xc000a8def0 sp=0xc000a8de38 pc=0x9fd163 gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).DeliverRawPacket(0xc00000a1e0, 0xc000000001, 0xc00260a8c0) pkg/tcpip/stack/nic.go:1126 +0x65 fp=0xc000a8df28 sp=0xc000a8def0 pc=0x9e2bc5 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).handleValidatedPacket(0xc000496a00, 0xc0006d0176, 0x14, 0x14, 0xc000f22140, 0x142a80a, 0x2) pkg/tcpip/network/ipv4/ipv4.go:1143 +0xf82 fp=0xc000a8e6f0 sp=0xc000a8df28 pc=0xc03b62 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).HandlePacket(0xc000496a00, 0xc000f22140) pkg/tcpip/network/ipv4/ipv4.go:928 +0x1a5 fp=0xc000a8e950 sp=0xc000a8e6f0 pc=0xc02565 gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).DeliverNetworkPacket(0xc00000a1e0, 0xc005c380f6, 0x6, 0xc005c38100, 0x6, 0x800, 0xc000f22140) pkg/tcpip/stack/nic.go:941 +0x3ae fp=0xc000a8ea08 sp=0xc000a8e950 pc=0x9e1d0e gvisor.dev/gvisor/pkg/tcpip/link/nested.(*Endpoint).DeliverNetworkPacket(0xc000666910, 0xc005c380f6, 0x6, 0xc005c38100, 0x6, 0x800, 0xc000f22140) pkg/tcpip/link/nested/nested.go:63 +0x104 fp=0xc000a8ea68 sp=0xc000a8ea08 pc=0xcb79c4 gvisor.dev/gvisor/pkg/tcpip/link/ethernet.(*Endpoint).DeliverNetworkPacket(0xc000666910, 0x0, 0x0, 0x0, 0x0, 0x800, 0xc000f22140) pkg/tcpip/link/ethernet/ethernet.go:82 +0x1bb fp=0xc000a8ead8 sp=0xc000a8ea68 pc=0xf9bb7b gvisor.dev/gvisor/pkg/tcpip/link/loopback.(*endpoint).WriteRawPacket(0xc0007da190, 0xc00260a780, 0x0, 0x0) pkg/tcpip/link/loopback/loopback.go:125 +0x128 fp=0xc000a8eb48 sp=0xc000a8ead8 pc=0xf9c808 gvisor.dev/gvisor/pkg/tcpip/link/loopback.(*endpoint).WritePackets(0xc0007da190, 0xc0069f21fc, 0x4, 0xc0069f21fc, 0x4, 0x15b3040, 0x6, 0x0, 0x0, 0x100000800, ...) pkg/tcpip/link/loopback/loopback.go:91 +0x94 fp=0xc000a8eb88 sp=0xc000a8eb48 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(0xc000666910, 0xc0069f21fc, 0x4, 0xc0069f21fc, 0x4, 0x15b3040, 0x6, 0x0, 0x0, 0x100000800, ...) pkg/tcpip/link/ethernet/ethernet.go:108 +0x1ab fp=0xc000a8ec98 sp=0xc000a8eb88 pc=0xf9be2b gvisor.dev/gvisor/pkg/tcpip/stack.(*delegatingQueueingDiscipline).WritePacket(0xc0007da1a0, 0xc0069f21fc, 0x4, 0xc0069f21fc, 0x4, 0x15b3040, 0x6, 0x0, 0x0, 0x100000800, ...) pkg/tcpip/stack/nic.go:166 +0xd0 fp=0xc000a8ed48 sp=0xc000a8ec98 pc=0x9de210 gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).writePacket(0xc00000a1e0, 0xc0069f21fc, 0x4, 0xc0069f21fc, 0x4, 0x15b3040, 0x6, 0x0, 0x0, 0x100000800, ...) pkg/tcpip/stack/nic.go:451 +0x158 fp=0xc000a8ede0 sp=0xc000a8ed48 pc=0x9dfb98 gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).WritePacket(0xc00000a1e0, 0xc000240f00, 0x800, 0xc00260a780, 0x0, 0x0) pkg/tcpip/stack/nic.go:406 +0x230 fp=0xc000a8ef20 sp=0xc000a8ede0 pc=0x9df8b0 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).writePacketPostRouting.func1(0xc00260a780, 0xc0006d0126, 0x14) pkg/tcpip/network/ipv4/ipv4.go:592 +0x5a fp=0xc000a8ef60 sp=0xc000a8ef20 pc=0xc0919a gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).handleFragments(0xc000496a00, 0xc000240f00, 0xc00000ffde, 0xc00260a640, 0xc000a8f0e0, 0x142a80a, 0x2, 0x1, 0x0) pkg/tcpip/network/ipv4/ipv4.go:476 +0x15e fp=0xc000a8f070 sp=0xc000a8ef60 pc=0xc000fe gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).writePacketPostRouting(0xc000496a00, 0xc000240f00, 0xc00260a640, 0xc0069f2200, 0x4, 0xc0006d0101) pkg/tcpip/network/ipv4/ipv4.go:586 +0x332 fp=0xc000a8f2b8 sp=0xc000a8f070 pc=0xc00992 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).writePacket(0xc000496a00, 0xc000240f00, 0xc00260a640, 0xc0069f21fc, 0x4) pkg/tcpip/network/ipv4/ipv4.go:536 +0x205 fp=0xc000a8f340 sp=0xc000a8f2b8 pc=0xc00565 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).WritePacket(0xc000496a00, 0xc000240f00, 0x4000000001, 0xc00260a640, 0x9e49b7, 0x15ea9a8) pkg/tcpip/network/ipv4/ipv4.go:498 +0x11b fp=0xc000a8f3b0 sp=0xc000a8f340 pc=0xc0031b gvisor.dev/gvisor/pkg/tcpip/stack.(*Route).WritePacket(0xc000240f00, 0x4000000001, 0xc00260a640, 0xc08c3cf4c0, 0xc00260a640) pkg/tcpip/stack/route.go:572 +0xd7 fp=0xc000a8f3f0 sp=0xc000a8f3b0 pc=0x9ec5d7 gvisor.dev/gvisor/pkg/tcpip/transport/internal/network.(*WriteContext).WritePacket(0xc08c3cf4d8, 0xc00260a640, 0x0, 0x1, 0xffe0) pkg/tcpip/transport/internal/network/endpoint.go:295 +0xd6 fp=0xc000a8f428 sp=0xc000a8f3f0 pc=0xba17f6 gvisor.dev/gvisor/pkg/tcpip/transport/raw.(*endpoint).write(0xc0003582c0, 0x15dbfc8, 0xc0066aa460, 0xc0046b6040, 0x0, 0x0, 0x0, 0x0) pkg/tcpip/transport/raw/endpoint.go:392 +0x53b fp=0xc000a8f5d8 sp=0xc000a8f428 pc=0xbaec9b gvisor.dev/gvisor/pkg/tcpip/transport/raw.(*endpoint).Write(0xc0003582c0, 0x15dbfc8, 0xc0066aa460, 0xc0046b6040, 0xc006000000, 0x4, 0x0, 0xa80002) pkg/tcpip/transport/raw/endpoint.go:323 +0xc5 fp=0xc000a8f628 sp=0xc000a8f5d8 pc=0xbae405 gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*socketOpsCommon).SendMsg(0xc0998ce150, 0xc089cfc000, 0x15f59a0, 0xc001e0b000, 0x0, 0x1, 0x20000040, 0xffe0, 0x100, 0xc0069f2200, ...) pkg/sentry/socket/netstack/netstack.go:3915 +0x243 fp=0xc000a8f788 sp=0xc000a8f628 pc=0xc4df23 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.sendSingleMsg(0xc089cfc000, 0x3f84cacb0058, 0xc0998ce0e0, 0xc0998ce0e0, 0x20001440, 0x40, 0x0, 0x0, 0x0) pkg/sentry/syscalls/linux/vfs2/socket.go:1437 +0x555 fp=0xc000a8fae8 sp=0xc000a8f788 pc=0xf76135 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.SendMMsg(0xc089cfc000, 0x4, 0x20001440, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/socket.go:1329 +0x37f fp=0xc000a8fbb8 sp=0xc000a8fae8 pc=0xf7575f gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc089cfc000, 0x133, 0x4, 0x20001440, 0x1, 0x0, 0x0, 0x0, 0xc000001fa0, 0x1425900, ...) pkg/sentry/kernel/task_syscall.go:115 +0x199 fp=0xc000a8fc78 sp=0xc000a8fbb8 pc=0xa83479 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc089cfc000, 0x133, 0x4, 0x20001440, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:290 +0x70 fp=0xc000a8fd00 sp=0xc000a8fc78 pc=0xa84750 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc089cfc000, 0x133, 0x4, 0x20001440, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:237 +0xb4 fp=0xc000a8fd60 sp=0xc000a8fd00 pc=0xa84234 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc089cfc000, 0x2, 0xc089cfc000) pkg/sentry/kernel/task_syscall.go:204 +0x198 fp=0xc000a8fe30 sp=0xc000a8fd60 pc=0xa83b18 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc089cfc000, 0x15ce1c0, 0x0) pkg/sentry/kernel/task_run.go:294 +0xd9a fp=0xc000a8ff68 sp=0xc000a8fe30 pc=0xa76a3a gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc089cfc000, 0x10e4) pkg/sentry/kernel/task_run.go:98 +0x1b9 fp=0xc000a8ffd0 sp=0xc000a8ff68 pc=0xa757f9 runtime.goexit() src/runtime/asm_amd64.s:1371 +0x1 fp=0xc000a8ffd8 sp=0xc000a8ffd0 pc=0x472861 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:398 +0x116