panic: runtime error: slice bounds out of range [12:0] goroutine 2572 [running]: panic(0x11cd560, 0xc00008e780) GOROOT/src/runtime/panic.go:1064 +0x545 fp=0xc0009514a0 sp=0xc0009513d8 pc=0x437265 runtime.goPanicSliceB(0xc, 0x0) GOROOT/src/runtime/panic.go:116 +0xa5 fp=0xc0009514e8 sp=0xc0009514a0 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(0xc000571c00, 0x0, 0x0, 0x12a4a0c, 0x6, 0xc000000800, 0xc000bc4640) pkg/tcpip/link/tun/device.go:459 +0x21f fp=0xc000951558 sp=0xc0009514e8 pc=0xdad87f gvisor.dev/gvisor/pkg/tcpip/link/tun.(*Device).encodePkt(0xc00071e4e8, 0xc0009516d8, 0x800, 0x0, 0xc000b04080, 0x4) pkg/tcpip/link/tun/device.go:339 +0x671 fp=0xc000951648 sp=0xc000951558 pc=0xdad031 gvisor.dev/gvisor/pkg/tcpip/link/tun.(*Device).Read(0xc00071e4e8, 0x0, 0xc0009d7600, 0xc000951860, 0x8e9877, 0xc0009d75f0) pkg/tcpip/link/tun/device.go:297 +0x1c6 fp=0xc0009517c8 sp=0xc000951648 pc=0xdac8a6 gvisor.dev/gvisor/pkg/sentry/devices/tundev.(*tunFD).Read(0xc00071e480, 0x143d180, 0xc000d30a80, 0x14380e0, 0xc000d46000, 0x0, 0x1, 0x7fff86bff5d0, 0x3e8, 0x100, ...) pkg/sentry/devices/tundev/tundev.go:142 +0x50 fp=0xc000951858 sp=0xc0009517c8 pc=0xf3f750 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Read(0xc00071e480, 0x143d180, 0xc000d30a80, 0x14380e0, 0xc000d46000, 0x0, 0x1, 0x7fff86bff5d0, 0x3e8, 0x100, ...) pkg/sentry/vfs/file_description.go:701 +0xf8 fp=0xc000951908 sp=0xc000951858 pc=0x7e0678 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.read(0xc000d30a80, 0xc00071e480, 0x14380e0, 0xc000d46000, 0x0, 0x1, 0x7fff86bff5d0, 0x3e8, 0x100, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/read_write.go:108 +0xa5 fp=0xc000951a98 sp=0xc000951908 pc=0xe6c625 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Read(0xc000d30a80, 0xf0, 0x7fff86bff5d0, 0x3e8, 0x0, 0x0, 0x7fff86bff450, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/read_write.go:71 +0x21e fp=0xc000951b90 sp=0xc000951a98 pc=0xe6bebe gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc000d30a80, 0x0, 0xf0, 0x7fff86bff5d0, 0x3e8, 0x0, 0x0, 0x7fff86bff450, 0xebd0b7, 0x12a1ee0, ...) pkg/sentry/kernel/task_syscall.go:116 +0x1b9 fp=0xc000951c50 sp=0xc000951b90 pc=0xa4ec39 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc000d30a80, 0x0, 0xf0, 0x7fff86bff5d0, 0x3e8, 0x0, 0x0, 0x7fff86bff450, 0x0, 0x7fff86bff450) pkg/sentry/kernel/task_syscall.go:291 +0x70 fp=0xc000951cd8 sp=0xc000951c50 pc=0xa4fef0 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc000d30a80, 0x0, 0xf0, 0x7fff86bff5d0, 0x3e8, 0x0, 0x0, 0x7fff86bff450, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:238 +0xb4 fp=0xc000951d38 sp=0xc000951cd8 pc=0xa4f9f4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc000d30a80, 0x2, 0xc000d30a80) pkg/sentry/kernel/task_syscall.go:205 +0x198 fp=0xc000951e08 sp=0xc000951d38 pc=0xa4f2d8 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc000d30a80, 0x140e100, 0x0) pkg/sentry/kernel/task_run.go:327 +0xd95 fp=0xc000951f60 sp=0xc000951e08 pc=0xa41d95 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc000d30a80, 0x65) pkg/sentry/kernel/task_run.go:100 +0x1e2 fp=0xc000951fd0 sp=0xc000951f60 pc=0xa408a2 runtime.goexit() src/runtime/asm_amd64.s:1374 +0x1 fp=0xc000951fd8 sp=0xc000951fd0 pc=0x4709a1 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:374 +0x116