panic: runtime error: slice bounds out of range [12:0] goroutine 1209 [running]: panic(0x11cd560, 0xc000ada440) GOROOT/src/runtime/panic.go:1064 +0x545 fp=0xc0009494a0 sp=0xc0009493d8 pc=0x437265 runtime.goPanicSliceB(0xc, 0x0) GOROOT/src/runtime/panic.go:116 +0xa5 fp=0xc0009494e8 sp=0xc0009494a0 pc=0x435125 gvisor.dev/gvisor/pkg/tcpip/header.Ethernet.Encode(...) pkg/tcpip/header/eth.go:120 gvisor.dev/gvisor/pkg/tcpip/link/tun.(*tunEndpoint).AddHeader(0xc0008afc40, 0x0, 0x0, 0x12a4a0c, 0x6, 0xc000000800, 0xc0002be280) pkg/tcpip/link/tun/device.go:459 +0x21f fp=0xc000949558 sp=0xc0009494e8 pc=0xdad87f gvisor.dev/gvisor/pkg/tcpip/link/tun.(*Device).encodePkt(0xc0005fe428, 0xc0009496d8, 0x800, 0x0, 0xc000644500, 0x4) pkg/tcpip/link/tun/device.go:339 +0x671 fp=0xc000949648 sp=0xc000949558 pc=0xdad031 gvisor.dev/gvisor/pkg/tcpip/link/tun.(*Device).Read(0xc0005fe428, 0x0, 0xc0004697a0, 0xc000949860, 0x8e9877, 0xc000469790) pkg/tcpip/link/tun/device.go:297 +0x1c6 fp=0xc0009497c8 sp=0xc000949648 pc=0xdac8a6 gvisor.dev/gvisor/pkg/sentry/devices/tundev.(*tunFD).Read(0xc0005fe3c0, 0x143d180, 0xc000aac000, 0x14380e0, 0xc00067a000, 0x0, 0x1, 0x7fd1702ba5d0, 0x3e8, 0x100, ...) pkg/sentry/devices/tundev/tundev.go:142 +0x50 fp=0xc000949858 sp=0xc0009497c8 pc=0xf3f750 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Read(0xc0005fe3c0, 0x143d180, 0xc000aac000, 0x14380e0, 0xc00067a000, 0x0, 0x1, 0x7fd1702ba5d0, 0x3e8, 0x100, ...) pkg/sentry/vfs/file_description.go:701 +0xf8 fp=0xc000949908 sp=0xc000949858 pc=0x7e0678 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.read(0xc000aac000, 0xc0005fe3c0, 0x14380e0, 0xc00067a000, 0x0, 0x1, 0x7fd1702ba5d0, 0x3e8, 0x100, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/read_write.go:108 +0xa5 fp=0xc000949a98 sp=0xc000949908 pc=0xe6c625 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Read(0xc000aac000, 0xf0, 0x7fd1702ba5d0, 0x3e8, 0x0, 0x0, 0x7fd1702ba450, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/read_write.go:71 +0x21e fp=0xc000949b90 sp=0xc000949a98 pc=0xe6bebe gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc000aac000, 0x0, 0xf0, 0x7fd1702ba5d0, 0x3e8, 0x0, 0x0, 0x7fd1702ba450, 0x0, 0x12a1ee0, ...) pkg/sentry/kernel/task_syscall.go:116 +0x1b9 fp=0xc000949c50 sp=0xc000949b90 pc=0xa4ec39 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc000aac000, 0x0, 0xf0, 0x7fd1702ba5d0, 0x3e8, 0x0, 0x0, 0x7fd1702ba450, 0x0, 0x7fd1702ba450) pkg/sentry/kernel/task_syscall.go:291 +0x70 fp=0xc000949cd8 sp=0xc000949c50 pc=0xa4fef0 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc000aac000, 0x0, 0xf0, 0x7fd1702ba5d0, 0x3e8, 0x0, 0x0, 0x7fd1702ba450, 0xc000a349a0, 0xc000a34900) pkg/sentry/kernel/task_syscall.go:238 +0xb4 fp=0xc000949d38 sp=0xc000949cd8 pc=0xa4f9f4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc000aac000, 0x2, 0xc000aac000) pkg/sentry/kernel/task_syscall.go:205 +0x198 fp=0xc000949e08 sp=0xc000949d38 pc=0xa4f2d8 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc000aac000, 0x140e100, 0x0) pkg/sentry/kernel/task_run.go:327 +0xd95 fp=0xc000949f60 sp=0xc000949e08 pc=0xa41d95 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc000aac000, 0x48) pkg/sentry/kernel/task_run.go:100 +0x1e2 fp=0xc000949fd0 sp=0xc000949f60 pc=0xa408a2 runtime.goexit() src/runtime/asm_amd64.s:1374 +0x1 fp=0xc000949fd8 sp=0xc000949fd0 pc=0x4709a1 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:374 +0x116