syzbot


panic: CopyIn raised signal 7 at ADDR, which is outside source [ADDR, ADDR)

Status: auto-closed as invalid on 2020/06/14 06:44
Reported-by: syzbot+ede8ec825942432defcf@syzkaller.appspotmail.com
First crash: 1750d, last: 1716d

Sample crash report:
panic: CopyIn raised signal 7 at 0x3f5f23019000, which is outside source [0x3f5f24756000, 0x3f5f24956000)

goroutine 2067 [running]:
DIAGNOSIS:


Error collecting stacks: failed to start /syzkaller/managers/kvm-direct-sandbox/current/image [/syzkaller/managers/kvm-direct-sandbox/current/image -root /syzkaller/managers/kvm-direct-sandbox/workdir/gvisor_root -watchdog-action=panic -network=none -debug -alsologtostderr -platform=kvm -file-access=exclusive -network=sandbox debug -stacks --ps ci-gvisor-kvm-direct-sandbox-3]: fork/exec /syzkaller/managers/kvm-direct-sandbox/current/image: cannot allocate memorygvisor.dev/gvisor/pkg/safecopy.copyIn(0x3f5f22eac000, 0x200000, 0x200000, 0x3f5f24756000, 0x3f5f22eac000, 0x200000, 0x0)
	pkg/safecopy/safecopy_unsafe.go:112 +0x34f
gvisor.dev/gvisor/pkg/safecopy.CopyIn(...)
	pkg/safecopy/safecopy_unsafe.go:94
gvisor.dev/gvisor/pkg/safemem.Copy(0x3f5f22eac000, 0x200000, 0x0, 0x3f5f24756000, 0x200000, 0x200001, 0x3956001, 0x3b56000, 0x1)
	pkg/safemem/block_unsafe.go:214 +0x171
gvisor.dev/gvisor/pkg/safemem.CopySeq(0x3f5f22eac000, 0xffffffffffffffff, 0x0, 0x200000, 0xc00106e2a0, 0x2, 0x0, 0x200000, 0xc000d13718, 0x0, ...)
	pkg/safemem/seq_unsafe.go:277 +0x27d
gvisor.dev/gvisor/pkg/safemem.(*BlockSeqReader).ReadToBlocks(0xc00073c360, 0x3f5f22eac000, 0xffffffffffffffff, 0x0, 0x200000, 0xc00027a520, 0x40c0f6, 0xc00073c360)
	pkg/safemem/io.go:86 +0x84
gvisor.dev/gvisor/pkg/safemem.ReadFullToBlocks(0xeec2e0, 0xc00073c360, 0x3f5f22eac000, 0xffffffffffffffff, 0x0, 0x200000, 0x0, 0x200000, 0x0)
	pkg/safemem/io.go:54 +0xe4
gvisor.dev/gvisor/pkg/sentry/pgalloc.(*MemoryFile).AllocateAndFill(0xc00027a500, 0x200000, 0x1, 0xeec2e0, 0xc00073c360, 0xc00106e2a0, 0x2, 0x0, 0x200000)
	pkg/sentry/pgalloc/pgalloc.go:504 +0xfe
gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).getPMAsInternalLocked(0xc000e46000, 0xf0a3e0, 0xc000e44000, 0xc000e46080, 0x2, 0x1d2b000, 0x1d2c000, 0xc001000100, 0xc000d13cd8, 0xc000d13d30, ...)
	pkg/sentry/mm/pma.go:343 +0xbae
gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).getPMAsLocked(0xc000e46000, 0xf0a3e0, 0xc000e44000, 0xc000e46080, 0x2, 0x1d2b000, 0x1d2c000, 0x100, 0xc000e46080, 0x3, ...)
	pkg/sentry/mm/pma.go:119 +0xe9
gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).HandleUserFault(0xc000e46000, 0xf0a3e0, 0xc000e44000, 0x1d2b1e0, 0x1000100, 0x7fe27685edc0, 0xc0007a2638, 0x100)
	pkg/sentry/mm/syscalls.go:57 +0x1ab
gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc000e44000, 0xeec740, 0x0)
	pkg/sentry/kernel/task_run.go:272 +0xa35
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc000e44000, 0x2e0)
	pkg/sentry/kernel/task_run.go:92 +0x1bb
created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start
	pkg/sentry/kernel/task_start.go:310 +0xfe

Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/02/10 22:03 https://gvisor.googlesource.com/gvisor master 724bafa094c7 d9e55b05 .config console log report ci-gvisor-kvm-direct-sandbox
2020/02/10 22:03 https://gvisor.googlesource.com/gvisor master 724bafa094c7 d9e55b05 .config console log report ci-gvisor-kvm-direct-sandbox
2020/02/10 21:47 https://gvisor.googlesource.com/gvisor master 724bafa094c7 d9e55b05 .config console log report ci-gvisor-kvm-direct-sandbox
2020/03/16 06:44 gvisor 829beebf0b67 749688d2 .config console log report ci-gvisor-kvm-proxy-overlay-sandbox
2020/03/14 22:12 gvisor 829beebf0b67 749688d2 .config console log report ci-gvisor-kvm-proxy-overlay-sandbox
2020/03/13 09:18 gvisor 919664600d8d d850e9d0 .config console log report ci-gvisor-kvm-direct-sandbox
2020/03/13 08:06 gvisor 919664600d8d d850e9d0 .config console log report ci-gvisor-kvm-direct-sandbox
2020/03/13 01:04 gvisor 919664600d8d d850e9d0 .config console log report ci-gvisor-ptrace-direct-overlay-host-race
2020/02/29 00:12 gvisor abf7ebcd38e8 c88c7b75 .config console log report ci-gvisor-kvm-proxy-overlay-sandbox
* Struck through repros no longer work on HEAD.