panic: runtime error: slice bounds out of range goroutine 4928 [running]: gvisor.googlesource.com/gvisor/pkg/sentry/platform/safecopy.CopyIn(0x3fb0c406d000, 0x200000, 0x200000, 0x3fb0c66be000, 0x3fb0c406d000, 0x200000, 0x0) pkg/sentry/platform/safecopy/safecopy_unsafe.go:107 +0x1ff gvisor.googlesource.com/gvisor/pkg/sentry/safemem.Copy(0x3fb0c406d000, 0x200000, 0x0, 0x3fb0c66be000, 0x200000, 0x200001, 0x1, 0xc421197990, 0x428854) pkg/sentry/safemem/block_unsafe.go:214 +0x166 gvisor.googlesource.com/gvisor/pkg/sentry/safemem.CopySeq(0x3fb0c406d000, 0xffffffffffffffff, 0x0, 0x200000, 0xc420b6e960, 0x2, 0x0, 0x200000, 0x0, 0x0, ...) pkg/sentry/safemem/seq_unsafe.go:276 +0x25d gvisor.googlesource.com/gvisor/pkg/sentry/safemem.(*BlockSeqReader).ReadToBlocks(0xc4209401e0, 0x3fb0c406d000, 0xffffffffffffffff, 0x0, 0x200000, 0xc421197b20, 0x40fb69, 0xc4209401e0) pkg/sentry/safemem/io.go:86 +0x84 gvisor.googlesource.com/gvisor/pkg/sentry/safemem.ReadFullToBlocks(0xc54320, 0xc4209401e0, 0x3fb0c406d000, 0xffffffffffffffff, 0x0, 0x200000, 0x0, 0x200000, 0x0) pkg/sentry/safemem/io.go:54 +0xe4 gvisor.googlesource.com/gvisor/pkg/sentry/platform.AllocateAndFill(0xc63ac0, 0xc420139680, 0x200000, 0x1, 0xc54320, 0xc4209401e0, 0x2, 0x0, 0x200000, 0xc420636580) pkg/sentry/platform/platform.go:426 +0x114 gvisor.googlesource.com/gvisor/pkg/sentry/mm.(*MemoryManager).breakCopyOnWriteLocked(0xc420157200, 0xc420636580, 0x5, 0x13a9000, 0x13aa000, 0x13a9000, 0x13aa000, 0xc420636580, 0x5, 0xc420636580) pkg/sentry/mm/pma.go:433 +0x34d gvisor.googlesource.com/gvisor/pkg/sentry/mm.(*MemoryManager).getPMAsLocked(0xc420157200, 0xc61240, 0xc42065b600, 0xc420157270, 0x2, 0x13a9000, 0x13aa000, 0x1, 0xc420157270, 0x3, ...) pkg/sentry/mm/pma.go:142 +0x2a2 gvisor.googlesource.com/gvisor/pkg/sentry/mm.(*MemoryManager).HandleUserFault(0xc420157200, 0xc61240, 0xc42065b600, 0x13a9060, 0xc420000100, 0x7f7950e2cde0, 0xc4200d2680, 0x100) pkg/sentry/mm/syscalls.go:55 +0x194 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc42065b600, 0xc54040, 0x0) pkg/sentry/kernel/task_run.go:255 +0x5ba gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).run(0xc42065b600, 0x539) pkg/sentry/kernel/task_run.go:95 +0x174 created by gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:258 +0x100