syzbot


Invalid request partialResult in sendfile (2)

Status: fixed on 2019/10/04 05:23
Reported-by: syzbot+22d22330a35fa1c02155@syzkaller.appspotmail.com
Fix commit: db218fdfcf16 Don't report partialResult errors from sendfile
First crash: 2176d, last: 1882d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
gvisor Invalid request partialResult in sendfile C 7399 2181d 2334d 0/26 fixed on 2018/12/12 09:36

Sample crash report:
W1227 18:54:25.638957       1 x:0] Invalid request partialResult true and err (type *errors.errorString) short write for sendfile operation on "/tmp/bus", *tmpfs.regularFileOperations:
goroutine 196 [running]:
gvisor.googlesource.com/gvisor/pkg/log.Stacks(0xc0007bfa00, 0x7fd0ac790000, 0x0, 0xc6aeb0)
	pkg/log/log.go:259 +0xc0
gvisor.googlesource.com/gvisor/pkg/log.Traceback(0xc6455b, 0x50, 0xc000756de0, 0x6, 0x6)
	pkg/log/log.go:274 +0x2a
gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.handleIOError(0xc00070c000, 0x20000001, 0xd1a880, 0xc00011c030, 0xd1c920, 0xd14e98, 0xc42d28, 0x8, 0xc0008b0bd0, 0x0, ...)
	pkg/sentry/syscalls/linux/error.go:114 +0x2da
gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Sendfile(0xc00070c000, 0x3, 0x3, 0x20000000, 0x8080fffffffe, 0x100, 0x100, 0x0, 0x0, 0x0, ...)
	pkg/sentry/syscalls/linux/sys_file.go:2064 +0x4bd
gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00070c000, 0x28, 0x3, 0x3, 0x20000000, 0x8080fffffffe, 0x100, 0x100, 0xc0005fcc00, 0xc3f120, ...)
	pkg/sentry/kernel/task_syscall.go:165 +0x30a
gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00070c000, 0x28, 0x3, 0x3, 0x20000000, 0x8080fffffffe, 0x100, 0x100, 0x100, 0x100)
	pkg/sentry/kernel/task_syscall.go:283 +0x69
gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc00070c000, 0x28, 0x3, 0x3, 0x20000000, 0x8080fffffffe, 0x100, 0x100, 0x100080000, 0xc0001b8848)
	pkg/sentry/kernel/task_syscall.go:244 +0x99
gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00070c000, 0x2, 0xc00046c480)
	pkg/sentry/kernel/task_syscall.go:219 +0x142
gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc00070c000, 0xd1b0c0, 0x0)
	pkg/sentry/kernel/task_run.go:215 +0xfda
gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).run(0xc00070c000, 0x18)
	pkg/sentry/kernel/task_run.go:91 +0x149
created by gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).Start
	pkg/sentry/kernel/task_start.go:279 +0xfe

Crashes (1341):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/12/27 18:55 https://gvisor.googlesource.com/gvisor master bce2f9751f41 43cf01dd .config console log report syz C ci-gvisor-kvm-direct-sandbox
2018/12/18 21:21 https://gvisor.googlesource.com/gvisor master 12c7430a01ad 4edaba93 .config console log report syz C ci-gvisor-kvm-proxy-overlay-sandbox
2018/12/18 04:09 https://gvisor.googlesource.com/gvisor master f7e8dc57c526 def91db3 .config console log report syz C ci-gvisor-main
2018/12/12 14:31 https://gvisor.googlesource.com/gvisor master a2c868a098fc c3b10a5d .config console log report syz C ci-gvisor-ptrace-direct-overlay-host
2019/10/01 19:45 https://gvisor.googlesource.com/gvisor master 7a234f736fe0 b7a87a83 .config console log report ci-gvisor-main
2019/10/01 19:43 https://gvisor.googlesource.com/gvisor master 7a234f736fe0 b7a87a83 .config console log report ci-gvisor-ptrace-direct-overlay-host
2019/09/25 20:42 https://gvisor.googlesource.com/gvisor master 76ff1947b6e3 a3355dba .config console log report ci-gvisor-ptrace-direct-overlay-host-race
2019/09/17 16:57 https://gvisor.googlesource.com/gvisor master 191297ecbe3a 13dcda9b .config console log report ci-gvisor-main
2019/09/16 22:27 https://gvisor.googlesource.com/gvisor master 010b09325837 51ca0454 .config console log report ci-gvisor-ptrace-direct-overlay-host
2019/09/16 18:49 https://gvisor.googlesource.com/gvisor master 239a07aabfad 55c50e70 .config console log report ci-gvisor-kvm-proxy-overlay-sandbox
2019/09/16 11:01 https://gvisor.googlesource.com/gvisor master 239a07aabfad 55c50e70 .config console log report ci-gvisor-ptrace-direct-overlay-host-race
2019/09/05 12:09 https://gvisor.googlesource.com/gvisor master 3dc3cffb2ddb 040fda58 .config console log report ci-gvisor-ptrace-proxy-sandbox-race
2019/09/04 17:07 https://gvisor.googlesource.com/gvisor master 67a2ab1438cd d994512d .config console log report ci-gvisor-kvm-proxy-overlay-sandbox
2019/09/03 20:45 https://gvisor.googlesource.com/gvisor master 0352cf5866dd 48448e71 .config console log report ci-gvisor-kvm-proxy-overlay-sandbox
2019/09/02 10:44 https://gvisor.googlesource.com/gvisor master 0352cf5866dd db7c31ca .config console log report ci-gvisor-ptrace-direct-overlay-host-race
2019/08/25 19:00 https://gvisor.googlesource.com/gvisor master a5d0115943c5 d21c5d9d .config console log report ci-gvisor-main
2019/08/25 18:59 https://gvisor.googlesource.com/gvisor master a5d0115943c5 d21c5d9d .config console log report ci-gvisor-main
2019/08/25 04:44 https://gvisor.googlesource.com/gvisor master 4bab7d7f084c d21c5d9d .config console log report ci-gvisor-ptrace-proxy-sandbox-race
2019/08/21 23:22 https://gvisor.googlesource.com/gvisor master 7e79ca02251d 984250d5 .config console log report ci-gvisor-main
2019/08/19 14:26 https://gvisor.googlesource.com/gvisor master 3e4102b2ead1 b8ceabfc .config console log report ci-gvisor-kvm-proxy-overlay-sandbox
2019/08/19 05:55 https://gvisor.googlesource.com/gvisor master 3e4102b2ead1 b8ceabfc .config console log report ci-gvisor-kvm-proxy-overlay-sandbox
2019/08/17 12:25 https://gvisor.googlesource.com/gvisor master 3e4102b2ead1 8fd428a1 .config console log report ci-gvisor-ptrace-direct-overlay-host
2019/08/15 21:32 https://gvisor.googlesource.com/gvisor master 816a9211e96b faeffb00 .config console log report ci-gvisor-main
2019/08/14 15:20 https://gvisor.googlesource.com/gvisor master cee044c2ab00 5576551b .config console log report ci-gvisor-main
2019/08/14 03:05 https://gvisor.googlesource.com/gvisor master 0e907c4298e6 ef801a3e .config console log report ci-gvisor-main
2019/08/07 16:07 https://gvisor.googlesource.com/gvisor master e70eafc9e5bb cdde7486 .config console log report ci-gvisor-kvm-direct-overlay-host-race
2019/08/04 17:34 https://gvisor.googlesource.com/gvisor master 960a5e5536d5 6affd8e8 .config console log report ci-gvisor-kvm-direct-overlay-host-race
2019/07/28 09:35 https://gvisor.googlesource.com/gvisor master 4183b9021ac1 c85e1c5b .config console log report ci-gvisor-main
2019/06/05 12:48 https://gvisor.googlesource.com/gvisor master f520d0d585e1 bfb4a51e .config console log report ci-gvisor-kvm-proxy-overlay-sandbox
2019/06/05 10:50 https://gvisor.googlesource.com/gvisor master 6f92038ce0d2 bfb4a51e .config console log report ci-gvisor-ptrace-proxy-sandbox-race
2019/06/04 21:28 https://gvisor.googlesource.com/gvisor master 6e1f51f3eb44 e41a20c5 .config console log report ci-gvisor-kvm-direct-sandbox
2019/06/04 16:25 https://gvisor.googlesource.com/gvisor master f520d0d585e1 e41a20c5 .config console log report ci-gvisor-main
2019/05/31 14:30 https://gvisor.googlesource.com/gvisor master 6f73d79c3259 a8482b78 .config console log report ci-gvisor-ptrace-proxy-sandbox-race
2019/05/31 09:03 https://gvisor.googlesource.com/gvisor master ed5793808e9d d9aaf3c2 .config console log report ci-gvisor-kvm-direct-sandbox
2019/05/27 15:52 https://gvisor.googlesource.com/gvisor master ed5793808e9d d8aa8b73 .config console log report ci-gvisor-ptrace-proxy-sandbox-race
2019/05/24 19:46 https://gvisor.googlesource.com/gvisor master a949133c4b22 0dadcd9d .config console log report ci-gvisor-kvm-direct-overlay-host-race
2019/05/21 18:59 https://gvisor.googlesource.com/gvisor master 80cc2c78e523 40957b81 .config console log report ci-gvisor-kvm-proxy-overlay-sandbox
2019/05/21 15:42 https://gvisor.googlesource.com/gvisor master 80cc2c78e523 40957b81 .config console log report ci-gvisor-main
2019/05/17 11:38 https://gvisor.googlesource.com/gvisor master 8972e47a2edb e9039493 .config console log report ci-gvisor-kvm-direct-overlay-host-race
2019/05/10 17:07 https://gvisor.googlesource.com/gvisor master 8972e47a2edb e9039493 .config console log report ci-gvisor-kvm-direct-overlay-host-race
2019/05/08 08:32 https://gvisor.googlesource.com/gvisor master 8972e47a2edb e9039493 .config console log report ci-gvisor-main
2019/05/08 04:28 https://gvisor.googlesource.com/gvisor master 8972e47a2edb e9039493 .config console log report ci-gvisor-kvm-direct-overlay-host-race
2019/05/07 20:38 https://gvisor.googlesource.com/gvisor master 2c1c1c991761 e9039493 .config console log report ci-gvisor-kvm-direct-sandbox
2019/05/07 16:29 https://gvisor.googlesource.com/gvisor master 2c1c1c991761 e9039493 .config console log report ci-gvisor-kvm-proxy-overlay-sandbox
2019/05/03 20:53 https://gvisor.googlesource.com/gvisor master 8972e47a2edb e9039493 .config console log report ci-gvisor-kvm-direct-overlay-host-race
2019/05/03 08:50 https://gvisor.googlesource.com/gvisor master bbb65391143d e9039493 .config console log report ci-gvisor-kvm-direct-overlay-host-race
2019/05/03 07:40 https://gvisor.googlesource.com/gvisor master bbb65391143d e9039493 .config console log report ci-gvisor-ptrace-direct-overlay-host
2019/05/02 22:17 https://gvisor.googlesource.com/gvisor master 2c1c1c991761 e9039493 .config console log report ci-gvisor-ptrace-direct-overlay-host
2019/05/02 21:01 https://gvisor.googlesource.com/gvisor master 2c1c1c991761 e9039493 .config console log report ci-gvisor-ptrace-direct-overlay-host
2019/05/02 14:56 https://gvisor.googlesource.com/gvisor master 2c1c1c991761 7516d9fa .config console log report ci-gvisor-kvm-direct-sandbox
2019/05/02 06:59 https://gvisor.googlesource.com/gvisor master 2c1c1c991761 7516d9fa .config console log report ci-gvisor-kvm-direct-sandbox
2018/12/12 10:44 https://gvisor.googlesource.com/gvisor master a2c868a098fc c3b10a5d .config console log report ci-gvisor-kvm-proxy-overlay-sandbox
* Struck through repros no longer work on HEAD.