syzbot


panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM

Status: fixed on 2022/02/04 08:08
Fix commit: 55ef37166897 Return well-defined error on short payload in FUSE.
First crash: 1032d, last: 1026d

Sample crash report:
panic: Unknown syscall 262 error: payload too small. Minimum data lenth required: 104,  but got data length 0

goroutine 104 [running]:
panic(0x12129a0, 0xc0005b8880)
	GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc0007d9c10 sp=0xc0007d9b48 pc=0x437c65
gvisor.dev/gvisor/pkg/sentry/kernel.ExtractErrno(0x15cd880, 0xc0005b8870, 0x106, 0x20002f40)
	pkg/sentry/kernel/task_syscall.go:509 +0x3ee fp=0xc0007d9c78 sp=0xc0007d9c10 pc=0xa87a0e
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc000923500, 0x106, 0xffffffffffffff9c, 0x20002f40, 0x0, 0x1000, 0x0, 0x0, 0x0, 0x0)
	pkg/sentry/kernel/task_syscall.go:307 +0x1d9 fp=0xc0007d9d00 sp=0xc0007d9c78 pc=0xa85d99
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc000923500, 0x106, 0xffffffffffffff9c, 0x20002f40, 0x0, 0x1000, 0x0, 0x0, 0x0, 0x0)
	pkg/sentry/kernel/task_syscall.go:237 +0xb4 fp=0xc0007d9d60 sp=0xc0007d9d00 pc=0xa85714
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc000923500, 0x2, 0xc000923500)
	pkg/sentry/kernel/task_syscall.go:204 +0x198 fp=0xc0007d9e30 sp=0xc0007d9d60 pc=0xa84ff8
gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc000923500, 0x15cea20, 0x0)
	pkg/sentry/kernel/task_run.go:294 +0xd9a fp=0xc0007d9f68 sp=0xc0007d9e30 pc=0xa77f1a
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc000923500, 0x16)
	pkg/sentry/kernel/task_run.go:98 +0x1b9 fp=0xc0007d9fd0 sp=0xc0007d9f68 pc=0xa76cd9
runtime.goexit()
	src/runtime/asm_amd64.s:1371 +0x1 fp=0xc0007d9fd8 sp=0xc0007d9fd0 pc=0x472861
created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start
	pkg/sentry/kernel/task_start.go:398 +0x116

Crashes (79):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/01/29 06:00 gvisor e98016263b1e 495e00c5 .config console log report syz C ci-gvisor-kvm-cover panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/01/29 06:00 gvisor e98016263b1e 495e00c5 .config console log report syz C ci-gvisor-ptrace-1 panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/01/29 05:59 gvisor e98016263b1e 495e00c5 .config console log report syz C ci-gvisor-ptrace-2-cover panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/01/29 05:59 gvisor e98016263b1e 495e00c5 .config console log report syz C ci-gvisor-ptrace-3-cover panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/01/29 05:59 gvisor e98016263b1e 495e00c5 .config console log report syz C ci-gvisor-kvm panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/01/29 05:58 gvisor e98016263b1e 495e00c5 .config console log report syz C ci-gvisor-ptrace-3 panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/01/29 05:54 gvisor e98016263b1e 495e00c5 .config console log report syz C ci-gvisor-ptrace-2 panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/01/29 05:34 gvisor e98016263b1e 495e00c5 .config console log report syz C ci-gvisor-ptrace-1-cover panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/02/04 07:10 gvisor 95d883a92e31 30646bfe .config console log report info ci-gvisor-ptrace-1-cover panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/02/04 05:23 gvisor 95d883a92e31 30646bfe .config console log report info ci-gvisor-kvm-cover panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/02/04 03:21 gvisor 95d883a92e31 30646bfe .config console log report info ci-gvisor-ptrace-2-race panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/02/04 01:26 gvisor 95d883a92e31 30646bfe .config console log report info ci-gvisor-kvm-cover panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/02/03 22:34 gvisor 95d883a92e31 30646bfe .config console log report info ci-gvisor-ptrace-2-cover panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/02/03 17:54 gvisor a5ce865145c7 4ebb2798 .config console log report info ci-gvisor-ptrace-3-cover panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/02/03 12:03 gvisor a5ce865145c7 4ebb2798 .config console log report info ci-gvisor-ptrace-2 panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/02/03 09:20 gvisor a5ce865145c7 4ebb2798 .config console log report info ci-gvisor-ptrace-3 panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/02/03 03:14 gvisor bcba5136d0d0 4ebb2798 .config console log report info ci-gvisor-ptrace-2 panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/02/03 02:06 gvisor bcba5136d0d0 4ebb2798 .config console log report info ci-gvisor-ptrace-3-cover panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/02/03 00:36 gvisor bcba5136d0d0 4ebb2798 .config console log report info ci-gvisor-ptrace-2-cover panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/02/02 17:40 gvisor bcba5136d0d0 4ebb2798 .config console log report info ci-gvisor-ptrace-2 panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/02/02 16:04 gvisor bcba5136d0d0 4ebb2798 .config console log report info ci-gvisor-ptrace-2-cover panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/02/02 14:03 gvisor bcba5136d0d0 4ebb2798 .config console log report info ci-gvisor-ptrace-2-cover panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/02/02 12:39 gvisor bcba5136d0d0 4ebb2798 .config console log report info ci-gvisor-ptrace-3 panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/02/02 10:35 gvisor 5a642df6b326 4ebb2798 .config console log report info ci-gvisor-ptrace-1 panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/02/02 08:25 gvisor 5a642df6b326 4ebb2798 .config console log report info ci-gvisor-ptrace-2-cover panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/02/02 03:15 gvisor 5a642df6b326 4ebb2798 .config console log report info ci-gvisor-ptrace-2 panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/02/02 01:19 gvisor 5a642df6b326 4ebb2798 .config console log report info ci-gvisor-ptrace-2 panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/02/01 23:33 gvisor 5a642df6b326 4ebb2798 .config console log report info ci-gvisor-ptrace-3-cover panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/02/01 21:23 gvisor 0f8db423e270 c1c1631d .config console log report info ci-gvisor-ptrace-2-cover panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/02/01 18:49 gvisor 0f8db423e270 c1c1631d .config console log report info ci-gvisor-ptrace-3 panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/02/01 17:14 gvisor 0f8db423e270 c1c1631d .config console log report info ci-gvisor-ptrace-3 panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/02/01 12:49 gvisor 0f8db423e270 c1c1631d .config console log report info ci-gvisor-kvm panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/02/01 09:26 gvisor 5ef032d4df28 6b7c57fe .config console log report info ci-gvisor-kvm panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/02/01 06:24 gvisor 5ef032d4df28 6b7c57fe .config console log report info ci-gvisor-ptrace-3-cover panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/02/01 06:24 gvisor 5ef032d4df28 6b7c57fe .config console log report info ci-gvisor-ptrace-2-cover panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/02/01 04:51 gvisor 5ef032d4df28 6b7c57fe .config console log report info ci-gvisor-ptrace-1 panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/02/01 04:07 gvisor 5ef032d4df28 6b7c57fe .config console log report info ci-gvisor-ptrace-3-race panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/02/01 03:30 gvisor 5ef032d4df28 6b7c57fe .config console log report info ci-gvisor-ptrace-2 panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/02/01 03:28 gvisor 5ef032d4df28 6b7c57fe .config console log report info ci-gvisor-ptrace-3 panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/02/01 00:25 gvisor 5ef032d4df28 6b7c57fe .config console log report info ci-gvisor-ptrace-2 panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/01/31 23:52 gvisor 5ef032d4df28 6b7c57fe .config console log report info ci-gvisor-ptrace-3-cover panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/01/31 16:13 gvisor 2a3d59997fb9 a491ad2d .config console log report info ci-gvisor-ptrace-3 panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/01/31 15:30 gvisor 2a3d59997fb9 a491ad2d .config console log report info ci-gvisor-ptrace-3 panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/01/31 15:12 gvisor 2a3d59997fb9 a491ad2d .config console log report info ci-gvisor-ptrace-1 panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/01/31 14:08 gvisor 2a3d59997fb9 a491ad2d .config console log report info ci-gvisor-kvm panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/01/31 12:46 gvisor 2a3d59997fb9 a491ad2d .config console log report info ci-gvisor-ptrace-3 panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/01/31 11:24 gvisor 2a3d59997fb9 a491ad2d .config console log report info ci-gvisor-kvm panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/01/31 06:27 gvisor 2a3d59997fb9 495e00c5 .config console log report info ci-gvisor-ptrace-2 panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/01/31 04:46 gvisor 2a3d59997fb9 495e00c5 .config console log report info ci-gvisor-kvm panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/01/31 01:13 gvisor 2a3d59997fb9 495e00c5 .config console log report info ci-gvisor-ptrace-3-cover panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/01/30 14:00 gvisor 2a3d59997fb9 495e00c5 .config console log report info ci-gvisor-ptrace-3-cover panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/01/30 11:08 gvisor 2a3d59997fb9 495e00c5 .config console log report info ci-gvisor-kvm panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/01/30 09:50 gvisor 2a3d59997fb9 495e00c5 .config console log report info ci-gvisor-ptrace-2-cover panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/01/30 01:06 gvisor 2a3d59997fb9 495e00c5 .config console log report info ci-gvisor-kvm-cover panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/01/29 23:35 gvisor 2a3d59997fb9 495e00c5 .config console log report info ci-gvisor-kvm panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/01/29 23:12 gvisor 2a3d59997fb9 495e00c5 .config console log report info ci-gvisor-ptrace-2 panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/01/29 22:00 gvisor 2a3d59997fb9 495e00c5 .config console log report info ci-gvisor-ptrace-3-cover panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/01/29 19:21 gvisor 2a3d59997fb9 495e00c5 .config console log report info ci-gvisor-ptrace-1-cover panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/01/29 14:57 gvisor 2a3d59997fb9 495e00c5 .config console log report info ci-gvisor-ptrace-1 panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/01/29 14:30 gvisor 2a3d59997fb9 495e00c5 .config console log report info ci-gvisor-kvm panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/01/29 13:56 gvisor 2a3d59997fb9 495e00c5 .config console log report info ci-gvisor-ptrace-3-cover panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/01/29 13:00 gvisor 2a3d59997fb9 495e00c5 .config console log report info ci-gvisor-ptrace-2 panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/01/29 12:39 gvisor 2a3d59997fb9 495e00c5 .config console log report info ci-gvisor-ptrace-1 panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/01/29 12:37 gvisor 2a3d59997fb9 495e00c5 .config console log report info ci-gvisor-ptrace-1-cover panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
2022/01/29 05:12 gvisor e98016263b1e 495e00c5 .config console log report info ci-gvisor-ptrace-1-cover panic: Unknown syscall NUM error: payload too small. Minimum data lenth required: NUM, but got data length NUM
* Struck through repros no longer work on HEAD.