syzbot


panic: unknown error: EOF

Status: fixed on 2020/10/17 08:02
Fix commit: c002fc36f9bb sockets: ignore io.EOF from view.ReadAt
First crash: 1505d, last: 1502d

Sample crash report:
panic: unknown error: EOF

goroutine 368 [running]:
panic(0x100a9e0, 0xc0007b5090)
	GOROOT/src/runtime/panic.go:1064 +0x46d fp=0xc0006f15b0 sp=0xc0006f14f8 pc=0x43438d
gvisor.dev/gvisor/pkg/syserr.FromError(0x13cd4e0, 0xc00019e100, 0x0)
	pkg/syserr/syserr.go:326 +0x17a fp=0xc0006f15f8 sp=0xc0006f15b0 pc=0x64f05a
gvisor.dev/gvisor/pkg/sentry/socket/netlink.(*socketOpsCommon).sendMsg(0xc000300070, 0x1400620, 0xc0004d5500, 0x13f8200, 0xc0001c3b80, 0x0, 0x1, 0x0, 0x24, 0x0, ...)
	pkg/sentry/socket/netlink/socket.go:917 +0x35e fp=0xc0006f1728 sp=0xc0006f15f8 pc=0xb09b1e
gvisor.dev/gvisor/pkg/sentry/socket/netlink.(*SocketVFS2).Write(0xc000300000, 0x1400620, 0xc0004d5500, 0x13f8200, 0xc0001c3b80, 0x0, 0x1, 0x0, 0x24, 0x0, ...)
	pkg/sentry/socket/netlink/socket_vfs2.go:169 +0x130 fp=0xc0006f1830 sp=0xc0006f1728 pc=0xb0aa80
gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Write(0xc000300000, 0x1400620, 0xc0004d5500, 0x13f8200, 0xc0001c3b80, 0x0, 0x1, 0x0, 0x24, 0x0, ...)
	pkg/sentry/vfs/file_description.go:697 +0xb5 fp=0xc0006f18b0 sp=0xc0006f1830 pc=0x706735
gvisor.dev/gvisor/pkg/sentry/kernel/pipe.(*VFSPipeFD).SpliceToNonPipe(0xc0001c3b80, 0x1400620, 0xc0004d5500, 0xc000300000, 0xffffffffffffffff, 0x19404, 0x0, 0x0, 0x0)
	pkg/sentry/kernel/pipe/vfs.go:320 +0x1d3 fp=0xc0006f19a0 sp=0xc0006f18b0 pc=0x8276b3
gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Splice(0xc0004d5500, 0x3, 0x0, 0x5, 0x0, 0x19404, 0x0, 0x0, 0x0, 0x0, ...)
	pkg/sentry/syscalls/linux/vfs2/splice.go:175 +0xabb fp=0xc0006f1ba8 sp=0xc0006f19a0 pc=0xd5ea9b
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc0004d5500, 0x113, 0x3, 0x0, 0x5, 0x0, 0x19404, 0x0, 0x0, 0x11efea0, ...)
	pkg/sentry/kernel/task_syscall.go:117 +0x1b6 fp=0xc0006f1c68 sp=0xc0006f1ba8 pc=0x970926
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc0004d5500, 0x113, 0x3, 0x0, 0x5, 0x0, 0x19404, 0x0, 0x19404, 0x0)
	pkg/sentry/kernel/task_syscall.go:292 +0x70 fp=0xc0006f1cf0 sp=0xc0006f1c68 pc=0x971c10
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0004d5500, 0x113, 0x3, 0x0, 0x5, 0x0, 0x19404, 0x0, 0x13ce101, 0x100000000000000)
	pkg/sentry/kernel/task_syscall.go:239 +0xb4 fp=0xc0006f1d50 sp=0xc0006f1cf0 pc=0x9716c4
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0004d5500, 0x2, 0xc0004d5500)
	pkg/sentry/kernel/task_syscall.go:206 +0x198 fp=0xc0006f1e10 sp=0xc0006f1d50 pc=0x970fa8
gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc0004d5500, 0x13ce180, 0x0)
	pkg/sentry/kernel/task_run.go:321 +0xd88 fp=0xc0006f1f60 sp=0xc0006f1e10 pc=0x963f58
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc0004d5500, 0xb)
	pkg/sentry/kernel/task_run.go:97 +0x1bd fp=0xc0006f1fd0 sp=0xc0006f1f60 pc=0x962a9d
runtime.goexit()
	src/runtime/asm_amd64.s:1373 +0x1 fp=0xc0006f1fd8 sp=0xc0006f1fd0 pc=0x467da1
created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start
	pkg/sentry/kernel/task_start.go:370 +0x112

Crashes (68):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/10/13 16:03 gvisor 60f159b5580d 5ba0ebc3 .config console log report syz C ci-gvisor-main
2020/10/13 11:17 gvisor 60f159b5580d 5ba0ebc3 .config console log report syz ci-gvisor-main
2020/10/16 12:13 gvisor 8f70c6ef3511 6e262c73 .config console log report info ci-gvisor-main
2020/10/16 04:05 gvisor 8f70c6ef3511 6e262c73 .config console log report info ci-gvisor-main
2020/10/16 03:05 gvisor 8f70c6ef3511 6e262c73 .config console log report info ci-gvisor-main
2020/10/16 01:02 gvisor 8f70c6ef3511 6e262c73 .config console log report info ci-gvisor-main
2020/10/16 00:45 gvisor 8f70c6ef3511 6e262c73 .config console log report info ci-gvisor-main
2020/10/16 00:37 gvisor 8f70c6ef3511 6e262c73 .config console log report info ci-gvisor-main
2020/10/16 00:33 gvisor 8f70c6ef3511 6e262c73 .config console log report info ci-gvisor-main
2020/10/16 00:17 gvisor 8f70c6ef3511 6e262c73 .config console log report info ci-gvisor-main
2020/10/16 00:17 gvisor 8f70c6ef3511 6e262c73 .config console log report info ci-gvisor-main
2020/10/15 23:47 gvisor 8f70c6ef3511 6e262c73 .config console log report info ci-gvisor-main
2020/10/15 23:42 gvisor 8f70c6ef3511 6e262c73 .config console log report info ci-gvisor-main
2020/10/15 23:37 gvisor 8f70c6ef3511 6e262c73 .config console log report info ci-gvisor-main
2020/10/15 22:28 gvisor 8f70c6ef3511 6e262c73 .config console log report info ci-gvisor-main
2020/10/15 22:24 gvisor 8f70c6ef3511 6e262c73 .config console log report info ci-gvisor-main
2020/10/15 22:19 gvisor 8f70c6ef3511 6e262c73 .config console log report info ci-gvisor-main
2020/10/15 22:17 gvisor 8f70c6ef3511 6e262c73 .config console log report info ci-gvisor-main
2020/10/15 22:16 gvisor 8f70c6ef3511 6e262c73 .config console log report info ci-gvisor-main
2020/10/15 22:14 gvisor 8f70c6ef3511 6e262c73 .config console log report info ci-gvisor-main
2020/10/15 22:10 gvisor 8f70c6ef3511 6e262c73 .config console log report info ci-gvisor-main
2020/10/15 22:04 gvisor 8f70c6ef3511 6e262c73 .config console log report info ci-gvisor-main
2020/10/15 22:01 gvisor 8f70c6ef3511 6e262c73 .config console log report info ci-gvisor-main
2020/10/15 22:00 gvisor 8f70c6ef3511 6e262c73 .config console log report info ci-gvisor-main
2020/10/15 21:56 gvisor 8f70c6ef3511 6e262c73 .config console log report info ci-gvisor-main
2020/10/15 21:56 gvisor 8f70c6ef3511 6e262c73 .config console log report info ci-gvisor-main
2020/10/15 21:52 gvisor 8f70c6ef3511 6e262c73 .config console log report info ci-gvisor-main
2020/10/15 21:51 gvisor 8f70c6ef3511 6e262c73 .config console log report info ci-gvisor-main
2020/10/15 21:42 gvisor 8f70c6ef3511 6e262c73 .config console log report info ci-gvisor-main
2020/10/15 21:27 gvisor 8f70c6ef3511 6e262c73 .config console log report info ci-gvisor-main
2020/10/15 20:53 gvisor 8f70c6ef3511 6e262c73 .config console log report info ci-gvisor-main
2020/10/15 20:48 gvisor 8f70c6ef3511 6e262c73 .config console log report info ci-gvisor-main
2020/10/15 20:45 gvisor 8f70c6ef3511 6e262c73 .config console log report info ci-gvisor-main
2020/10/15 20:39 gvisor 8f70c6ef3511 6e262c73 .config console log report info ci-gvisor-main
2020/10/15 20:39 gvisor 8f70c6ef3511 6e262c73 .config console log report info ci-gvisor-main
2020/10/15 20:38 gvisor 8f70c6ef3511 6e262c73 .config console log report info ci-gvisor-main
2020/10/15 20:37 gvisor 8f70c6ef3511 6e262c73 .config console log report info ci-gvisor-main
2020/10/15 20:35 gvisor 8f70c6ef3511 6e262c73 .config console log report info ci-gvisor-main
2020/10/15 13:29 gvisor 6e6a9d3f3dd6 fc7735a2 .config console log report info ci-gvisor-main
2020/10/15 10:37 gvisor 6e6a9d3f3dd6 fc7735a2 .config console log report info ci-gvisor-main
2020/10/15 09:08 gvisor 6e6a9d3f3dd6 fc7735a2 .config console log report info ci-gvisor-main
2020/10/15 00:17 gvisor a7b7b7b9804e fc7735a2 .config console log report info ci-gvisor-main
2020/10/13 15:53 gvisor 60f159b5580d 5ba0ebc3 .config console log report info ci-gvisor-main
2020/10/13 10:51 gvisor 60f159b5580d 5ba0ebc3 .config console log report info ci-gvisor-main
* Struck through repros no longer work on HEAD.