syzbot


Invalid request partialResult in write (2)

Status: fixed on 2021/03/24 13:21
Reported-by: syzbot+a8794d88484ea52bff87@syzkaller.appspotmail.com
Fix commit: 7fac7e32f3a8 Translate syserror when validating partial IO errors
First crash: 1415d, last: 1343d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
gvisor Invalid request partialResult in write 43 2280d 2334d 0/26 auto-closed as invalid on 2019/02/26 06:49

Sample crash report:
W0111 06:21:28.988350       1 log.go:378] Invalid request partialResult true and err (type safecopy.BusError) SIGBUS at 0x3f9ad7062000 for write operation on "/tmp/cgroup.controllers":
goroutine 1596 [running]:
gvisor.dev/gvisor/pkg/log.Stacks(0x11b6f00, 0xc000116cd0, 0xc000e0ba28, 0xc000e0b9f0)
	pkg/log/log.go:358 +0xc6
gvisor.dev/gvisor/pkg/log.Traceback(0x12d4358, 0x4c, 0xc00078b950, 0x5, 0x5)
	pkg/log/log.go:377 +0x34
gvisor.dev/gvisor/pkg/sentry/syscalls/linux.HandleIOErrorVFS2(0xc000baaa80, 0xc000028b01, 0x13f7be0, 0xc0007c2228, 0x13f7fa0, 0x13db350, 0x128d083, 0x5, 0xc000028b80, 0x0, ...)
	pkg/sentry/syscalls/linux/error.go:54 +0x31b
gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Write(0xc000baaa80, 0x4, 0x20000700, 0xfea7, 0xffffd000, 0xffffd000, 0x0, 0x0, 0x0, 0x0, ...)
	pkg/sentry/syscalls/linux/vfs2/read_write.go:419 +0x2cf
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc000baaa80, 0x1, 0x4, 0x20000700, 0xfea7, 0xffffd000, 0xffffd000, 0x0, 0xeb4fb7, 0x128ab00, ...)
	pkg/sentry/kernel/task_syscall.go:116 +0x1b9
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc000baaa80, 0x1, 0x4, 0x20000700, 0xfea7, 0xffffd000, 0xffffd000, 0x0, 0xffffd000, 0x0)
	pkg/sentry/kernel/task_syscall.go:291 +0x70
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc000baaa80, 0x1, 0x4, 0x20000700, 0xfea7, 0xffffd000, 0xffffd000, 0x0, 0x0, 0x0)
	pkg/sentry/kernel/task_syscall.go:238 +0xb4
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc000baaa80, 0x2, 0xc000baaa80)
	pkg/sentry/kernel/task_syscall.go:205 +0x198
gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc000baaa80, 0x13f60c0, 0x0)
	pkg/sentry/kernel/task_run.go:327 +0xd95
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc000baaa80, 0x20)
	pkg/sentry/kernel/task_run.go:100 +0x1e2
created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start
	pkg/sentry/kernel/task_start.go:374 +0x116

Crashes (11628):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/01/11 06:22 gvisor 7817e3b5e420 2c1f2513 .config console log report syz C ci-gvisor-kvm-cover
2021/01/10 20:34 gvisor 7817e3b5e420 2c1f2513 .config console log report syz C ci-gvisor-kvm
2021/01/10 20:25 gvisor bf343394d498 2c1f2513 .config console log report syz C ci-gvisor-ptrace-2
2021/01/10 20:25 gvisor bf343394d498 2c1f2513 .config console log report syz C ci-gvisor-ptrace-1-cover
2021/01/10 20:24 gvisor bf343394d498 2c1f2513 .config console log report syz C ci-gvisor-ptrace-1-race
2021/01/10 20:21 gvisor bf343394d498 2c1f2513 .config console log report syz C ci-gvisor-ptrace-3-cover
2021/01/10 20:21 gvisor bf343394d498 2c1f2513 .config console log report syz C ci-gvisor-ptrace-3
2021/01/10 20:17 gvisor bf343394d498 2c1f2513 .config console log report syz C ci-gvisor-ptrace-2-race
2021/01/10 20:16 gvisor 0538ffa8ba61 2c1f2513 .config console log report syz C ci-gvisor-ptrace-3-race
2021/01/10 20:15 gvisor bf343394d498 2c1f2513 .config console log report syz C ci-gvisor-ptrace-1
2021/01/10 20:06 gvisor bf343394d498 2c1f2513 .config console log report syz C ci-gvisor-ptrace-2-cover
2021/03/11 03:21 gvisor a44dc15bdce8 764067f3 .config console log report syz ci-gvisor-ptrace-2 Invalid request partialResult in write
2021/03/11 02:39 gvisor a44dc15bdce8 764067f3 .config console log report syz ci-gvisor-ptrace-1 Invalid request partialResult in write
2021/03/11 02:13 gvisor 14fc2ddd6cb2 764067f3 .config console log report syz ci-gvisor-ptrace-2-cover Invalid request partialResult in write
2021/03/11 00:05 gvisor 14fc2ddd6cb2 764067f3 .config console log report syz ci-gvisor-ptrace-1-race Invalid request partialResult in write
2021/03/10 23:50 gvisor 14fc2ddd6cb2 764067f3 .config console log report syz ci-gvisor-ptrace-2-cover Invalid request partialResult in write
2021/03/10 22:18 gvisor 14fc2ddd6cb2 764067f3 .config console log report syz ci-gvisor-ptrace-1-cover Invalid request partialResult in write
2021/03/23 21:55 gvisor d3a433caae71 e613994b .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/23 20:54 gvisor d3a433caae71 e613994b .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/23 20:38 gvisor d3a433caae71 e613994b .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/23 18:34 gvisor d3a433caae71 e613994b .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/23 17:17 gvisor d3a433caae71 e613994b .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/23 16:11 gvisor d3a433caae71 e613994b .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/23 13:53 gvisor d3a433caae71 8092f30d .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/23 11:44 gvisor d3a433caae71 8092f30d .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/23 10:54 gvisor d3a433caae71 8092f30d .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/23 08:51 gvisor d3a433caae71 8092f30d .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/23 07:18 gvisor d3a433caae71 8092f30d .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/23 04:21 gvisor d3a433caae71 8092f30d .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/23 02:20 gvisor d3a433caae71 8092f30d .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/23 01:11 gvisor d3a433caae71 8092f30d .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/23 00:03 gvisor d3a433caae71 8092f30d .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/23 00:01 gvisor d3a433caae71 8092f30d .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/22 21:49 gvisor d3a433caae71 8092f30d .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/22 20:09 gvisor d3a433caae71 8092f30d .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/22 16:25 gvisor d3a433caae71 bea32f74 .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/22 15:15 gvisor d3a433caae71 bea32f74 .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/22 13:32 gvisor d3a433caae71 bea32f74 .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/22 11:11 gvisor d3a433caae71 bea32f74 .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/22 09:57 gvisor d3a433caae71 bea32f74 .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/22 08:06 gvisor d3a433caae71 bea32f74 .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/22 07:50 gvisor d3a433caae71 bea32f74 .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/22 05:45 gvisor d3a433caae71 bea32f74 .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/22 04:22 gvisor d3a433caae71 bea32f74 .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/22 03:01 gvisor d3a433caae71 bea32f74 .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/21 23:15 gvisor d3a433caae71 4c9a64da .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/21 22:29 gvisor d3a433caae71 4c9a64da .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/21 20:52 gvisor d3a433caae71 4c9a64da .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/21 19:15 gvisor d3a433caae71 4c9a64da .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/21 17:08 gvisor d3a433caae71 4c9a64da .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/21 15:05 gvisor d3a433caae71 4c9a64da .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/21 14:29 gvisor d3a433caae71 4c9a64da .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/21 12:45 gvisor d3a433caae71 17810eae .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/21 11:01 gvisor d3a433caae71 17810eae .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/21 09:16 gvisor d3a433caae71 17810eae .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/21 08:41 gvisor d3a433caae71 17810eae .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/21 06:59 gvisor d3a433caae71 17810eae .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/21 05:33 gvisor d3a433caae71 17810eae .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/21 02:52 gvisor d3a433caae71 17810eae .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/20 22:20 gvisor d3a433caae71 17810eae .config console log report info ci-gvisor-kvm-cover Invalid request partialResult in write
2021/03/19 07:42 gvisor 5c4f4ed9eb05 c3a46f82 .config console log report info ci-gvisor-ptrace-3 Invalid request partialResult in write
2021/03/19 05:46 gvisor 5c4f4ed9eb05 c3a46f82 .config console log report info ci-gvisor-ptrace-1-race Invalid request partialResult in write
2021/03/19 04:19 gvisor 5c4f4ed9eb05 c3a46f82 .config console log report info ci-gvisor-ptrace-2 Invalid request partialResult in write
2021/03/19 02:45 gvisor 5c4f4ed9eb05 c3a46f82 .config console log report info ci-gvisor-ptrace-1 Invalid request partialResult in write
2021/03/19 02:30 gvisor 5c4f4ed9eb05 c3a46f82 .config console log report info ci-gvisor-ptrace-1-cover Invalid request partialResult in write
2021/03/19 01:37 gvisor 5c4f4ed9eb05 c3a46f82 .config console log report info ci-gvisor-ptrace-3-race-cover Invalid request partialResult in write
2021/03/18 23:31 gvisor 5c4f4ed9eb05 c3a46f82 .config console log report info ci-gvisor-ptrace-2-race Invalid request partialResult in write
2021/03/18 16:37 gvisor d3a433caae71 7216542e .config console log report info ci-gvisor-ptrace-1-race-cover Invalid request partialResult in write
2021/03/18 15:35 gvisor d3a433caae71 7216542e .config console log report info ci-gvisor-kvm Invalid request partialResult in write
2021/03/18 12:29 gvisor d3a433caae71 7216542e .config console log report info ci-gvisor-ptrace-3-cover Invalid request partialResult in write
2021/03/18 03:13 gvisor d3a433caae71 fdb2bb2c .config console log report info ci-gvisor-ptrace-2-race-cover Invalid request partialResult in write
2021/03/17 23:04 gvisor 3dd7ad13b458 fdb2bb2c .config console log report info ci-gvisor-ptrace-3-race Invalid request partialResult in write
2021/03/17 15:41 gvisor 3dd7ad13b458 fdb2bb2c .config console log report info ci-gvisor-ptrace-2-cover Invalid request partialResult in write
* Struck through repros no longer work on HEAD.