syzbot


Invalid request partialResult in sendto (3)

Status: fixed on 2022/02/24 12:40
Fix commit: 395c38be75d1 Add ECONNABORTED to the partial result error list.
First crash: 1008d, last: 1008d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
gvisor Invalid request partialResult in sendto (2) C 10 1194d 1268d 14/26 fixed on 2021/09/25 08:25
gvisor Invalid request partialResult in sendto C 236 1392d 1396d 14/26 fixed on 2021/02/10 20:40

Sample crash report:
W0222 08:55:04.718997       1 log.go:329] Invalid request partialResult true and err (type syscall.Errno) software caused connection abort for sendto operation on "socket:[209]":
goroutine 279 [running]:
gvisor.dev/gvisor/pkg/log.Stacks(0x10)
	pkg/log/log.go:313 +0x7c
gvisor.dev/gvisor/pkg/log.Traceback({0x1259aaa, 0x4c}, {0xc00053c0f0, 0x5, 0x5})
	pkg/log/log.go:328 +0x45
gvisor.dev/gvisor/pkg/sentry/syscalls/linux.HandleIOErrorVFS2({0x13d4750, 0xc00056ca80}, 0x1, {0x1380180, 0x1d941b8}, {0x137d0c0, 0xc00000c0c0}, {0x121aabc, 0x6}, 0xc000660000)
	pkg/sentry/syscalls/linux/error.go:57 +0x269
gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.sendTo(0xc00056ca80, 0x0, 0xdfa4a0, 0xfffffea5, 0xc000, 0x0, 0xab7b18)
	pkg/sentry/syscalls/linux/vfs2/socket.go:1175 +0x55d
gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.SendTo(0xc00056ca80, {{0x3}, {0x20000480}, {0xfffffea5}, {0xc000}, {0x0}, {0xfffffcef}})
	pkg/sentry/syscalls/linux/vfs2/socket.go:1187 +0x37
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00056ca80, 0x2c, {{0x3}, {0x20000480}, {0xfffffea5}, {0xc000}, {0x0}, {0xfffffcef}})
	pkg/sentry/kernel/task_syscall.go:103 +0x376
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00056ca80, 0xc00044081c, {{0x3}, {0x20000480}, {0xfffffea5}, {0xc000}, {0x0}, {0xfffffcef}})
	pkg/sentry/kernel/task_syscall.go:238 +0x4d
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc000834218, 0x56ca80, {{0x3}, {0x20000480}, {0xfffffea5}, {0xc000}, {0x0}, {0xfffffcef}})
	pkg/sentry/kernel/task_syscall.go:198 +0x65
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00056ca80)
	pkg/sentry/kernel/task_syscall.go:173 +0x31a
gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc0005be100, 0xc00056ca80)
	pkg/sentry/kernel/task_run.go:254 +0xe45
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00056ca80, 0x14)
	pkg/sentry/kernel/task_run.go:95 +0x1ac
created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start
	pkg/sentry/kernel/task_start.go:339 +0xfe

Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/02/22 08:56 gvisor 6e5b602ee1a1 6e821dbf .config console log report syz C ci-gvisor-kvm Invalid request partialResult in sendto
2022/02/22 08:56 gvisor 6e5b602ee1a1 6e821dbf .config console log report syz C ci-gvisor-kvm-cover Invalid request partialResult in sendto
2022/02/22 08:55 gvisor 6e5b602ee1a1 6e821dbf .config console log report syz C ci-gvisor-ptrace-2-race Invalid request partialResult in sendto
2022/02/22 08:55 gvisor 6e5b602ee1a1 6e821dbf .config console log report syz C ci-gvisor-ptrace-1-race Invalid request partialResult in sendto
2022/02/22 08:55 gvisor 6e5b602ee1a1 6e821dbf .config console log report syz C ci-gvisor-ptrace-2 Invalid request partialResult in sendto
2022/02/22 08:55 gvisor 6e5b602ee1a1 6e821dbf .config console log report syz C ci-gvisor-ptrace-1-cover Invalid request partialResult in sendto
2022/02/22 08:55 gvisor 6e5b602ee1a1 6e821dbf .config console log report syz C ci-gvisor-ptrace-1 Invalid request partialResult in sendto
2022/02/22 08:42 gvisor 6e5b602ee1a1 6e821dbf .config console log report syz C ci-gvisor-ptrace-2-cover Invalid request partialResult in sendto
2022/02/22 08:26 gvisor 6e5b602ee1a1 6e821dbf .config console log report info ci-gvisor-ptrace-2-cover Invalid request partialResult in sendto
* Struck through repros no longer work on HEAD.