syzbot


panic: runtime error: integer divide by zero (3)

Status: fixed on 2022/11/18 03:22
Fix commit: 3c0e0a3746a3 io_uring: Fix several issues with shared ring buffers.
First crash: 756d, last: 739d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
gvisor panic: runtime error: integer divide by zero (2) C 56 756d 756d 14/26 fixed on 2022/11/01 08:39
gvisor panic: runtime error: integer divide by zero C 116 1543d 1570d 14/26 fixed on 2020/12/30 01:06

Sample crash report:
panic: runtime error: integer divide by zero

goroutine 242 [running]:
panic({0x18e7e40, 0x26ccc50})
	GOROOT/src/runtime/panic.go:941 +0x397 fp=0xc0005e51f0 sp=0xc0005e5130 pc=0x438397
runtime.panicdivide()
	GOROOT/src/runtime/panic.go:199 +0x45 fp=0xc0005e5210 sp=0xc0005e51f0 pc=0x436ce5
gvisor.dev/gvisor/pkg/sentry/fsimpl/iouringfs.(*FileDescription).ProcessSubmissions(0xc000bf4000, 0x700d, 0x0?, 0x0?)
	pkg/sentry/fsimpl/iouringfs/iouringfs.go:353 +0x83e fp=0xc0005e54a8 sp=0xc0005e5210 pc=0x122705e
gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.IOUringEnter(0xc00055aa80, {{0x3}, {0x700d}, {0x0}, {0x0}, {0x0}, {0x0}})
	pkg/sentry/syscalls/linux/vfs2/iouringfs.go:115 +0x288 fp=0xc0005e55b0 sp=0xc0005e54a8 pc=0x1247fe8
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00055aa80, 0x1aa, {{0x3}, {0x700d}, {0x0}, {0x0}, {0x0}, {0x0}})
	pkg/sentry/kernel/task_syscall.go:142 +0xab8 fp=0xc0005e59f8 sp=0xc0005e55b0 pc=0xdb6078
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00055aa80, 0x1?, {{0x3}, {0x700d}, {0x0}, {0x0}, {0x0}, {0x0}})
	pkg/sentry/kernel/task_syscall.go:322 +0x8e fp=0xc0005e5a98 sp=0xc0005e59f8 pc=0xdb820e
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0005ca0f0?, 0x46fdec?, {{0x3}, {0x700d}, {0x0}, {0x0}, {0x0}, {0x0}})
	pkg/sentry/kernel/task_syscall.go:282 +0xc5 fp=0xc0005e5b10 sp=0xc0005e5a98 pc=0xdb7ae5
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00055aa80)
	pkg/sentry/kernel/task_syscall.go:257 +0x53b fp=0xc0005e5c38 sp=0xc0005e5b10 pc=0xdb75db
gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc00055aa80?, 0xc00055aa80)
	pkg/sentry/kernel/task_run.go:253 +0x1e2b fp=0xc0005e5ec0 sp=0xc0005e5c38 pc=0xda0b6b
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00055aa80, 0xf)
	pkg/sentry/kernel/task_run.go:94 +0x2c2 fp=0xc0005e5fb0 sp=0xc0005e5ec0 pc=0xd9e382
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1()
	pkg/sentry/kernel/task_start.go:380 +0x48 fp=0xc0005e5fe0 sp=0xc0005e5fb0 pc=0xdb3788
runtime.goexit()
	src/runtime/asm_amd64.s:1571 +0x1 fp=0xc0005e5fe8 sp=0xc0005e5fe0 pc=0x46e1c1
created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start
	pkg/sentry/kernel/task_start.go:380 +0x1d0

Crashes (443):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/11/02 03:04 gvisor d4b159ae93b5 08977f5d .config console log report syz C ci-gvisor-ptrace-3-race-cover panic: runtime error: integer divide by zero
2022/11/02 02:14 gvisor d4b159ae93b5 08977f5d .config console log report syz C ci-gvisor-ptrace-3-race-cover panic: runtime error: integer divide by zero
2022/11/01 12:45 gvisor d4b159ae93b5 a1d8560a .config console log report syz C ci-gvisor-ptrace-2-race panic: runtime error: integer divide by zero
2022/11/01 12:34 gvisor d4b159ae93b5 a1d8560a .config console log report syz C ci-gvisor-ptrace-2-race panic: runtime error: integer divide by zero
2022/11/01 12:11 gvisor d4b159ae93b5 a1d8560a .config console log report syz C ci-gvisor-ptrace-2-race panic: runtime error: integer divide by zero
2022/11/01 11:59 gvisor d4b159ae93b5 a1d8560a .config console log report syz C ci-gvisor-kvm panic: runtime error: integer divide by zero
2022/11/01 11:49 gvisor d4b159ae93b5 a1d8560a .config console log report syz C ci-gvisor-kvm panic: runtime error: integer divide by zero
2022/11/01 11:40 gvisor d4b159ae93b5 a1d8560a .config console log report syz C ci-gvisor-kvm-cover panic: runtime error: integer divide by zero
2022/11/01 11:29 gvisor d4b159ae93b5 a1d8560a .config console log report syz C ci-gvisor-kvm panic: runtime error: integer divide by zero
2022/11/01 11:15 gvisor d4b159ae93b5 a1d8560a .config console log report syz C ci-gvisor-kvm-cover panic: runtime error: integer divide by zero
2022/11/01 11:11 gvisor d4b159ae93b5 a1d8560a .config console log report syz C ci-gvisor-ptrace-1-race panic: runtime error: integer divide by zero
2022/11/01 11:09 gvisor d4b159ae93b5 a1d8560a .config console log report syz C ci-gvisor-ptrace-2-cover panic: runtime error: integer divide by zero
2022/11/01 11:09 gvisor d4b159ae93b5 a1d8560a .config console log report syz C ci-gvisor-ptrace-3 panic: runtime error: integer divide by zero
2022/11/01 11:07 gvisor d4b159ae93b5 a1d8560a .config console log report syz C ci-gvisor-ptrace-3-cover panic: runtime error: integer divide by zero
2022/11/01 11:02 gvisor d4b159ae93b5 a1d8560a .config console log report syz C ci-gvisor-ptrace-3-race panic: runtime error: integer divide by zero
2022/11/01 11:02 gvisor d4b159ae93b5 a1d8560a .config console log report syz C ci-gvisor-ptrace-2 panic: runtime error: integer divide by zero
2022/11/01 11:02 gvisor d4b159ae93b5 a1d8560a .config console log report syz C ci-gvisor-ptrace-1-cover panic: runtime error: integer divide by zero
2022/11/01 11:01 gvisor d4b159ae93b5 a1d8560a .config console log report syz C ci-gvisor-ptrace-1-race panic: runtime error: integer divide by zero
2022/11/01 11:01 gvisor d4b159ae93b5 a1d8560a .config console log report syz C ci-gvisor-ptrace-1 panic: runtime error: integer divide by zero
2022/11/01 10:45 gvisor d4b159ae93b5 a1d8560a .config console log report syz C ci-gvisor-kvm-cover panic: runtime error: integer divide by zero
2022/11/01 10:00 gvisor d4b159ae93b5 a1d8560a .config console log report syz C ci-gvisor-ptrace-3-race panic: runtime error: integer divide by zero
2022/11/01 09:57 gvisor d4b159ae93b5 a1d8560a .config console log report syz C ci-gvisor-ptrace-1 panic: runtime error: integer divide by zero
2022/11/01 09:52 gvisor d4b159ae93b5 a1d8560a .config console log report syz C ci-gvisor-ptrace-3-cover panic: runtime error: integer divide by zero
2022/11/01 09:49 gvisor d4b159ae93b5 a1d8560a .config console log report syz C ci-gvisor-ptrace-1-cover panic: runtime error: integer divide by zero
2022/11/01 09:44 gvisor d4b159ae93b5 a1d8560a .config console log report syz C ci-gvisor-ptrace-3 panic: runtime error: integer divide by zero
2022/11/01 09:40 gvisor d4b159ae93b5 a1d8560a .config console log report syz C ci-gvisor-ptrace-2 panic: runtime error: integer divide by zero
2022/11/01 09:40 gvisor d4b159ae93b5 a1d8560a .config console log report syz C ci-gvisor-ptrace-3-race panic: runtime error: integer divide by zero
2022/11/01 09:36 gvisor d4b159ae93b5 a1d8560a .config console log report syz C ci-gvisor-ptrace-1 panic: runtime error: integer divide by zero
2022/11/01 09:33 gvisor d4b159ae93b5 a1d8560a .config console log report syz C ci-gvisor-ptrace-2-cover panic: runtime error: integer divide by zero
2022/11/01 09:32 gvisor d4b159ae93b5 a1d8560a .config console log report syz C ci-gvisor-ptrace-3-cover panic: runtime error: integer divide by zero
2022/11/01 09:27 gvisor d4b159ae93b5 a1d8560a .config console log report syz C ci-gvisor-ptrace-1-cover panic: runtime error: integer divide by zero
2022/11/01 09:24 gvisor d4b159ae93b5 a1d8560a .config console log report syz C ci-gvisor-ptrace-2-cover panic: runtime error: integer divide by zero
2022/11/01 09:22 gvisor d4b159ae93b5 a1d8560a .config console log report syz C ci-gvisor-ptrace-3 panic: runtime error: integer divide by zero
2022/11/01 09:10 gvisor d4b159ae93b5 a1d8560a .config console log report syz C ci-gvisor-ptrace-2 panic: runtime error: integer divide by zero
2022/11/18 02:12 gvisor f3aaf4326636 4ba8ab94 .config console log report info ci-gvisor-ptrace-3-cover panic: runtime error: integer divide by zero
2022/11/18 00:21 gvisor f3aaf4326636 4ba8ab94 .config console log report info ci-gvisor-ptrace-1-cover panic: runtime error: integer divide by zero
2022/11/18 00:10 gvisor f3aaf4326636 4ba8ab94 .config console log report info ci-gvisor-ptrace-2-race-cover panic: runtime error: integer divide by zero
2022/11/17 21:15 gvisor f3aaf4326636 4ba8ab94 .config console log report info ci-gvisor-ptrace-1-race panic: runtime error: integer divide by zero
2022/11/17 18:56 gvisor dec1aed1435f 4ba8ab94 .config console log report info ci-gvisor-kvm-cover panic: runtime error: integer divide by zero
2022/11/17 18:46 gvisor dec1aed1435f 4ba8ab94 .config console log report info ci-gvisor-ptrace-3-race-cover panic: runtime error: integer divide by zero
2022/11/17 18:35 gvisor dec1aed1435f 4ba8ab94 .config console log report info ci-gvisor-ptrace-3-cover panic: runtime error: integer divide by zero
2022/11/17 13:42 gvisor dec1aed1435f 3a127a31 .config console log report info ci-gvisor-ptrace-3-cover panic: runtime error: integer divide by zero
2022/11/17 11:11 gvisor dec1aed1435f 3a127a31 .config console log report info ci-gvisor-ptrace-3-cover panic: runtime error: integer divide by zero
2022/11/17 09:59 gvisor dec1aed1435f 3a127a31 .config console log report info ci-gvisor-ptrace-3 panic: runtime error: integer divide by zero
2022/11/17 08:35 gvisor dec1aed1435f 3a127a31 .config console log report info ci-gvisor-ptrace-3-cover panic: runtime error: integer divide by zero
2022/11/17 07:24 gvisor 681c7ddd5a81 3a127a31 .config console log report info ci-gvisor-kvm-cover panic: runtime error: integer divide by zero
2022/11/17 04:14 gvisor 681c7ddd5a81 3a127a31 .config console log report info ci-gvisor-ptrace-3-cover panic: runtime error: integer divide by zero
2022/11/17 03:06 gvisor 681c7ddd5a81 3a127a31 .config console log report info ci-gvisor-ptrace-2-cover panic: runtime error: integer divide by zero
2022/11/16 23:01 gvisor 681c7ddd5a81 3a127a31 .config console log report info ci-gvisor-ptrace-2-cover panic: runtime error: integer divide by zero
2022/11/16 20:30 gvisor 681c7ddd5a81 3a127a31 .config console log report info ci-gvisor-ptrace-1-cover panic: runtime error: integer divide by zero
2022/11/16 18:48 gvisor 681c7ddd5a81 3a127a31 .config console log report info ci-gvisor-ptrace-3-cover panic: runtime error: integer divide by zero
2022/11/16 15:33 gvisor 9f351c68ca1d 3a127a31 .config console log report info ci-gvisor-kvm-cover panic: runtime error: integer divide by zero
2022/11/16 14:34 gvisor 9f351c68ca1d 3a127a31 .config console log report info ci-gvisor-ptrace-2-race panic: runtime error: integer divide by zero
2022/11/16 13:21 gvisor 9f351c68ca1d 3a127a31 .config console log report info ci-gvisor-ptrace-3-cover panic: runtime error: integer divide by zero
2022/11/16 11:11 gvisor 9f351c68ca1d 3a127a31 .config console log report info ci-gvisor-ptrace-1-cover panic: runtime error: integer divide by zero
2022/11/16 09:44 gvisor 9f351c68ca1d 3a127a31 .config console log report info ci-gvisor-ptrace-3-cover panic: runtime error: integer divide by zero
2022/11/16 08:40 gvisor 9f351c68ca1d 3a127a31 .config console log report info ci-gvisor-ptrace-2-cover panic: runtime error: integer divide by zero
2022/11/16 04:38 gvisor 9f351c68ca1d 3a127a31 .config console log report info ci-gvisor-ptrace-3 panic: runtime error: integer divide by zero
2022/11/16 01:07 gvisor 413330510c33 bfcab33d .config console log report info ci-gvisor-ptrace-3 panic: runtime error: integer divide by zero
2022/11/15 23:28 gvisor 413330510c33 bfcab33d .config console log report info ci-gvisor-ptrace-3-cover panic: runtime error: integer divide by zero
2022/11/15 22:08 gvisor 413330510c33 bfcab33d .config console log report info ci-gvisor-ptrace-3-cover panic: runtime error: integer divide by zero
2022/11/15 20:11 gvisor 413330510c33 bfcab33d .config console log report info ci-gvisor-ptrace-3-cover panic: runtime error: integer divide by zero
2022/11/15 10:16 gvisor c97edad873c3 97de9cfc .config console log report info ci-gvisor-kvm-cover panic: runtime error: integer divide by zero
2022/11/15 04:58 gvisor c97edad873c3 97de9cfc .config console log report info ci-gvisor-ptrace-1-cover panic: runtime error: integer divide by zero
2022/11/15 02:27 gvisor c97edad873c3 97de9cfc .config console log report info ci-gvisor-ptrace-2-cover panic: runtime error: integer divide by zero
2022/11/14 18:19 gvisor 4b63ff222d43 943f4cb8 .config console log report info ci-gvisor-ptrace-2-cover panic: runtime error: integer divide by zero
2022/11/14 16:52 gvisor 4b63ff222d43 943f4cb8 .config console log report info ci-gvisor-ptrace-2-cover panic: runtime error: integer divide by zero
2022/11/14 14:32 gvisor 4b63ff222d43 943f4cb8 .config console log report info ci-gvisor-ptrace-3-cover panic: runtime error: integer divide by zero
2022/11/14 12:09 gvisor 4b63ff222d43 943f4cb8 .config console log report info ci-gvisor-ptrace-3-cover panic: runtime error: integer divide by zero
2022/11/14 09:08 gvisor 4b63ff222d43 7ba4d859 .config console log report info ci-gvisor-ptrace-3-cover panic: runtime error: integer divide by zero
2022/11/14 07:24 gvisor 4b63ff222d43 7ba4d859 .config console log report info ci-gvisor-ptrace-3-cover panic: runtime error: integer divide by zero
2022/11/14 01:14 gvisor 4b63ff222d43 7ba4d859 .config console log report info ci-gvisor-ptrace-3-cover panic: runtime error: integer divide by zero
2022/11/13 22:28 gvisor 4b63ff222d43 7ba4d859 .config console log report info ci-gvisor-kvm-cover panic: runtime error: integer divide by zero
2022/11/13 22:15 gvisor 4b63ff222d43 7ba4d859 .config console log report info ci-gvisor-ptrace-3-race-cover panic: runtime error: integer divide by zero
2022/11/13 21:59 gvisor 4b63ff222d43 7ba4d859 .config console log report info ci-gvisor-ptrace-1-race panic: runtime error: integer divide by zero
2022/11/13 21:57 gvisor 4b63ff222d43 7ba4d859 .config console log report info ci-gvisor-ptrace-1 panic: runtime error: integer divide by zero
2022/11/13 19:56 gvisor 4b63ff222d43 7ba4d859 .config console log report info ci-gvisor-ptrace-2-cover panic: runtime error: integer divide by zero
2022/11/13 08:33 gvisor 4b63ff222d43 f42ee5d8 .config console log report info ci-gvisor-ptrace-2-race panic: runtime error: integer divide by zero
2022/11/13 08:12 gvisor 4b63ff222d43 f42ee5d8 .config console log report info ci-gvisor-ptrace-2 panic: runtime error: integer divide by zero
2022/11/13 08:10 gvisor 4b63ff222d43 f42ee5d8 .config console log report info ci-gvisor-ptrace-1-race panic: runtime error: integer divide by zero
2022/11/11 22:46 gvisor 5a0803c66ec4 f42ee5d8 .config console log report info ci-gvisor-ptrace-3-cover panic: runtime error: integer divide by zero
2022/11/11 13:50 gvisor eae4c6f2757c f42ee5d8 .config console log report info ci-gvisor-ptrace-2-race panic: runtime error: integer divide by zero
2022/11/11 13:50 gvisor eae4c6f2757c f42ee5d8 .config console log report info ci-gvisor-ptrace-2-cover panic: runtime error: integer divide by zero
2022/11/11 13:29 gvisor eae4c6f2757c f42ee5d8 .config console log report info ci-gvisor-ptrace-3-race-cover panic: runtime error: integer divide by zero
2022/11/11 13:25 gvisor eae4c6f2757c f42ee5d8 .config console log report info ci-gvisor-ptrace-3-race panic: runtime error: integer divide by zero
2022/11/11 07:29 gvisor eae4c6f2757c f42ee5d8 .config console log report info ci-gvisor-ptrace-3 panic: runtime error: integer divide by zero
2022/11/11 05:54 gvisor 93b37dad70ea 3ead01ad .config console log report info ci-gvisor-kvm-cover panic: runtime error: integer divide by zero
2022/11/10 22:48 gvisor 93b37dad70ea 3ead01ad .config console log report info ci-gvisor-ptrace-2-race panic: runtime error: integer divide by zero
2022/11/06 19:50 gvisor 7520b7f833a4 6d752409 .config console log report info ci-gvisor-kvm panic: runtime error: integer divide by zero
* Struck through repros no longer work on HEAD.