syzbot


panic: D0414 13: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 13:31:07.801294   27808 transport_flipcall.go:234] recv [channel @0xc00031c300] Rlerror{Error: 2}
runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x69465e]

goroutine 935 [running]:
gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef(0x0)
	pkg/sentry/vfs/file_description.go:161D0414 13:31:07.801383   27808 transport_flipcall.go:127] send [channel @0xc00031c300] Tgetxattr{FID: 1, Name: trusted.overlay.whiteout.syzcgroup, Size: 1}
 +0x3e
gvisor.dev/gvisor/pkg/sentry/syscalls/linux.SocketPair(0xc001236a80, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	pkg/sentry/syscalls/linux/sys_socket.go:251 +0x2c8
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc001236a80, 0x35, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe0d480, ...)
	pkg/sentry/kernel/task_syscall.go:170 +0x122
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc001236a80, 0x35, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	pkg/sentry/kernel/task_syscall.go:305 +0x66
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc001236a80, 0x35, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0xc00043f0e0, 0x1)
	pkg/sentry/kernel/task_syscall.goD0414 13:31:07.801621   27808 transport_flipcall.go:234] recv [channel @0xc00031c300] Rlerror{Error: 95}
:265 +0x96
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc001236a80, 0x2, 0xc000b65300)
	pkg/sentry/kernel/task_syscall.go:240 +0x15c
gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc001236a80, 0xf5f8e0, 0x0)
	pkg/sentry/kernel/task_run.go:258 +0xed5
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc001236a80, 0x78)
	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 13:31 gvisor c230d12b5ce5 3f3c5574 .config console log report ci-gvisor-main
* Struck through repros no longer work on HEAD.