panic: unknown network protocol number 0 goroutine 558268 [running]: panic(0x120e500, 0xc00455df50) GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc0055687b0 sp=0xc0055686e8 pc=0x437c65 gvisor.dev/gvisor/pkg/tcpip/stack.(*PacketBuffer).Network(0xc0051b4b40, 0xc0171f1170, 0xed9727772) pkg/tcpip/stack/packet_buffer.go:421 +0x1c7 fp=0xc005568808 sp=0xc0055687b0 pc=0x9e2727 gvisor.dev/gvisor/pkg/tcpip/transport/raw.(*endpoint).HandlePacket.func1(0xc005070b00, 0xc0051b4b40, 0xc0051b4b00) pkg/tcpip/transport/raw/endpoint.go:688 +0x348 fp=0xc005569e10 sp=0xc005568808 pc=0xbb01c8 gvisor.dev/gvisor/pkg/tcpip/transport/raw.(*endpoint).HandlePacket(0xc005070b00, 0xc0051b4b40) pkg/tcpip/transport/raw/endpoint.go:818 +0x3f fp=0xc005569e38 sp=0xc005569e10 pc=0xbacdff gvisor.dev/gvisor/pkg/tcpip/stack.(*transportDemuxer).deliverRawPacket(0xc00090e468, 0x1, 0xc0050fe140, 0x8) pkg/tcpip/stack/transport_demuxer.go:771 +0x1a3 fp=0xc005569ef0 sp=0xc005569e38 pc=0x9fa083 gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).DeliverRawPacket(0xc00000a1e0, 0xc000000001, 0xc0050fe140) pkg/tcpip/stack/nic.go:1126 +0x65 fp=0xc005569f28 sp=0xc005569ef0 pc=0x9dfae5 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).handleValidatedPacket(0xc0000f4700, 0xc0050ac086, 0x14, 0x14, 0xc0051b4a00, 0x1425eea, 0x2) pkg/tcpip/network/ipv4/ipv4.go:1143 +0xf82 fp=0xc00556a6f0 sp=0xc005569f28 pc=0xc00c82 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).HandlePacket(0xc0000f4700, 0xc0051b4a00) pkg/tcpip/network/ipv4/ipv4.go:928 +0x1a5 fp=0xc00556a950 sp=0xc00556a6f0 pc=0xbff685 gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).DeliverNetworkPacket(0xc00000a1e0, 0xc004ac6998, 0x6, 0xc004ac69a0, 0x6, 0x800, 0xc0051b4a00) pkg/tcpip/stack/nic.go:941 +0x3ae fp=0xc00556aa08 sp=0xc00556a950 pc=0x9dec2e gvisor.dev/gvisor/pkg/tcpip/link/nested.(*Endpoint).DeliverNetworkPacket(0xc000700870, 0xc004ac6998, 0x6, 0xc004ac69a0, 0x6, 0x800, 0xc0051b4a00) pkg/tcpip/link/nested/nested.go:63 +0x104 fp=0xc00556aa68 sp=0xc00556aa08 pc=0xcb4ae4 gvisor.dev/gvisor/pkg/tcpip/link/ethernet.(*Endpoint).DeliverNetworkPacket(0xc000700870, 0x0, 0x0, 0x0, 0x0, 0x800, 0xc0051b4a00) pkg/tcpip/link/ethernet/ethernet.go:82 +0x1bb fp=0xc00556aad8 sp=0xc00556aa68 pc=0xf98dfb gvisor.dev/gvisor/pkg/tcpip/link/loopback.(*endpoint).WriteRawPacket(0xc00063ec80, 0xc0050fe000, 0x0, 0x0) pkg/tcpip/link/loopback/loopback.go:125 +0x128 fp=0xc00556ab48 sp=0xc00556aad8 pc=0xf99a88 gvisor.dev/gvisor/pkg/tcpip/link/loopback.(*endpoint).WritePackets(0xc00063ec80, 0xc004f2a058, 0x4, 0xc004f2a058, 0x4, 0x15ae7c0, 0x6, 0x0, 0x0, 0x100000800, ...) pkg/tcpip/link/loopback/loopback.go:91 +0x94 fp=0xc00556ab88 sp=0xc00556ab48 pc=0xf99894 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(0xc000700870, 0xc004f2a058, 0x4, 0xc004f2a058, 0x4, 0x15ae7c0, 0x6, 0x0, 0x0, 0x100000800, ...) pkg/tcpip/link/ethernet/ethernet.go:108 +0x1ab fp=0xc00556ac98 sp=0xc00556ab88 pc=0xf990ab gvisor.dev/gvisor/pkg/tcpip/stack.(*delegatingQueueingDiscipline).WritePacket(0xc00063ec90, 0xc004f2a058, 0x4, 0xc004f2a058, 0x4, 0x15ae7c0, 0x6, 0x0, 0x0, 0x100000800, ...) pkg/tcpip/stack/nic.go:166 +0xd0 fp=0xc00556ad48 sp=0xc00556ac98 pc=0x9db130 gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).writePacket(0xc00000a1e0, 0xc004f2a058, 0x4, 0xc004f2a058, 0x4, 0x15ae7c0, 0x6, 0x0, 0x0, 0x100000800, ...) pkg/tcpip/stack/nic.go:451 +0x158 fp=0xc00556ade0 sp=0xc00556ad48 pc=0x9dcab8 gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).WritePacket(0xc00000a1e0, 0xc00509a000, 0x800, 0xc0050fe000, 0x0, 0x0) pkg/tcpip/stack/nic.go:406 +0x230 fp=0xc00556af20 sp=0xc00556ade0 pc=0x9dc7d0 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).writePacketPostRouting.func1(0xc0050fe000, 0xc0050ac036, 0x14) pkg/tcpip/network/ipv4/ipv4.go:592 +0x5a fp=0xc00556af60 sp=0xc00556af20 pc=0xc062ba gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).handleFragments(0xc0000f4700, 0xc00509a000, 0xc00000ffde, 0xc0051b4140, 0xc00556b0e0, 0x1425eea, 0x2, 0x1, 0x0) pkg/tcpip/network/ipv4/ipv4.go:476 +0x15e fp=0xc00556b070 sp=0xc00556af60 pc=0xbfd21e gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).writePacketPostRouting(0xc0000f4700, 0xc00509a000, 0xc0051b4140, 0xc004f2a000, 0x4, 0xc0050ac001) pkg/tcpip/network/ipv4/ipv4.go:586 +0x332 fp=0xc00556b2b8 sp=0xc00556b070 pc=0xbfdab2 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).writePacket(0xc0000f4700, 0xc00509a000, 0xc0051b4140, 0xc004f2a058, 0x4) pkg/tcpip/network/ipv4/ipv4.go:536 +0x205 fp=0xc00556b340 sp=0xc00556b2b8 pc=0xbfd685 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).WritePacket(0xc0000f4700, 0xc00509a000, 0x4000000001, 0xc0051b4140, 0x9e18d7, 0x15e5fe8) pkg/tcpip/network/ipv4/ipv4.go:498 +0x11b fp=0xc00556b3b0 sp=0xc00556b340 pc=0xbfd43b gvisor.dev/gvisor/pkg/tcpip/stack.(*Route).WritePacket(0xc00509a000, 0x4000000001, 0xc0051b4140, 0xc001fc54c0, 0xc0051b4140) pkg/tcpip/stack/route.go:572 +0xd7 fp=0xc00556b3f0 sp=0xc00556b3b0 pc=0x9e94f7 gvisor.dev/gvisor/pkg/tcpip/transport/internal/network.(*WriteContext).WritePacket(0xc001fc54d8, 0xc0051b4140, 0x0, 0x1, 0xffe0) pkg/tcpip/transport/internal/network/endpoint.go:295 +0xd6 fp=0xc00556b428 sp=0xc00556b3f0 pc=0xb9e916 gvisor.dev/gvisor/pkg/tcpip/transport/raw.(*endpoint).write(0xc005070840, 0x15d76a0, 0xc01619b130, 0xc004f26060, 0x0, 0x0, 0x0, 0x0) pkg/tcpip/transport/raw/endpoint.go:392 +0x53b fp=0xc00556b5d8 sp=0xc00556b428 pc=0xbabdbb gvisor.dev/gvisor/pkg/tcpip/transport/raw.(*endpoint).Write(0xc005070840, 0x15d76a0, 0xc01619b130, 0xc004f26060, 0xc004000000, 0x4, 0x0, 0xa80002) pkg/tcpip/transport/raw/endpoint.go:323 +0xc5 fp=0xc00556b628 sp=0xc00556b5d8 pc=0xbab525 gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*socketOpsCommon).SendMsg(0xc005464070, 0xc008dbd500, 0x15f1060, 0xc006803000, 0x0, 0x1, 0x20000040, 0xffe0, 0x100, 0xc004f2a060, ...) pkg/sentry/socket/netstack/netstack.go:3915 +0x243 fp=0xc00556b788 sp=0xc00556b628 pc=0xc4b043 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.sendSingleMsg(0xc008dbd500, 0x3f96a5a764d8, 0xc005464000, 0xc005464000, 0x20001440, 0xc000000040, 0x0, 0xc008dbd501, 0x560d97db3f68) pkg/sentry/syscalls/linux/vfs2/socket.go:1437 +0x555 fp=0xc00556bae8 sp=0xc00556b788 pc=0xf733b5 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.SendMMsg(0xc008dbd500, 0x4, 0x20001440, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/socket.go:1329 +0x37f fp=0xc00556bbb8 sp=0xc00556bae8 pc=0xf729df gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc008dbd500, 0x133, 0x4, 0x20001440, 0x1, 0x0, 0x0, 0x0, 0xc000001fa0, 0x1420fe0, ...) pkg/sentry/kernel/task_syscall.go:115 +0x199 fp=0xc00556bc78 sp=0xc00556bbb8 pc=0xa80619 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc008dbd500, 0x133, 0x4, 0x20001440, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:290 +0x70 fp=0xc00556bd00 sp=0xc00556bc78 pc=0xa818f0 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc008dbd500, 0x133, 0x4, 0x20001440, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:237 +0xb4 fp=0xc00556bd60 sp=0xc00556bd00 pc=0xa813d4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc008dbd500, 0x2, 0xc008dbd500) pkg/sentry/kernel/task_syscall.go:204 +0x198 fp=0xc00556be30 sp=0xc00556bd60 pc=0xa80cb8 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc008dbd500, 0x15c9900, 0x0) pkg/sentry/kernel/task_run.go:327 +0xe5f fp=0xc00556bf68 sp=0xc00556be30 pc=0xa73bdf gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc008dbd500, 0x43fb) pkg/sentry/kernel/task_run.go:100 +0x1b9 fp=0xc00556bfd0 sp=0xc00556bf68 pc=0xa72619 runtime.goexit() src/runtime/asm_amd64.s:1371 +0x1 fp=0xc00556bfd8 sp=0xc00556bfd0 pc=0x472861 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:396 +0x116