syzbot


panic: D0414 08:LINE.ADDR NUM 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: 1687d, last: 1687d

Sample crash report:
panic: D0414 08:01:00.612904   16403 transport_flipcall.go:234] recv [channel @0xc0002b8300] Rlerror{Error: 2}
runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x80b228]

goroutine 549 [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(0xc0010c2000, 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(0xc0010c2000, 0x35, 0x1, 0x5, 0x0, 0x0, 0x0, 0x0, 0x85, 0x340, ...)
	pkg/sentry/kernel/task_syscall.go:170D0414 08:01:00.613087   16403 transport_flipcall.go:127] send [channel @0xc0002b8300] Tgetxattr{FID: 1, Name: trusted.overlay.whiteout.syzcgroup, Size: 1}
 +0x44e
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc0010c2000, 0x35, 0x1, 0x5, 0x0, 0x0, 0x0, 0x0, 0x407b4a, 0xc0010c28af)
	pkg/sentry/kernel/task_syscall.go:305 +0xb5
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0010c2000, 0x35, 0x1, 0x5, 0x0, 0x0, 0x0, 0x0, 0xc0005ebcd0, 0xe7eef6)
	pkg/sentry/kernel/task_syscall.go:265 +0x10a
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0010c2000, 0x2, 0xc000f9e000)
	pkg/sentry/kernel/task_syscall.go:240 +0x1e8
gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc0010c2000, 0x14dcee0, 0x0)
	pkg/sentry/kernel/task_run.go:258 +0x16a5
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc0010c2000, 0x4f)
	pkg/sentry/kernel/task_run.go:92 +0x321
created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start
	pkg/sentry/kernel/task_start.go:315 +0x19e

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