syzbot


panic: Unknown syscall 8 error: EOF

Status: fixed on 2020/12/30 01:06
Fix commit: 1ea241e4cc95 Fix seek on /proc/pid/cmdline when task is zombie.
First crash: 1445d, last: 1438d

Sample crash report:
panic: Unknown syscall 8 error: EOF

goroutine 171125 [running]:
panic(0xfc9a00, 0xc000130050)
	GOROOT/src/runtime/panic.go:1064 +0x470 fp=0xc002decbf0 sp=0xc002decb38 pc=0x437030
gvisor.dev/gvisor/pkg/sentry/kernel.ExtractErrno(0x12ee0a0, 0xc000116100, 0x8, 0x801)
	pkg/sentry/kernel/task_syscall.go:402 +0x2e9 fp=0xc002decc58 sp=0xc002decbf0 pc=0x9d2c29
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc003a7a000, 0x8, 0x3, 0x801, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	pkg/sentry/kernel/task_syscall.go:249 +0x165 fp=0xc002decce0 sp=0xc002decc58 pc=0x9d13e5
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc003a7a000, 0x8, 0x3, 0x801, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	pkg/sentry/kernel/task_syscall.go:199 +0x98 fp=0xc002decd40 sp=0xc002decce0 pc=0x9d0e98
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc003a7a000, 0x2, 0xc003a7a000)
	pkg/sentry/kernel/task_syscall.go:174 +0x15c fp=0xc002dece10 sp=0xc002decd40 pc=0x9d083c
gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc003a7a000, 0x12eee40, 0x0)
	pkg/sentry/kernel/task_run.go:282 +0xc45 fp=0xc002decf60 sp=0xc002dece10 pc=0x9c4c45
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc003a7a000, 0x527)
	pkg/sentry/kernel/task_run.go:97 +0x1af fp=0xc002decfd0 sp=0xc002decf60 pc=0x9c390f
runtime.goexit()
	src/runtime/asm_amd64.s:1374 +0x1 fp=0xc002decfd8 sp=0xc002decfd0 pc=0x4705a1
created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start
	pkg/sentry/kernel/task_start.go:323 +0xfe

Crashes (22):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/12/19 00:55 gvisor b645fcd241a8 04201c06 .config console log report syz ci-gvisor-kvm
2020/12/18 09:55 gvisor b645fcd241a8 04201c06 .config console log report syz ci-gvisor-kvm
2020/12/16 06:13 gvisor 4e963c99ce23 f213e07e .config console log report syz ci-gvisor-ptrace-3-cover
2020/12/15 16:44 gvisor b2a697334890 b22a7ec3 .config console log report syz ci-gvisor-ptrace-1-cover
2020/12/15 13:04 gvisor b2a697334890 b22a7ec3 .config console log report syz ci-gvisor-ptrace-1-race
2020/12/15 11:49 gvisor b2a697334890 b22a7ec3 .config console log report syz ci-gvisor-ptrace-2-race
2020/12/15 11:47 gvisor b2a697334890 b22a7ec3 .config console log report syz ci-gvisor-ptrace-1-race
2020/12/15 11:36 gvisor b2a697334890 b22a7ec3 .config console log report syz ci-gvisor-ptrace-3
2020/12/15 11:06 gvisor b2a697334890 b22a7ec3 .config console log report syz ci-gvisor-ptrace-2-race
2020/12/15 10:51 gvisor b2a697334890 b22a7ec3 .config console log report syz ci-gvisor-ptrace-3-race
2020/12/15 10:39 gvisor b2a697334890 b22a7ec3 .config console log report syz ci-gvisor-ptrace-2
2020/12/15 10:35 gvisor b2a697334890 b22a7ec3 .config console log report syz ci-gvisor-ptrace-1
2020/12/15 09:18 gvisor b2a697334890 b22a7ec3 .config console log report syz ci-gvisor-ptrace-3
2020/12/12 09:55 gvisor d45420b1528b bca53db9 .config console log report syz ci-gvisor-ptrace-1
2020/12/12 09:46 gvisor d45420b1528b bca53db9 .config console log report syz ci-gvisor-ptrace-2
2020/12/12 09:46 gvisor d45420b1528b bca53db9 .config console log report syz ci-gvisor-ptrace-1-race
2020/12/12 09:45 gvisor d45420b1528b bca53db9 .config console log report syz ci-gvisor-ptrace-1-cover
2020/12/12 09:45 gvisor d45420b1528b bca53db9 .config console log report syz ci-gvisor-ptrace-2-cover
2020/12/12 09:14 gvisor d45420b1528b bca53db9 .config console log report syz ci-gvisor-ptrace-2-race
2020/12/15 09:02 gvisor b2a697334890 b22a7ec3 .config console log report info ci-gvisor-ptrace-2-race
2020/12/15 08:29 gvisor b2a697334890 b22a7ec3 .config console log report info ci-gvisor-ptrace-3
2020/12/12 08:59 gvisor d45420b1528b bca53db9 .config console log report info ci-gvisor-ptrace-2-race
* Struck through repros no longer work on HEAD.