syzbot


panic: D0414 14:LINE.ADDR NUM task_exit.go:LINE] [ 98] Transitioning from exit state TaskExitNone to TaskExitInitiate

Status: fixed on 2020/04/16 02:56
Fix commit: 2dd6384de89a Fix cleanup around socketpair() failure to copy out FDs.
First crash: 1687d, last: 1687d

Sample crash report:
panic: D0414 14:59:46.695919   64860 task_exit.go:221] [  98] Transitioning from exit state TaskExitNone to TaskExitInitiated
runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x80b228]

goroutine 424 [running]:
gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef(0x0)
	pkg/sentry/vfs/file_description.go:161 +0x48
gvisor.dev/gvisor/pkg/sentry/syscalls/linux.SocketPair(0xc0010dea80, 0x1, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	pkg/sentry/syscalls/linux/sys_socket.go:251 +0x379
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc0010dea80, 0x35, 0x1, 0x5, 0x0, 0x0, 0x0, 0x0, 0x85, 0x340, ...)
	pkg/sentry/kernel/task_syscall.go:170 +0x44e
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc0010dea80, 0x35, 0x1, 0x5, 0x0, 0x0, 0x0, 0x0, 0x407b4a, 0xc0010df32f)
	pkg/sentry/kernel/task_syscall.go:305 +0xb5
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0010dea80, 0x35, 0x1, 0x5, 0x0, 0x0, 0x0, 0x0, 0xc0006c1cd0, 0xe7eef6)
	pkg/sentry/kernel/task_syscall.go:265 +0x10a
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0010dea80, 0x2, 0xc00047a380)
	pkg/sentry/kernel/task_syscall.go:240 +0x1e8
gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc0010dea80, 0x14dcee0, 0x0)
	pkg/sentry/kernel/task_run.go:258 +0x16a5
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc0010dea80, 0x68)
	pkg/sentry/kernel/task_run.go:92 +0x321
created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start
	pkg/sentry/kernel/task_start.go:315D0414 14:59:46.696483   64860 task_exit.go:221] [  98] Transitioning from exit state TaskExitInitiated to TaskExitZombie
 +0x19e

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/04/14 15:00 gvisor c230d12b5ce5 3f3c5574 .config console log report ci-gvisor-ptrace-proxy-sandbox-race
* Struck through repros no longer work on HEAD.