syzbot


panic: D0414 16:LINE.ADDR 5236 transport_flipcall.go:LINE] recv [channel @ADDR] Rlerror{Error: 2}

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

Sample crash report:
panic: D0414 16:05:59.215167    5236 transport_flipcall.go:234] recv [channel @0xc000794180] Rlerror{Error: 2}
runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x69465e]

goroutine 3981 [running]:
D0414 16:05:59.215271    5236 transport_flipcall.go:127] send [channel @0xc000794180] Tgetxattr{FID: 1, Name: trusted.overlay.whiteout.syzcgroup, Size: 1}
gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef(0x0)
	pkg/sentry/vfs/file_description.go:161 +0x3e
gvisor.dev/gvisor/pkg/sentry/syscalls/linux.SocketPair(0xc000b94000, 0x1, 0x1, 0x0, 0x20000000, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	pkg/sentry/syscalls/linux/sys_socket.go:251 +0x2c8
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc000b94000, 0x35, 0x1, 0x1, 0x0, 0x20000000, 0x0, 0x0, 0x0, 0xe0d480, ...)
	pkg/sentry/kernel/task_syscall.go:170 +0x122
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc000b94000, 0x35, 0x1, 0x1, 0x0, 0x20000000, 0x0, 0x0, 0x0, 0x0)
	pkg/sentry/kernel/task_syscall.go:305 +0x66
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc000b94000, 0x35, 0x1, 0x1, 0x0, 0x20000000, 0x0, 0x0, 0xc000297440, 0x1)
	pkg/sentry/kernel/task_syscall.go:265 +0x96
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc000b94000, 0x2, 0xc000914840)
	pkg/sentry/kernel/task_syscall.go:240 +0x15c
gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc000b94000, 0xf5f8e0, 0x0)
	pkg/sentry/kernel/task_run.go:258 +0xed5
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc000b94000, 0x132)
	pkg/sentry/kernel/task_run.go:92 +0x18b
created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start
	pkg/sentry/kernel/task_start.go:315 +0xfe

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