syzbot


panic: runtime error: slice bounds out of range (2)

Status: auto-closed as invalid on 2019/02/22 14:49
First crash: 2341d, last: 2285d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
gvisor panic: runtime error: slice bounds out of range C 39 2342d 2348d 0/26 fixed on 2018/06/29 15:41

Sample crash report:
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

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/08/24 19:21 https://gvisor.googlesource.com/gvisor master a81a4402a265 9b0f5c75 .config console log report ci-gvisor-kvm-proxy-overlay-sandbox
2018/08/21 01:07 https://gvisor.googlesource.com/gvisor master 0fc7b306959e 95b5c82b .config console log report ci-gvisor-kvm-direct-sandbox
2018/08/19 15:18 https://gvisor.googlesource.com/gvisor master 11800311a537 2dc4378f .config console log report ci-gvisor-kvm-direct-sandbox
2018/06/29 18:54 https://gvisor.googlesource.com/gvisor master f93bd2cbe668 5c7ca877 .config console log report ci-gvisor-kvm-direct-sandbox
2018/06/29 18:54 https://gvisor.googlesource.com/gvisor master f93bd2cbe668 5c7ca877 .config console log report ci-gvisor-kvm-direct-sandbox
2018/06/29 18:54 https://gvisor.googlesource.com/gvisor master f93bd2cbe668 5c7ca877 .config console log report ci-gvisor-kvm-direct-sandbox
2018/06/29 18:52 https://gvisor.googlesource.com/gvisor master f93bd2cbe668 5c7ca877 .config console log report ci-gvisor-kvm-direct-sandbox
* Struck through repros no longer work on HEAD.