syzbot


Invalid request partialResult in sendfile

Status: fixed on 2018/12/12 09:36
Fix commit: ffcbda0c8bd7 Partial writes should loop in rpcinet.
First crash: 2334d, last: 2181d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
gvisor Invalid request partialResult in sendfile (2) C 1341 1882d 2083d 0/26 fixed on 2019/10/04 05:23

Sample crash report:
W0717 23:17:53.502783       1 x:0] Invalid request partialResult true and err (type *errors.errorString) short write for sendfile operation on "/tmp/bus", *tmpfs.regularFileOperations:
goroutine 184 [running]:
gvisor.googlesource.com/gvisor/pkg/log.Stacks(0x0, 0x7f90d16d56c8, 0x0, 0x4)
	pkg/log/log.go:259 +0xc1
gvisor.googlesource.com/gvisor/pkg/log.Traceback(0xbe20a8, 0x50, 0xc420293920, 0x6, 0x6)
	pkg/log/log.go:274 +0x2a
gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.handleIOError(0xc4205e8900, 0x20000001, 0xc72960, 0xc4200f6040, 0xc74860, 0xc6e848, 0xbc2be6, 0x8, 0xc42079e000, 0x8aa1d8, ...)
	pkg/sentry/syscalls/linux/error.go:114 +0x2fd
gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Sendfile(0xc4205e8900, 0x3, 0x4, 0x20000040, 0x8000fffffffe, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	pkg/sentry/syscalls/linux/sys_file.go:2025 +0x4ec
gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc4205e8900, 0x28, 0x3, 0x4, 0x20000040, 0x8000fffffffe, 0x0, 0x0, 0xc420799cc0, 0xbbf200, ...)
	pkg/sentry/kernel/task_syscall.go:162 +0x307
gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc4205e8900, 0x28, 0x3, 0x4, 0x20000040, 0x8000fffffffe, 0x0, 0x0, 0x0, 0x0)
	pkg/sentry/kernel/task_syscall.go:278 +0x62
gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc4205e8900, 0x28, 0x3, 0x4, 0x20000040, 0x8000fffffffe, 0x0, 0x0, 0xc420496400, 0xc420799e18)
	pkg/sentry/kernel/task_syscall.go:241 +0x91
gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc4205e8900, 0x2, 0xc420456d80)
	pkg/sentry/kernel/task_syscall.go:216 +0x10c
gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc4205e8900, 0xc730a0, 0x0)
	pkg/sentry/kernel/task_run.go:217 +0xe56
gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).run(0xc4205e8900, 0x8)
	pkg/sentry/kernel/task_run.go:95 +0x174
created by gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).Start
	pkg/sentry/kernel/task_start.go:258 +0x100

Crashes (7399):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/07/17 23:18 https://gvisor.googlesource.com/gvisor master 29e00c943a61 570df9b2 .config console log report syz C ci-gvisor-kvm-direct-sandbox
2018/07/17 23:18 https://gvisor.googlesource.com/gvisor master 29e00c943a61 570df9b2 .config console log report syz C ci-gvisor-kvm-proxy-overlay-sandbox
2018/07/17 23:07 https://gvisor.googlesource.com/gvisor master 29e00c943a61 570df9b2 .config console log report syz C ci-gvisor-ptrace-direct-overlay-host
2018/07/17 23:07 https://gvisor.googlesource.com/gvisor master 29e00c943a61 570df9b2 .config console log report syz C ci-gvisor-main
2018/07/06 22:39 https://gvisor.googlesource.com/gvisor master f107a5b1a0e2 6c0c0099 .config console log report syz C ci-gvisor-kvm-proxy-overlay-sandbox
2018/07/06 22:35 https://gvisor.googlesource.com/gvisor master f107a5b1a0e2 6c0c0099 .config console log report syz C ci-gvisor-kvm-direct-sandbox
2018/07/06 22:12 https://gvisor.googlesource.com/gvisor master f107a5b1a0e2 6c0c0099 .config console log report syz C ci-gvisor-kvm-proxy-overlay-sandbox
2018/07/06 22:12 https://gvisor.googlesource.com/gvisor master f107a5b1a0e2 6c0c0099 .config console log report syz C ci-gvisor-main
2018/07/06 22:07 https://gvisor.googlesource.com/gvisor master f107a5b1a0e2 6c0c0099 .config console log report syz C ci-gvisor-kvm-direct-sandbox
2018/07/06 21:56 https://gvisor.googlesource.com/gvisor master f107a5b1a0e2 6c0c0099 .config console log report syz C ci-gvisor-kvm-proxy-overlay-sandbox
2018/07/06 21:51 https://gvisor.googlesource.com/gvisor master f107a5b1a0e2 6c0c0099 .config console log report syz C ci-gvisor-kvm-direct-sandbox
2018/07/06 21:02 https://gvisor.googlesource.com/gvisor master f107a5b1a0e2 6c0c0099 .config console log report syz C ci-gvisor-main
2018/07/06 20:55 https://gvisor.googlesource.com/gvisor master f107a5b1a0e2 6c0c0099 .config console log report syz C ci-gvisor-ptrace-direct-overlay-host
2018/07/06 20:49 https://gvisor.googlesource.com/gvisor master f107a5b1a0e2 6c0c0099 .config console log report syz C ci-gvisor-ptrace-direct-overlay-host
2018/07/06 20:47 https://gvisor.googlesource.com/gvisor master f107a5b1a0e2 6c0c0099 .config console log report syz C ci-gvisor-main
2018/07/06 20:41 https://gvisor.googlesource.com/gvisor master f107a5b1a0e2 6c0c0099 .config console log report syz C ci-gvisor-main
2018/07/06 20:40 https://gvisor.googlesource.com/gvisor master f107a5b1a0e2 6c0c0099 .config console log report syz C ci-gvisor-ptrace-direct-overlay-host
2018/07/17 23:00 https://github.com/dvyukov/gvisor.git race 54dabe736f40 570df9b2 .config console log report syz C ci-gvisor-ptrace-proxy-sandbox-race
2018/07/06 21:56 https://github.com/dvyukov/gvisor.git race 54dabe736f40 6c0c0099 .config console log report syz C ci-gvisor-ptrace-proxy-sandbox-race
2018/07/06 21:41 https://github.com/dvyukov/gvisor.git race 54dabe736f40 6c0c0099 .config console log report syz C ci-gvisor-ptrace-proxy-sandbox-race
2018/07/06 21:25 https://github.com/dvyukov/gvisor.git race 54dabe736f40 6c0c0099 .config console log report syz C ci-gvisor-ptrace-proxy-sandbox-race
2018/07/06 21:10 https://github.com/dvyukov/gvisor.git race 54dabe736f40 6c0c0099 .config console log report syz ci-gvisor-ptrace-proxy-sandbox-race
2018/12/07 03:03 https://gvisor.googlesource.com/gvisor master 9d17eba121da ac912200 .config console log report ci-gvisor-kvm-direct-overlay-host-race
2018/12/06 21:48 https://gvisor.googlesource.com/gvisor master 9d17eba121da ac912200 .config console log report ci-gvisor-kvm-direct-overlay-host-race
2018/12/06 19:57 https://gvisor.googlesource.com/gvisor master 9d17eba121da ac912200 .config console log report ci-gvisor-kvm-direct-overlay-host-race
2018/12/06 11:25 https://gvisor.googlesource.com/gvisor master 9d17eba121da ac912200 .config console log report ci-gvisor-kvm-direct-overlay-host-race
2018/12/06 10:17 https://gvisor.googlesource.com/gvisor master 9d17eba121da ac912200 .config console log report ci-gvisor-kvm-direct-overlay-host-race
2018/11/29 21:07 https://gvisor.googlesource.com/gvisor master 9d17eba121da ac912200 .config console log report ci-gvisor-kvm-direct-overlay-host-race
2018/11/29 12:20 https://gvisor.googlesource.com/gvisor master 9d17eba121da ac912200 .config console log report ci-gvisor-kvm-direct-overlay-host-race
2018/11/29 10:49 https://gvisor.googlesource.com/gvisor master 9d17eba121da ac912200 .config console log report ci-gvisor-kvm-direct-overlay-host-race
2018/11/29 06:37 https://gvisor.googlesource.com/gvisor master 9d17eba121da ac912200 .config console log report ci-gvisor-kvm-direct-overlay-host-race
2018/11/29 05:16 https://gvisor.googlesource.com/gvisor master 9d17eba121da ac912200 .config console log report ci-gvisor-kvm-direct-overlay-host-race
2018/11/23 10:01 https://gvisor.googlesource.com/gvisor master 8cbca46b6d99 87815d9d .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/11/23 04:03 https://gvisor.googlesource.com/gvisor master 8cbca46b6d99 87815d9d .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/11/22 17:30 https://gvisor.googlesource.com/gvisor master 8cbca46b6d99 2ee77802 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/11/22 02:31 https://gvisor.googlesource.com/gvisor master 8cbca46b6d99 9db828b5 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/11/21 23:28 https://gvisor.googlesource.com/gvisor master 8cbca46b6d99 9db828b5 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/11/21 22:08 https://gvisor.googlesource.com/gvisor master 9d17eba121da 9db828b5 .config console log report ci-gvisor-kvm-direct-overlay-host-race
2018/11/21 20:10 https://gvisor.googlesource.com/gvisor master 9d17eba121da 9db828b5 .config console log report ci-gvisor-kvm-direct-overlay-host-race
2018/11/21 18:52 https://gvisor.googlesource.com/gvisor master 9d17eba121da 9db828b5 .config console log report ci-gvisor-kvm-direct-overlay-host-race
2018/11/21 04:55 https://gvisor.googlesource.com/gvisor master 8cbca46b6d99 37a6ea34 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/11/20 21:55 https://gvisor.googlesource.com/gvisor master 8cbca46b6d99 3dedf116 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/11/20 18:51 https://gvisor.googlesource.com/gvisor master 8cbca46b6d99 3dedf116 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/11/20 17:42 https://gvisor.googlesource.com/gvisor master 8cbca46b6d99 3dedf116 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/11/20 06:35 https://gvisor.googlesource.com/gvisor master 8cbca46b6d99 9bc2a903 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/11/20 05:30 https://gvisor.googlesource.com/gvisor master 9d17eba121da 9bc2a903 .config console log report ci-gvisor-kvm-direct-overlay-host-race
2018/11/17 00:33 https://gvisor.googlesource.com/gvisor master 9d17eba121da b08ee62a .config console log report ci-gvisor-kvm-direct-overlay-host-race
2018/10/29 23:08 https://gvisor.googlesource.com/gvisor master 9d17eba121da 7df9db2e .config console log report ci-gvisor-kvm-direct-overlay-host-race
2018/10/29 13:09 https://gvisor.googlesource.com/gvisor master 9d17eba121da 7df9db2e .config console log report ci-gvisor-kvm-direct-overlay-host-race
2018/10/29 10:27 https://gvisor.googlesource.com/gvisor master 9d17eba121da 24808096 .config console log report ci-gvisor-kvm-direct-overlay-host-race
2018/10/29 08:38 https://gvisor.googlesource.com/gvisor master 9d17eba121da 24808096 .config console log report ci-gvisor-kvm-direct-overlay-host-race
2018/10/29 03:30 https://gvisor.googlesource.com/gvisor master 9d17eba121da 24808096 .config console log report ci-gvisor-kvm-direct-overlay-host-race
2018/10/28 23:08 https://gvisor.googlesource.com/gvisor master 9d17eba121da 24808096 .config console log report ci-gvisor-kvm-direct-overlay-host-race
2018/10/28 22:02 https://gvisor.googlesource.com/gvisor master 9d17eba121da 24808096 .config console log report ci-gvisor-kvm-direct-overlay-host-race
2018/10/28 10:57 https://gvisor.googlesource.com/gvisor master 9d17eba121da 24808096 .config console log report ci-gvisor-kvm-direct-overlay-host-race
2018/10/27 23:13 https://gvisor.googlesource.com/gvisor master 9d17eba121da 8efba39a .config console log report ci-gvisor-kvm-direct-overlay-host-race
2018/10/27 13:27 https://gvisor.googlesource.com/gvisor master 9d17eba121da 8efba39a .config console log report ci-gvisor-kvm-direct-overlay-host-race
2018/10/23 16:15 https://gvisor.googlesource.com/gvisor master 8cbca46b6d99 24fa2ad8 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/10/23 02:17 https://gvisor.googlesource.com/gvisor master 9d17eba121da 9aba67b5 .config console log report ci-gvisor-kvm-direct-overlay-host-race
2018/10/23 01:00 https://gvisor.googlesource.com/gvisor master 9d17eba121da 9aba67b5 .config console log report ci-gvisor-kvm-direct-overlay-host-race
2018/10/19 00:10 https://gvisor.googlesource.com/gvisor master 8cbca46b6d99 9aba67b5 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/10/18 21:47 https://gvisor.googlesource.com/gvisor master 8cbca46b6d99 9aba67b5 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/10/18 09:10 https://gvisor.googlesource.com/gvisor master 8cbca46b6d99 d257b2d2 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/10/17 23:55 https://gvisor.googlesource.com/gvisor master 8cbca46b6d99 d257b2d2 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/09/08 11:23 https://gvisor.googlesource.com/gvisor master 590d8320992d 6b5120a4 .config console log report ci-gvisor-kvm-direct-sandbox
2018/09/08 10:03 https://gvisor.googlesource.com/gvisor master ae648bafda2d 6b5120a4 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/09/08 07:29 https://gvisor.googlesource.com/gvisor master ae648bafda2d 6b5120a4 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/09/08 04:44 https://gvisor.googlesource.com/gvisor master 590d8320992d 6b5120a4 .config console log report ci-gvisor-kvm-direct-sandbox
2018/09/08 02:19 https://gvisor.googlesource.com/gvisor master 590d8320992d 69cfeb80 .config console log report ci-gvisor-kvm-direct-sandbox
2018/09/08 01:01 https://gvisor.googlesource.com/gvisor master 590d8320992d 69cfeb80 .config console log report ci-gvisor-kvm-direct-sandbox
2018/09/07 22:52 https://gvisor.googlesource.com/gvisor master ae648bafda2d 69cfeb80 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/09/07 18:21 https://gvisor.googlesource.com/gvisor master 590d8320992d 69cfeb80 .config console log report ci-gvisor-kvm-direct-sandbox
2018/09/07 17:56 https://gvisor.googlesource.com/gvisor master ae648bafda2d 69cfeb80 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/09/07 16:29 https://gvisor.googlesource.com/gvisor master ae648bafda2d 69cfeb80 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/08/30 00:19 https://gvisor.googlesource.com/gvisor master b17e80ef5a44 4937cb2b .config console log report ci-gvisor-kvm-proxy-overlay-sandbox
2018/08/29 23:13 https://gvisor.googlesource.com/gvisor master 2524111fc633 4937cb2b .config console log report ci-gvisor-main
2018/08/29 19:23 https://github.com/dvyukov/gvisor.git race d4d5ed1d9def 4937cb2b .config console log report ci-gvisor-ptrace-proxy-sandbox-race
* Struck through repros no longer work on HEAD.