panic: unknown network protocol number 0 goroutine 153335 [running]: panic(0x120e500, 0xc009a86cc0) GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc00220a7b0 sp=0xc00220a6e8 pc=0x437c65 gvisor.dev/gvisor/pkg/tcpip/stack.(*PacketBuffer).Network(0xc00302c500, 0xc007f81710, 0xed9732896) pkg/tcpip/stack/packet_buffer.go:421 +0x1c7 fp=0xc00220a808 sp=0xc00220a7b0 pc=0x9e2727 gvisor.dev/gvisor/pkg/tcpip/transport/raw.(*endpoint).HandlePacket.func1(0xc00200d080, 0xc00302c500, 0xc00302c500) pkg/tcpip/transport/raw/endpoint.go:688 +0x348 fp=0xc00220be10 sp=0xc00220a808 pc=0xbb01c8 gvisor.dev/gvisor/pkg/tcpip/transport/raw.(*endpoint).HandlePacket(0xc00200d080, 0xc00302c500) pkg/tcpip/transport/raw/endpoint.go:818 +0x3f fp=0xc00220be38 sp=0xc00220be10 pc=0xbacdff gvisor.dev/gvisor/pkg/tcpip/stack.(*transportDemuxer).deliverRawPacket(0xc00000c408, 0x1, 0xc003024dc0, 0x8) pkg/tcpip/stack/transport_demuxer.go:771 +0x1a3 fp=0xc00220bef0 sp=0xc00220be38 pc=0x9fa083 gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).DeliverRawPacket(0xc00000a1e0, 0xc000000001, 0xc003024dc0) pkg/tcpip/stack/nic.go:1126 +0x65 fp=0xc00220bf28 sp=0xc00220bef0 pc=0x9dfae5 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).handleValidatedPacket(0xc00012d500, 0xc000d43396, 0x14, 0x14, 0xc00302c3c0, 0x1425eea, 0x2) pkg/tcpip/network/ipv4/ipv4.go:1143 +0xf82 fp=0xc00220c6f0 sp=0xc00220bf28 pc=0xc00c82 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).HandlePacket(0xc00012d500, 0xc00302c3c0) pkg/tcpip/network/ipv4/ipv4.go:928 +0x1a5 fp=0xc00220c950 sp=0xc00220c6f0 pc=0xbff685 gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).DeliverNetworkPacket(0xc00000a1e0, 0xc0097887f0, 0x6, 0xc0097887f6, 0x6, 0x800, 0xc00302c3c0) pkg/tcpip/stack/nic.go:941 +0x3ae fp=0xc00220ca08 sp=0xc00220c950 pc=0x9dec2e gvisor.dev/gvisor/pkg/tcpip/link/nested.(*Endpoint).DeliverNetworkPacket(0xc0009102d0, 0xc0097887f0, 0x6, 0xc0097887f6, 0x6, 0x800, 0xc00302c3c0) pkg/tcpip/link/nested/nested.go:63 +0x104 fp=0xc00220ca68 sp=0xc00220ca08 pc=0xcb4ae4 gvisor.dev/gvisor/pkg/tcpip/link/ethernet.(*Endpoint).DeliverNetworkPacket(0xc0009102d0, 0x0, 0x0, 0x0, 0x0, 0x800, 0xc00302c3c0) pkg/tcpip/link/ethernet/ethernet.go:82 +0x1bb fp=0xc00220cad8 sp=0xc00220ca68 pc=0xf98dfb gvisor.dev/gvisor/pkg/tcpip/link/loopback.(*endpoint).WriteRawPacket(0xc0008d2350, 0xc00302c280, 0x0, 0x0) pkg/tcpip/link/loopback/loopback.go:125 +0x128 fp=0xc00220cb48 sp=0xc00220cad8 pc=0xf99a88 gvisor.dev/gvisor/pkg/tcpip/link/loopback.(*endpoint).WritePackets(0xc0008d2350, 0xc009788770, 0x4, 0xc009788770, 0x4, 0x15ae7c0, 0x6, 0x0, 0x0, 0x100000800, ...) pkg/tcpip/link/loopback/loopback.go:91 +0x94 fp=0xc00220cb88 sp=0xc00220cb48 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(0xc0009102d0, 0xc009788770, 0x4, 0xc009788770, 0x4, 0x15ae7c0, 0x6, 0x0, 0x0, 0x100000800, ...) pkg/tcpip/link/ethernet/ethernet.go:108 +0x1ab fp=0xc00220cc98 sp=0xc00220cb88 pc=0xf990ab gvisor.dev/gvisor/pkg/tcpip/stack.(*delegatingQueueingDiscipline).WritePacket(0xc0008d2360, 0xc009788770, 0x4, 0xc009788770, 0x4, 0x15ae7c0, 0x6, 0x0, 0x0, 0x100000800, ...) pkg/tcpip/stack/nic.go:166 +0xd0 fp=0xc00220cd48 sp=0xc00220cc98 pc=0x9db130 gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).writePacket(0xc00000a1e0, 0xc009788770, 0x4, 0xc009788770, 0x4, 0x15ae7c0, 0x6, 0x0, 0x0, 0x100000800, ...) pkg/tcpip/stack/nic.go:451 +0x158 fp=0xc00220cde0 sp=0xc00220cd48 pc=0x9dcab8 gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).WritePacket(0xc00000a1e0, 0xc00168e3c0, 0x800, 0xc00302c280, 0x0, 0x0) pkg/tcpip/stack/nic.go:406 +0x230 fp=0xc00220cf20 sp=0xc00220cde0 pc=0x9dc7d0 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).writePacketPostRouting.func1(0xc00302c280, 0xc000d43346, 0x14) pkg/tcpip/network/ipv4/ipv4.go:592 +0x5a fp=0xc00220cf60 sp=0xc00220cf20 pc=0xc062ba gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).handleFragments(0xc00012d500, 0xc00168e3c0, 0xc00000ffde, 0xc00302c140, 0xc00220d0e0, 0x1425eea, 0x2, 0x1, 0x0) pkg/tcpip/network/ipv4/ipv4.go:476 +0x15e fp=0xc00220d070 sp=0xc00220cf60 pc=0xbfd21e gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).writePacketPostRouting(0xc00012d500, 0xc00168e3c0, 0xc00302c140, 0xc009788700, 0x4, 0xc000d43301) pkg/tcpip/network/ipv4/ipv4.go:586 +0x332 fp=0xc00220d2b8 sp=0xc00220d070 pc=0xbfdab2 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).writePacket(0xc00012d500, 0xc00168e3c0, 0xc00302c140, 0xc009788770, 0x4) pkg/tcpip/network/ipv4/ipv4.go:536 +0x205 fp=0xc00220d340 sp=0xc00220d2b8 pc=0xbfd685 gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).WritePacket(0xc00012d500, 0xc00168e3c0, 0x4000000001, 0xc00302c140, 0x9e18d7, 0x15e5fe8) pkg/tcpip/network/ipv4/ipv4.go:498 +0x11b fp=0xc00220d3b0 sp=0xc00220d340 pc=0xbfd43b gvisor.dev/gvisor/pkg/tcpip/stack.(*Route).WritePacket(0xc00168e3c0, 0x4000000001, 0xc00302c140, 0xc000cd54c0, 0xc00302c140) pkg/tcpip/stack/route.go:572 +0xd7 fp=0xc00220d3f0 sp=0xc00220d3b0 pc=0x9e94f7 gvisor.dev/gvisor/pkg/tcpip/transport/internal/network.(*WriteContext).WritePacket(0xc000cd54d8, 0xc00302c140, 0x0, 0x1, 0xffe0) pkg/tcpip/transport/internal/network/endpoint.go:295 +0xd6 fp=0xc00220d428 sp=0xc00220d3f0 pc=0xb9e916 gvisor.dev/gvisor/pkg/tcpip/transport/raw.(*endpoint).write(0xc00200cdc0, 0x15d76a0, 0xc001bc9d10, 0xc004cbac40, 0x0, 0x0, 0x0, 0x0) pkg/tcpip/transport/raw/endpoint.go:392 +0x53b fp=0xc00220d5d8 sp=0xc00220d428 pc=0xbabdbb gvisor.dev/gvisor/pkg/tcpip/transport/raw.(*endpoint).Write(0xc00200cdc0, 0x15d76a0, 0xc001bc9d10, 0xc004cbac40, 0xc009000000, 0x4, 0x0, 0xa80002) pkg/tcpip/transport/raw/endpoint.go:323 +0xc5 fp=0xc00220d628 sp=0xc00220d5d8 pc=0xbab525 gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*socketOpsCommon).SendMsg(0xc0020043f0, 0xc003170a80, 0x15f1060, 0xc001e05000, 0x0, 0x1, 0x20000040, 0xffe0, 0x100, 0xc009788760, ...) pkg/sentry/socket/netstack/netstack.go:3915 +0x243 fp=0xc00220d788 sp=0xc00220d628 pc=0xc4b043 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.sendSingleMsg(0xc003170a80, 0x3f75c13b1c88, 0xc002004380, 0xc002004380, 0x20001440, 0xc000000040, 0xfb369d, 0xc000cd5b68, 0x7fed99e00000) pkg/sentry/syscalls/linux/vfs2/socket.go:1437 +0x555 fp=0xc00220dae8 sp=0xc00220d788 pc=0xf733b5 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.SendMMsg(0xc003170a80, 0x4, 0x20001440, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/socket.go:1329 +0x37f fp=0xc00220dbb8 sp=0xc00220dae8 pc=0xf729df gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc003170a80, 0x133, 0x4, 0x20001440, 0x1, 0x0, 0x0, 0x0, 0xc000001fa0, 0x1420fe0, ...) pkg/sentry/kernel/task_syscall.go:115 +0x199 fp=0xc00220dc78 sp=0xc00220dbb8 pc=0xa80619 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc003170a80, 0x133, 0x4, 0x20001440, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:290 +0x70 fp=0xc00220dd00 sp=0xc00220dc78 pc=0xa818f0 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc003170a80, 0x133, 0x4, 0x20001440, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:237 +0xb4 fp=0xc00220dd60 sp=0xc00220dd00 pc=0xa813d4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc003170a80, 0x2, 0xc003170a80) pkg/sentry/kernel/task_syscall.go:204 +0x198 fp=0xc00220de30 sp=0xc00220dd60 pc=0xa80cb8 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc003170a80, 0x15c9900, 0x0) pkg/sentry/kernel/task_run.go:327 +0xe5f fp=0xc00220df68 sp=0xc00220de30 pc=0xa73bdf gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc003170a80, 0x1474) pkg/sentry/kernel/task_run.go:100 +0x1b9 fp=0xc00220dfd0 sp=0xc00220df68 pc=0xa72619 runtime.goexit() src/runtime/asm_amd64.s:1371 +0x1 fp=0xc00220dfd8 sp=0xc00220dfd0 pc=0x472861 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:396 +0x116