syzbot


panic: unable to attach: operation not permitted

Status: auto-closed as invalid on 2019/05/21 00:27
Reported-by: syzbot+ff488a335bc98865f528@syzkaller.appspotmail.com
First crash: 2197d, last: 2196d

Sample crash report:
panic: unable to attach: operation not permitted

goroutine 385 [running]:
gvisor.googlesource.com/gvisor/pkg/sentry/platform/ptrace.(*thread).attach(0xc000320870)
	pkg/sentry/platform/ptrace/subprocess.go:258 +0x39a
gvisor.googlesource.com/gvisor/pkg/sentry/platform/ptrace.(*subprocess).newThread(0xc0001fa500, 0xc000adc1c0)
	pkg/sentry/platform/ptrace/subprocess.go:249 +0xb6
gvisor.googlesource.com/gvisor/pkg/sentry/platform/ptrace.(*subprocess).newThread-fm(0xc0008719d0)
	pkg/sentry/platform/ptrace/subprocess.go:464 +0x42
gvisor.googlesource.com/gvisor/pkg/sentry/platform/ptrace.(*threadPool).lookupOrCreate(0xc0001fa508, 0xc00000d74f, 0xc000871b40, 0xc0003060f8)
	pkg/sentry/platform/ptrace/subprocess.go:96 +0x2d3
gvisor.googlesource.com/gvisor/pkg/sentry/platform/ptrace.(*subprocess).switchToApp(0xc0001fa500, 0xc0003aae40, 0x11e6b80, 0xc000293440, 0x13300)
	pkg/sentry/platform/ptrace/subprocess.go:464 +0x1a4
gvisor.googlesource.com/gvisor/pkg/sentry/platform/ptrace.(*context).Switch(0xc0003aae40, 0x11db840, 0xc0001fa500, 0x11e6b80, 0xc000293440, 0x7f3dffffffff, 0x0, 0x0, 0x0, 0x0)
	pkg/sentry/platform/ptrace/ptrace.go:102 +0x90
gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc0009c0a80, 0x11cd860, 0x0)
	pkg/sentry/kernel/task_run.go:209 +0x26b
gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).run(0xc0009c0a80, 0x65)
	pkg/sentry/kernel/task_run.go:95 +0x27a
created by gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).Start
	pkg/sentry/kernel/task_start.go:279 +0x19e

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/11/22 00:26 https://gvisor.googlesource.com/gvisor master 9d17eba121da 9db828b5 .config console log report ci-gvisor-kvm-direct-overlay-host-race
2018/11/21 05:09 https://gvisor.googlesource.com/gvisor master 9d17eba121da 37a6ea34 .config console log report ci-gvisor-kvm-direct-overlay-host-race
* Struck through repros no longer work on HEAD.