syzbot


panic: munmap(ADDR, c6000)) failed: function not implemented

Status: fixed on 2018/06/27 08:03
Fix commit: dc33d71f8cf1 Change SIGCHLD to SIGKILL in ptrace stubs.
First crash: 2347d, last: 2347d

Sample crash report:
panic: munmap(7fef5c000000, c6000)) failed: function not implemented

goroutine 256 [running]:
gvisor.googlesource.com/gvisor/pkg/sentry/platform/ptrace.(*subprocess).Unmap(0xc4206c6360, 0x7fef5c000000, 0xc6000)
	pkg/sentry/platform/ptrace/subprocess.go:556 +0x3c6
gvisor.googlesource.com/gvisor/pkg/sentry/mm.(*MemoryManager).unmapASLocked(0xc4208c4000, 0x7fef5c000000, 0x7fef5c0c6000)
	pkg/sentry/mm/address_space.go:217 +0x74
gvisor.googlesource.com/gvisor/pkg/sentry/mm.(*MemoryManager).Fork(0xc4208c4000, 0xc75e00, 0xc4204b2d00, 0x0, 0x0, 0x0)
	pkg/sentry/mm/lifecycle.go:143 +0xb5b
gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*TaskContext).Fork(0xc4204b3430, 0xc75e00, 0xc4204b2d00, 0x0, 0x0, 0x0, 0x0)
	pkg/sentry/kernel/task_context.go:89 +0x16d
gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).Clone(0xc4204b2d00, 0xc422349ab0, 0x0, 0x0, 0x0, 0x0)
	pkg/sentry/kernel/task_clone.go:203 +0x1cc
gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.clone(0xc4204b2d00, 0x1200011, 0x0, 0x0, 0xa27c10, 0xa27940, 0x40000002, 0x0, 0x818a, 0x0)
	pkg/sentry/syscalls/linux/sys_thread.go:157 +0x21b
gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Clone(0xc4204b2d00, 0x1200011, 0x0, 0x0, 0xa27c10, 0xa27940, 0x0, 0x428854, 0xbde888, 0xc422349c08, ...)
	pkg/sentry/syscalls/linux/sys_thread.go:171 +0x67
gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc4204b2d00, 0x38, 0x1200011, 0x0, 0x0, 0xa27c10, 0xa27940, 0x0, 0xc42028a820, 0xbb6320, ...)
	pkg/sentry/kernel/task_syscall.go:162 +0x307
gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc4204b2d00, 0x38, 0x1200011, 0x0, 0x0, 0xa27c10, 0xa27940, 0x0, 0xa27940, 0x0)
	pkg/sentry/kernel/task_syscall.go:278 +0x62
gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc4204b2d00, 0x38, 0x1200011, 0x0, 0x0, 0xa27c10, 0xa27940, 0x0, 0x8, 0xc422349e00)
	pkg/sentry/kernel/task_syscall.go:241 +0x91
gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc4204b2d00, 0x2, 0xc4206c6360)
	pkg/sentry/kernel/task_syscall.go:216 +0x10c
gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc4204b2d00, 0xc69020, 0x0)
	pkg/sentry/kernel/task_run.go:217 +0xed8
gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).run(0xc4204b2d00, 0x51)
	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:251 +0x100

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/06/23 20:00 https://gvisor.googlesource.com/gvisor master 9c0c4fd8d05c 2064fc5c .config console log report ci-gvisor-main
* Struck through repros no longer work on HEAD.