syzbot


Invalid request partialResult in splice (2)

Status: fixed on 2020/01/31 18:49
Reported-by: syzbot+3905f5493bec08eb7b02@syzkaller.appspotmail.com
Fix commit: f263801a74d4 fs/splice: don't report partial errors for special files
First crash: 1806d, last: 1763d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
gvisor Invalid request partialResult in splice C 206 1883d 1932d 0/26 fixed on 2019/10/01 12:19
gvisor Invalid request partialResult in splice (3) syz 5 1457d 1589d 0/26 moderation: reported syz repro on 2020/07/21 00:42

Sample crash report:
W1218 20:30:41.651016       1 x:0] Invalid request partialResult true and err (type syscall.Errno) invalid argument for splice operation on "pipe:[17]", *pipe.Reader:
goroutine 227 [running]:
gvisor.dev/gvisor/pkg/log.Stacks(0x0, 0x403701, 0x8, 0xc000a65808)
	pkg/log/log.go:272 +0xa5
gvisor.dev/gvisor/pkg/log.Traceback(0xdda64f, 0x50, 0xc000515260, 0x6, 0x6)
	pkg/log/log.go:287 +0x2a
gvisor.dev/gvisor/pkg/sentry/syscalls/linux.handleIOError(0xc000921500, 0xc000961301, 0xed2020, 0xebc128, 0xed1d80, 0xebc840, 0xdaf7eb, 0x6, 0xc0009611e0, 0xff08, ...)
	pkg/sentry/syscalls/linux/error.go:118 +0x2b8
gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Splice(0xc000921500, 0x3, 0x0, 0x4, 0x0, 0x100000000, 0x0, 0x0, 0x0, 0x0, ...)
	pkg/sentry/syscalls/linux/sys_splice.go:266 +0x373
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc000921500, 0x113, 0x3, 0x0, 0x4, 0x0, 0x100000000, 0x0, 0xc0005c9210, 0xc000a65ce8, ...)
	pkg/sentry/kernel/task_syscall.go:170 +0x125
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc000921500, 0x113, 0x3, 0x0, 0x4, 0x0, 0x100000000, 0x0, 0x100000000, 0x0)
	pkg/sentry/kernel/task_syscall.go:291 +0x66
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc000921500, 0x113, 0x3, 0x0, 0x4, 0x0, 0x100000000, 0x0, 0x0, 0x0)
	pkg/sentry/kernel/task_syscall.go:252 +0x96
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc000921500, 0x2, 0xc000516760)
	pkg/sentry/kernel/task_syscall.go:227 +0x139
gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc000921500, 0xed0260, 0x0)
	pkg/sentry/kernel/task_run.go:222 +0xf45
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc000921500, 0x2e)
	pkg/sentry/kernel/task_run.go:92 +0x1bb
created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start
	pkg/sentry/kernel/task_start.go:300 +0xfe

Crashes (134):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/12/18 20:31 https://gvisor.googlesource.com/gvisor master 64d00cc63dc8 1b49002e .config console log report syz ci-gvisor-kvm-direct-sandbox
2019/12/18 20:11 https://gvisor.googlesource.com/gvisor master 64d00cc63dc8 1b49002e .config console log report syz ci-gvisor-kvm-direct-sandbox
2019/12/18 19:48 https://gvisor.googlesource.com/gvisor master 64d00cc63dc8 1b49002e .config console log report syz ci-gvisor-kvm-direct-sandbox
2019/12/18 06:27 https://gvisor.googlesource.com/gvisor master 0881abdfdda6 64ca0a37 .config console log report syz ci-gvisor-kvm-proxy-overlay-sandbox
2019/12/18 06:17 https://gvisor.googlesource.com/gvisor master 0881abdfdda6 64ca0a37 .config console log report syz ci-gvisor-kvm-proxy-overlay-sandbox
2019/12/18 06:07 https://gvisor.googlesource.com/gvisor master 0881abdfdda6 64ca0a37 .config console log report syz ci-gvisor-kvm-proxy-overlay-sandbox
2019/12/17 01:26 https://gvisor.googlesource.com/gvisor master e6f4124afd95 d13d7958 .config console log report syz ci-gvisor-ptrace-proxy-sandbox-race
2019/12/17 01:15 https://gvisor.googlesource.com/gvisor master e6f4124afd95 d13d7958 .config console log report syz ci-gvisor-ptrace-proxy-sandbox-race
2019/12/17 01:08 https://gvisor.googlesource.com/gvisor master e6f4124afd95 d13d7958 .config console log report syz ci-gvisor-ptrace-direct-overlay-host-race
2019/12/17 01:07 https://gvisor.googlesource.com/gvisor master e6f4124afd95 d13d7958 .config console log report syz ci-gvisor-ptrace-direct-overlay-host
2019/12/17 01:05 https://gvisor.googlesource.com/gvisor master e6f4124afd95 d13d7958 .config console log report syz ci-gvisor-main
2019/12/17 00:33 https://gvisor.googlesource.com/gvisor master e6f4124afd95 d13d7958 .config console log report syz ci-gvisor-ptrace-proxy-sandbox-race
2019/12/17 00:17 https://gvisor.googlesource.com/gvisor master e6f4124afd95 d13d7958 .config console log report syz ci-gvisor-main
2019/12/17 00:11 https://gvisor.googlesource.com/gvisor master e6f4124afd95 d13d7958 .config console log report syz ci-gvisor-ptrace-direct-overlay-host-race
2019/12/17 00:09 https://gvisor.googlesource.com/gvisor master e6f4124afd95 d13d7958 .config console log report syz ci-gvisor-ptrace-direct-overlay-host
2019/12/17 00:00 https://gvisor.googlesource.com/gvisor master e6f4124afd95 d13d7958 .config console log report syz ci-gvisor-main
2019/12/16 23:33 https://gvisor.googlesource.com/gvisor master e6f4124afd95 d13d7958 .config console log report syz ci-gvisor-ptrace-direct-overlay-host-race
2019/12/16 21:52 https://gvisor.googlesource.com/gvisor master 6b424530397e d13d7958 .config console log report syz ci-gvisor-ptrace-direct-overlay-host
2020/01/29 00:52 https://gvisor.googlesource.com/gvisor master 5d569408ef94 c8e81ce4 .config console log report ci-gvisor-main
2020/01/27 02:40 https://gvisor.googlesource.com/gvisor master 6a59e7f510a7 dd56146d .config console log report ci-gvisor-kvm-direct-sandbox
2020/01/27 00:12 https://gvisor.googlesource.com/gvisor master 10401599e104 dd56146d .config console log report ci-gvisor-kvm-proxy-overlay-sandbox
2020/01/26 18:14 https://gvisor.googlesource.com/gvisor master cb3906ae0057 dd56146d .config console log report ci-gvisor-ptrace-proxy-sandbox-race
2020/01/26 09:55 https://gvisor.googlesource.com/gvisor master cb3906ae0057 f4e7270e .config console log report ci-gvisor-main
2020/01/21 20:57 https://gvisor.googlesource.com/gvisor master 10401599e104 8eda0b95 .config console log report ci-gvisor-kvm-direct-sandbox
2020/01/21 20:51 https://gvisor.googlesource.com/gvisor master 7e155a133bac 8eda0b95 .config console log report ci-gvisor-ptrace-direct-overlay-host-race
2020/01/21 11:10 https://gvisor.googlesource.com/gvisor master 10401599e104 8eda0b95 .config console log report ci-gvisor-main
2020/01/21 05:49 https://gvisor.googlesource.com/gvisor master 10401599e104 8eda0b95 .config console log report ci-gvisor-kvm-proxy-overlay-sandbox
2020/01/20 11:19 https://gvisor.googlesource.com/gvisor master 10401599e104 c40da18c .config console log report ci-gvisor-ptrace-direct-overlay-host
2020/01/19 20:35 https://gvisor.googlesource.com/gvisor master 10401599e104 0342f8c7 .config console log report ci-gvisor-main
2020/01/19 09:02 https://gvisor.googlesource.com/gvisor master 10401599e104 bc8bc756 .config console log report ci-gvisor-main
2020/01/19 03:37 https://gvisor.googlesource.com/gvisor master 10401599e104 bc8bc756 .config console log report ci-gvisor-main
2020/01/18 20:57 https://gvisor.googlesource.com/gvisor master 10401599e104 bc8bc756 .config console log report ci-gvisor-main
2020/01/18 10:07 https://gvisor.googlesource.com/gvisor master 47d85257d3d0 3de7aabb .config console log report ci-gvisor-main
2020/01/18 08:46 https://gvisor.googlesource.com/gvisor master 47d85257d3d0 3de7aabb .config console log report ci-gvisor-main
2020/01/17 10:51 https://gvisor.googlesource.com/gvisor master 1e7f0c822b3a 3de7aabb .config console log report ci-gvisor-main
2020/01/17 02:43 https://gvisor.googlesource.com/gvisor master 1e7f0c822b3a 3de7aabb .config console log report ci-gvisor-main
2020/01/16 17:07 https://gvisor.googlesource.com/gvisor master a7a1f00425c6 3de7aabb .config console log report ci-gvisor-ptrace-direct-overlay-host-race
2020/01/16 07:27 https://gvisor.googlesource.com/gvisor master ff78a721700f f9b69507 .config console log report ci-gvisor-kvm-proxy-overlay-sandbox
2020/01/16 06:17 https://gvisor.googlesource.com/gvisor master ff78a721700f f9b69507 .config console log report ci-gvisor-kvm-proxy-overlay-sandbox
2020/01/16 02:44 https://gvisor.googlesource.com/gvisor master ff78a721700f f9b69507 .config console log report ci-gvisor-kvm-direct-sandbox
2020/01/15 22:28 https://gvisor.googlesource.com/gvisor master ff78a721700f f9b69507 .config console log report ci-gvisor-ptrace-proxy-sandbox-race
2020/01/15 22:21 https://gvisor.googlesource.com/gvisor master ff78a721700f f9b69507 .config console log report ci-gvisor-ptrace-proxy-sandbox-race
2020/01/15 21:13 https://gvisor.googlesource.com/gvisor master ff78a721700f f9b69507 .config console log report ci-gvisor-ptrace-proxy-sandbox-race
2020/01/15 20:06 https://gvisor.googlesource.com/gvisor master ff78a721700f f9b69507 .config console log report ci-gvisor-main
2020/01/15 20:02 https://gvisor.googlesource.com/gvisor master ff78a721700f f9b69507 .config console log report ci-gvisor-main
2020/01/15 06:45 https://gvisor.googlesource.com/gvisor master 50625cee59aa 99565c1a .config console log report ci-gvisor-ptrace-direct-overlay-host-race
2020/01/10 21:58 https://gvisor.googlesource.com/gvisor master dacd349d6fb4 4c04afaa .config console log report ci-gvisor-ptrace-proxy-sandbox-race
2020/01/10 19:40 https://gvisor.googlesource.com/gvisor master dacd349d6fb4 4c04afaa .config console log report ci-gvisor-ptrace-direct-overlay-host
2020/01/10 15:33 https://gvisor.googlesource.com/gvisor master 356d81146baf 4de4e9f0 .config console log report ci-gvisor-ptrace-proxy-sandbox-race
2020/01/05 12:49 https://gvisor.googlesource.com/gvisor master 83ab47e87bad 68256974 .config console log report ci-gvisor-ptrace-proxy-sandbox-race
2019/12/25 05:35 https://gvisor.googlesource.com/gvisor master e013c48c78c9 8b967267 .config console log report ci-gvisor-ptrace-direct-overlay-host
2019/12/24 02:32 https://gvisor.googlesource.com/gvisor master e548ce180513 8b967267 .config console log report ci-gvisor-ptrace-direct-overlay-host-race
2019/12/23 13:54 https://gvisor.googlesource.com/gvisor master d1528df71502 8b967267 .config console log report ci-gvisor-ptrace-proxy-sandbox-race
2019/12/23 13:54 https://gvisor.googlesource.com/gvisor master d1528df71502 8b967267 .config console log report ci-gvisor-main
2019/12/23 13:53 https://gvisor.googlesource.com/gvisor master d1528df71502 8b967267 .config console log report ci-gvisor-kvm-direct-sandbox
2019/12/23 06:14 https://gvisor.googlesource.com/gvisor master d1528df71502 8b967267 .config console log report ci-gvisor-ptrace-proxy-sandbox-race
2019/12/23 06:14 https://gvisor.googlesource.com/gvisor master d1528df71502 8b967267 .config console log report ci-gvisor-ptrace-direct-overlay-host-race
2019/12/23 06:14 https://gvisor.googlesource.com/gvisor master d1528df71502 8b967267 .config console log report ci-gvisor-main
2019/12/23 06:13 https://gvisor.googlesource.com/gvisor master d1528df71502 8b967267 .config console log report ci-gvisor-ptrace-direct-overlay-host
2019/12/22 23:54 https://gvisor.googlesource.com/gvisor master d1528df71502 8b967267 .config console log report ci-gvisor-kvm-direct-sandbox
2019/12/22 20:39 https://gvisor.googlesource.com/gvisor master 29955a4797e8 8b967267 .config console log report ci-gvisor-kvm-proxy-overlay-sandbox
2019/12/22 14:41 https://gvisor.googlesource.com/gvisor master d1528df71502 8b967267 .config console log report ci-gvisor-ptrace-proxy-sandbox-race
2019/12/22 14:41 https://gvisor.googlesource.com/gvisor master d1528df71502 8b967267 .config console log report ci-gvisor-ptrace-direct-overlay-host
2019/12/22 14:40 https://gvisor.googlesource.com/gvisor master d1528df71502 8b967267 .config console log report ci-gvisor-ptrace-direct-overlay-host-race
* Struck through repros no longer work on HEAD.