panic: runtime error: slice bounds out of range [12:4] goroutine 1601485 [running]: panic(0x1226980, 0xc0037e2048) GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc0010eb488 sp=0xc0010eb3c0 pc=0x437c65 runtime.goPanicSliceB(0xc, 0x4) GOROOT/src/runtime/panic.go:116 +0xa5 fp=0xc0010eb4d0 sp=0xc0010eb488 pc=0x435445 gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*DeviceFD).writeLocked(0xc00698cd00, 0x14c0738, 0xc0062e6000, 0x14baaa0, 0xc004888000, 0x0, 0x1, 0x20000548, 0x70, 0x100, ...) pkg/sentry/fsimpl/fuse/dev.go:301 +0xa58 fp=0xc0010eb718 sp=0xc0010eb4d0 pc=0xf2c9b8 gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*DeviceFD).Write(0xc00698cd00, 0x14c0738, 0xc0062e6000, 0x14baaa0, 0xc004888000, 0x0, 0x1, 0x20000540, 0x78, 0x100, ...) pkg/sentry/fsimpl/fuse/dev.go:247 +0x105 fp=0xc0010eb7b8 sp=0xc0010eb718 pc=0xf2bee5 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Write(0xc00698cd00, 0x14c0738, 0xc0062e6000, 0x14baaa0, 0xc004888000, 0x0, 0x1, 0x20000540, 0x78, 0x100, ...) pkg/sentry/vfs/file_description.go:657 +0xb4 fp=0xc0010eb850 sp=0xc0010eb7b8 pc=0x756cf4 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.write(0xc0062e6000, 0xc00698cd00, 0x14baaa0, 0xc004888000, 0x0, 0x1, 0x20000540, 0x78, 0x100, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/read_write.go:348 +0x9b fp=0xc0010eb9e0 sp=0xc0010eb850 pc=0xe7053b gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Write(0xc0062e6000, 0x3, 0x20000540, 0x78, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/read_write.go:317 +0x245 fp=0xc0010ebb10 sp=0xc0010eb9e0 pc=0xe6fe25 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc0062e6000, 0x1, 0x3, 0x20000540, 0x78, 0x3, 0x0, 0x0, 0x0, 0x1317be0, ...) pkg/sentry/kernel/task_syscall.go:103 +0x13c fp=0xc0010ebc70 sp=0xc0010ebb10 pc=0x9f169c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc0062e6000, 0x1, 0x3, 0x20000540, 0x78, 0x3, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:238 +0x66 fp=0xc0010ebcf8 sp=0xc0010ebc70 pc=0x9f2846 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0062e6000, 0x1, 0x3, 0x20000540, 0x78, 0x3, 0x0, 0x0, 0x14d1948, 0xc0032dc900) pkg/sentry/kernel/task_syscall.go:198 +0x98 fp=0xc0010ebd58 sp=0xc0010ebcf8 pc=0x9f2438 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0062e6000, 0x2, 0xc0062e6000) pkg/sentry/kernel/task_syscall.go:173 +0x15c fp=0xc0010ebe28 sp=0xc0010ebd58 pc=0x9f1ddc gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc0062e6000, 0x1492920, 0x0) pkg/sentry/kernel/task_run.go:254 +0xc27 fp=0xc0010ebf68 sp=0xc0010ebe28 pc=0x9e6b67 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc0062e6000, 0x7c9b) pkg/sentry/kernel/task_run.go:95 +0x182 fp=0xc0010ebfd0 sp=0xc0010ebf68 pc=0x9e5aa2 runtime.goexit() src/runtime/asm_amd64.s:1371 +0x1 fp=0xc0010ebfd8 sp=0xc0010ebfd0 pc=0x472861 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:342 +0xfe