syzbot


panic: invalid segment range [ADDR, ADDR)

Status: fixed on 2018/07/18 10:05
Fix commit: 06920b3d1bb6 Exit tmpfs.fileInodeOperations.Translate early if required.Start >= EOF.
First crash: 2348d, last: 2337d

Sample crash report:
panic: invalid segment range [0x401000, 0x401000)

goroutine 173 [running]:
gvisor.googlesource.com/gvisor/pkg/sentry/mm.(*pmaSet).Insert(0xc4207992e8, 0xc4207992e8, 0x1, 0x401000, 0x401000, 0x3f028ebc4118, 0xc420153b00, 0x110a000, 0x1010101010001, 0x0, ...)
	bazel-out/k8-fastbuild/bin/pkg/sentry/mm/pma_set.go:257 +0x11fb
gvisor.googlesource.com/gvisor/pkg/sentry/mm.(*MemoryManager).insertPMAsLocked(0xc420798c80, 0xc72d00, 0xc4207a6900, 0xc420798cf0, 0x0, 0xc4207992e8, 0x1, 0x43f000, 0x440000, 0x1, ...)
	pkg/sentry/mm/pma.go:372 +0x4fd
gvisor.googlesource.com/gvisor/pkg/sentry/mm.(*MemoryManager).ensurePMAsLocked(0xc420798c80, 0xc72d00, 0xc4207a6900, 0xc420798cf0, 0x0, 0x43f000, 0x440000, 0x88d26b, 0xb34fc0, 0xc420a34000, ...)
	pkg/sentry/mm/pma.go:258 +0x24b
gvisor.googlesource.com/gvisor/pkg/sentry/mm.(*MemoryManager).getPMAsLocked(0xc420798c80, 0xc72d00, 0xc4207a6900, 0xc420798cf0, 0x0, 0x43f000, 0x440000, 0x0, 0xc420798cf0, 0x1, ...)
	pkg/sentry/mm/pma.go:128 +0xd1
gvisor.googlesource.com/gvisor/pkg/sentry/mm.(*MemoryManager).HandleUserFault(0xc420798c80, 0xc72d00, 0xc4207a6900, 0x43f9db, 0xc420010001, 0x7fcac7cdbcb0, 0xc420a34000, 0x10001)
	pkg/sentry/mm/syscalls.go:55 +0x194
gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc4207a6900, 0xc65f20, 0x0)
	pkg/sentry/kernel/task_run.go:235 +0x845
gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).run(0xc4207a6900, 0xb)
	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:251 +0x100

Crashes (255):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/06/28 14:10 https://gvisor.googlesource.com/gvisor master 6b6852bceb12 dba0b50e .config console log report syz C ci-gvisor-kvm-proxy-overlay-sandbox
2018/06/27 17:51 https://gvisor.googlesource.com/gvisor master c186e408cc61 43e60f7e .config console log report syz C ci-gvisor-kvm-proxy-overlay-sandbox
2018/06/28 00:19 https://gvisor.googlesource.com/gvisor master c186e408cc61 43e60f7e .config console log report syz ci-gvisor-kvm-proxy-overlay-sandbox
2018/06/27 09:44 https://gvisor.googlesource.com/gvisor master dc33d71f8cf1 b0294c53 .config console log report syz ci-gvisor-kvm-proxy-overlay-sandbox
2018/06/26 13:54 https://gvisor.googlesource.com/gvisor master 0ac11de8d37a 089f1181 .config console log report syz ci-gvisor-ptrace-direct-overlay-host
2018/06/25 22:18 https://gvisor.googlesource.com/gvisor master 9c0c4fd8d05c 2064fc5c .config console log report syz ci-gvisor-ptrace-direct-overlay-host
2018/06/23 14:18 https://gvisor.googlesource.com/gvisor master 9c0c4fd8d05c 665947c7 .config console log report syz ci-gvisor-kvm-proxy-overlay-sandbox
2018/07/03 22:47 https://gvisor.googlesource.com/gvisor master 138cb8da5043 b9f93868 .config console log report ci-gvisor-kvm-proxy-overlay-sandbox
2018/07/03 18:57 https://gvisor.googlesource.com/gvisor master 614475196201 b9f93868 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/07/03 17:12 https://gvisor.googlesource.com/gvisor master 614475196201 b9f93868 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/07/03 14:37 https://gvisor.googlesource.com/gvisor master 614475196201 b9f93868 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/07/03 13:17 https://gvisor.googlesource.com/gvisor master 614475196201 b9f93868 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/07/03 10:58 https://gvisor.googlesource.com/gvisor master 614475196201 b9f93868 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/07/03 06:47 https://gvisor.googlesource.com/gvisor master 7f9c822f536f b9f93868 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/07/03 05:08 https://gvisor.googlesource.com/gvisor master 7f9c822f536f b9f93868 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/07/03 01:33 https://gvisor.googlesource.com/gvisor master 7f9c822f536f b9f93868 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/07/02 21:57 https://gvisor.googlesource.com/gvisor master 7f9c822f536f b9f93868 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/07/02 20:50 https://gvisor.googlesource.com/gvisor master 7f9c822f536f b9f93868 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/07/02 19:07 https://gvisor.googlesource.com/gvisor master ca353b53ed09 b9f93868 .config console log report ci-gvisor-kvm-proxy-overlay-sandbox
2018/07/02 17:33 https://gvisor.googlesource.com/gvisor master ca353b53ed09 b9f93868 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/07/02 16:30 https://gvisor.googlesource.com/gvisor master ca353b53ed09 b9f93868 .config console log report ci-gvisor-kvm-proxy-overlay-sandbox
2018/07/02 08:59 https://gvisor.googlesource.com/gvisor master ca353b53ed09 664ef9a3 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/07/02 03:26 https://gvisor.googlesource.com/gvisor master ca353b53ed09 664ef9a3 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/07/02 00:01 https://gvisor.googlesource.com/gvisor master ca353b53ed09 664ef9a3 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/07/01 20:02 https://gvisor.googlesource.com/gvisor master ca353b53ed09 664ef9a3 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/07/01 16:09 https://gvisor.googlesource.com/gvisor master ca353b53ed09 664ef9a3 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/07/01 13:59 https://gvisor.googlesource.com/gvisor master ca353b53ed09 664ef9a3 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/07/01 12:03 https://gvisor.googlesource.com/gvisor master ca353b53ed09 664ef9a3 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/07/01 10:03 https://gvisor.googlesource.com/gvisor master ca353b53ed09 664ef9a3 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/07/01 08:38 https://gvisor.googlesource.com/gvisor master ca353b53ed09 664ef9a3 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/07/01 03:11 https://gvisor.googlesource.com/gvisor master ca353b53ed09 664ef9a3 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/06/30 21:28 https://gvisor.googlesource.com/gvisor master ca353b53ed09 664ef9a3 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/06/30 19:45 https://gvisor.googlesource.com/gvisor master ca353b53ed09 664ef9a3 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/06/30 17:09 https://gvisor.googlesource.com/gvisor master ca353b53ed09 5739f7be .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/06/30 14:55 https://gvisor.googlesource.com/gvisor master ca353b53ed09 5739f7be .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/06/30 13:24 https://gvisor.googlesource.com/gvisor master ca353b53ed09 5739f7be .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/06/30 11:43 https://gvisor.googlesource.com/gvisor master ca353b53ed09 5739f7be .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/06/30 07:21 https://gvisor.googlesource.com/gvisor master 1b5e09f968bf 5739f7be .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/06/30 06:20 https://gvisor.googlesource.com/gvisor master 1b5e09f968bf 5739f7be .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/06/30 05:17 https://gvisor.googlesource.com/gvisor master 1b5e09f968bf 5739f7be .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/06/30 03:37 https://gvisor.googlesource.com/gvisor master 1b5e09f968bf 5739f7be .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/06/30 02:08 https://gvisor.googlesource.com/gvisor master 1b5e09f968bf 5739f7be .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/06/29 23:52 https://gvisor.googlesource.com/gvisor master 1b5e09f968bf 5739f7be .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/06/29 22:18 https://gvisor.googlesource.com/gvisor master 1b5e09f968bf 5739f7be .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/06/29 21:16 https://gvisor.googlesource.com/gvisor master 1b5e09f968bf 5739f7be .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/06/29 19:33 https://gvisor.googlesource.com/gvisor master 1b5e09f968bf 5739f7be .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/06/29 18:17 https://gvisor.googlesource.com/gvisor master f93bd2cbe668 5c7ca877 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/06/29 16:50 https://gvisor.googlesource.com/gvisor master f93bd2cbe668 5c7ca877 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/06/29 15:45 https://gvisor.googlesource.com/gvisor master f93bd2cbe668 5c7ca877 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/06/29 14:19 https://gvisor.googlesource.com/gvisor master f93bd2cbe668 5c7ca877 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/06/29 13:15 https://gvisor.googlesource.com/gvisor master f93bd2cbe668 5c7ca877 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/06/22 20:25 https://gvisor.googlesource.com/gvisor master 5d45f88f2c28 b9c7c319 .config console log report ci-gvisor-ptrace-direct-overlay-host
* Struck through repros no longer work on HEAD.