syzbot


panic: ptrace status unexpected: got 9, wanted stopped (3)

Status: closed as invalid on 2019/08/13 22:02
Reported-by: syzbot+af9ca25af0bd380606c4@syzkaller.appspotmail.com
First crash: 1970d, last: 1892d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
gvisor panic: ptrace status unexpected: got 9, wanted stopped (2) syz 78 1975d 2128d 0/26 fixed on 2018/12/12 09:36
gvisor panic: ptrace status unexpected: got 9, wanted stopped (4) 142 1183d 1656d 0/26 auto-closed as invalid on 2021/05/17 08:51

Sample crash report:
panic: ptrace status unexpected: got 9, wanted stopped

goroutine 7753 [running]:
gvisor.googlesource.com/gvisor/pkg/sentry/platform/ptrace.(*thread).wait(0xc0008365a0, 0x0, 0x4abf)
	pkg/sentry/platform/ptrace/subprocess.go:323 +0x3fb
gvisor.googlesource.com/gvisor/pkg/sentry/platform/ptrace.(*thread).syscall(0xc0008365a0, 0xc0006eaad0, 0xc0006eac60, 0x6, 0x6)
	pkg/sentry/platform/ptrace/subprocess.go:408 +0x126
gvisor.googlesource.com/gvisor/pkg/sentry/platform/ptrace.(*thread).syscallIgnoreInterrupt(0xc0008365a0, 0xc0008365b0, 0x9, 0xc0006eac60, 0x6, 0x6, 0x2, 0xc0001a3868, 0x1)
	pkg/sentry/platform/ptrace/subprocess.go:428 +0xc2
gvisor.googlesource.com/gvisor/pkg/sentry/platform/ptrace.(*subprocess).syscall(0xc0002c63c0, 0x9, 0xc0006eac60, 0x6, 0x6, 0x0, 0x0, 0x0)
	pkg/sentry/platform/ptrace/subprocess.go:562 +0xe8
gvisor.googlesource.com/gvisor/pkg/sentry/platform/ptrace.(*subprocess).MapFile(0xc0002c63c0, 0x6c0000, 0xc, 0x1bd4000, 0x1bd7000, 0x1, 0x6c3000, 0xc0001a3270)
	pkg/sentry/platform/ptrace/subprocess.go:571 +0x107
gvisor.googlesource.com/gvisor/pkg/sentry/platform/filemem.(*FileMem).MapInto(0xc00013bb00, 0xd1e2a0, 0xc0002c63c0, 0x6c0000, 0x1bd4000, 0x1bd7000, 0x1, 0x2, 0xc0006ead90)
	pkg/sentry/platform/filemem/filemem.go:512 +0xeb
gvisor.googlesource.com/gvisor/pkg/sentry/mm.(*MemoryManager).mapASLocked(0xc0001a3200, 0xc0001a3868, 0x1, 0x6c2000, 0x6c3000, 0x6c2000, 0x6c3000, 0x0)
	pkg/sentry/mm/address_space.go:184 +0x176
gvisor.googlesource.com/gvisor/pkg/sentry/mm.(*MemoryManager).HandleUserFault(0xc0001a3200, 0xd1ec00, 0xc0005b4a80, 0x6c2190, 0x1, 0x7fe8e012ea80, 0x0, 0x1)
	pkg/sentry/mm/syscalls.go:70 +0x27f
gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc0005b4a80, 0xd11960, 0x0)
	pkg/sentry/kernel/task_run.go:251 +0x77b
gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).run(0xc0005b4a80, 0x618)
	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 (21):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/12/13 22:56 https://gvisor.googlesource.com/gvisor master 6253d32cc932 dd2fb82f .config console log report syz C ci-gvisor-ptrace-direct-overlay-host
2018/12/12 18:26 https://gvisor.googlesource.com/gvisor master a2c868a098fc c3b10a5d .config console log report syz C ci-gvisor-ptrace-direct-overlay-host
2018/12/14 01:51 https://gvisor.googlesource.com/gvisor master 6253d32cc932 dd2fb82f .config console log report syz ci-gvisor-kvm-direct-overlay-host-race
2018/12/13 13:25 https://gvisor.googlesource.com/gvisor master f484b6d4c2f1 ecf8ceee .config console log report syz ci-gvisor-kvm-direct-overlay-host-race
2018/12/13 12:44 https://gvisor.googlesource.com/gvisor master f484b6d4c2f1 ecf8ceee .config console log report syz ci-gvisor-ptrace-direct-overlay-host
2018/12/12 14:11 https://gvisor.googlesource.com/gvisor master a2c868a098fc c3b10a5d .config console log report syz ci-gvisor-kvm-direct-overlay-host-race
2019/02/27 12:45 https://gvisor.googlesource.com/gvisor master cff2c57192cc 083cfd0e .config console log report ci-gvisor-main
2019/02/26 14:14 https://gvisor.googlesource.com/gvisor master 52a2abfca43c 8022bafd .config console log report ci-gvisor-kvm-direct-overlay-host-race
2018/12/24 20:51 https://gvisor.googlesource.com/gvisor master 0df0df35fc4a dd2986b4 .config console log report ci-gvisor-kvm-direct-overlay-host-race
2018/12/13 16:33 https://gvisor.googlesource.com/gvisor master f484b6d4c2f1 dd2fb82f .config console log report ci-gvisor-kvm-direct-overlay-host-race
2018/12/13 16:24 https://gvisor.googlesource.com/gvisor master f484b6d4c2f1 dd2fb82f .config console log report ci-gvisor-kvm-direct-overlay-host-race
2018/12/13 16:14 https://gvisor.googlesource.com/gvisor master f484b6d4c2f1 dd2fb82f .config console log report ci-gvisor-main
2018/12/13 14:42 https://gvisor.googlesource.com/gvisor master f484b6d4c2f1 ecf8ceee .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/12/13 12:08 https://gvisor.googlesource.com/gvisor master f484b6d4c2f1 ecf8ceee .config console log report ci-gvisor-kvm-direct-overlay-host-race
2018/12/13 09:24 https://gvisor.googlesource.com/gvisor master f484b6d4c2f1 f3d9d594 .config console log report ci-gvisor-ptrace-proxy-sandbox-race
2018/12/12 22:54 https://gvisor.googlesource.com/gvisor master f93c288dd708 02613a41 .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/12/12 10:49 https://gvisor.googlesource.com/gvisor master a2c868a098fc c3b10a5d .config console log report ci-gvisor-main
2018/12/12 10:49 https://gvisor.googlesource.com/gvisor master a2c868a098fc c3b10a5d .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/12/12 10:44 https://gvisor.googlesource.com/gvisor master a2c868a098fc c3b10a5d .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/12/12 10:00 https://gvisor.googlesource.com/gvisor master a2c868a098fc c3b10a5d .config console log report ci-gvisor-ptrace-direct-overlay-host
2018/12/12 09:37 https://gvisor.googlesource.com/gvisor master a2c868a098fc c3b10a5d .config console log report ci-gvisor-ptrace-direct-overlay-host
* Struck through repros no longer work on HEAD.