syzbot


panic: stub thread ADDR failed: err 0x-ADDR line NUM: sysmsg.Msg{msg: ADDR state NUM err -ADDR line NUM debug NUM app st

Status: fixed on 2024/02/07 01:27
Fix commit: fe66cae2edc7 Enumerate known systrap stub failures to exit process cleanly.
First crash: 319d, last: 319d

Sample crash report:
panic: stub thread 288278 failed: err 0x-21522153 line 201: sysmsg.Msg{msg: 7ffb19c9f0c8 state 0 err -21522153 line 201 debug 0 app stack 0 context 7ffb21c9b000 ThreadID 1}

goroutine 278 [running]:
panic({0x1014d00?, 0xc0004d61f0?})
	GOROOT/src/runtime/panic.go:1017 +0x3ac fp=0xc000333c78 sp=0xc000333bc8 pc=0x43a74c
gvisor.dev/gvisor/pkg/sentry/platform/systrap.(*subprocess).switchToApp(0xc0005e6000, 0xc0002371e0, 0xc000032870)
	pkg/sentry/platform/systrap/subprocess.go:756 +0x614 fp=0xc000333d58 sp=0xc000333c78 pc=0xced214
gvisor.dev/gvisor/pkg/sentry/platform/systrap.(*context).Switch(0xc0002371e0, {0x1483798, 0xc000369500}, {0x147ea20, 0xc0005ce000}, 0xc000032870, 0x0?)
	pkg/sentry/platform/systrap/systrap.go:180 +0xc7 fp=0xc000333e10 sp=0xc000333d58 pc=0xcf3c07
gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc0002e6380?, 0xc000369500)
	pkg/sentry/kernel/task_run.go:252 +0x837 fp=0xc000333f48 sp=0xc000333e10 pc=0x99f2d7
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc000369500, 0x9)
	pkg/sentry/kernel/task_run.go:98 +0x1ef fp=0xc000333fc0 sp=0xc000333f48 pc=0x99e3ef
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1()
	pkg/sentry/kernel/task_start.go:392 +0x25 fp=0xc000333fe0 sp=0xc000333fc0 pc=0x9a94c5
runtime.goexit()
	src/runtime/asm_amd64.s:1650 +0x1 fp=0xc000333fe8 sp=0xc000333fe0 pc=0x471261
created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start in goroutine 112
	pkg/sentry/kernel/task_start.go:392 +0xe5

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/11 20:48 gvisor 8053cd8f0bf6 dda5a988 console log report syz C ci-gvisor-systrap-1 panic: stub thread ADDR failed: err 0x-ADDR line NUM: sysmsg.Msg{msg: ADDR state NUM err -ADDR line NUM debug NUM app st
2024/01/11 20:42 gvisor 8053cd8f0bf6 dda5a988 .config console log report syz C ci-gvisor-systrap-1-race-cover panic: stub thread ADDR failed: err 0x-ADDR line NUM: sysmsg.Msg{msg: ADDR state NUM err -ADDR line NUM debug NUM app st
2024/01/11 20:33 gvisor 8053cd8f0bf6 dda5a988 .config console log report syz C ci-gvisor-systrap-1-race panic: stub thread ADDR failed: err 0x-ADDR line NUM: sysmsg.Msg{msg: ADDR state NUM err -ADDR line NUM debug NUM app st
2024/01/11 20:16 gvisor 8053cd8f0bf6 dda5a988 .config console log report syz C ci-gvisor-systrap-1-cover panic: stub thread ADDR failed: err 0x-ADDR line NUM: sysmsg.Msg{msg: ADDR state NUM err -ADDR line NUM debug NUM app st
2024/01/11 20:10 gvisor 8053cd8f0bf6 dda5a988 .config console log report info ci-gvisor-systrap-1-cover panic: stub thread ADDR failed: err 0x-ADDR line NUM: sysmsg.Msg{msg: ADDR state NUM err -ADDR line NUM debug NUM app st
* Struck through repros no longer work on HEAD.