syzbot


panic: Watchdog goroutine is stuck (2)

Status: fixed on 2021/06/11 19:31
Reported-by: syzbot+9898c404fc85208cdcd0@syzkaller.appspotmail.com
Fix commit: 3fcbad509300 Fix lock ordering issue when enumerating cgroup tasks.
First crash: 1276d, last: 1276d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
gvisor panic: Watchdog goroutine is stuck C 1831 1323d 1621d 14/26 fixed on 2021/04/13 18:45
gvisor panic: Watchdog goroutine is stuck (3) C 28 388d 1246d 0/26 moderation: reported C repro on 2021/06/29 10:13

Sample crash report:
panic: Watchdog goroutine is stuck
Stack for running G's are skipped while panicking.

goroutine 27 [running]:
panic(0x10443e0, 0xc0133481e0)
	GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc000607d30 sp=0xc000607c68 pc=0x437c65
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).doAction(0xc0004da080, 0x1, 0x0, 0xc000607e30)
	pkg/sentry/watchdog/watchdog.go:387 +0x565 fp=0xc000607e00 sp=0xc000607d30 pc=0xbc7b25
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).reportStuckWatchdog(0xc0004da080)
	pkg/sentry/watchdog/watchdog.go:352 +0x7c fp=0xc000607e68 sp=0xc000607e00 pc=0xbc759c
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).runTurn(0xc0004da080)
	pkg/sentry/watchdog/watchdog.go:284 +0x5e5 fp=0xc000607f58 sp=0xc000607e68 pc=0xbc71a5
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).loop(0xc0004da080)
	pkg/sentry/watchdog/watchdog.go:262 +0x34 fp=0xc000607fd8 sp=0xc000607f58 pc=0xbc6af4
runtime.goexit()
	src/runtime/asm_amd64.s:1371 +0x1 fp=0xc000607fe0 sp=0xc000607fd8 pc=0x472821
created by gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).Start
	pkg/sentry/watchdog/watchdog.go:212 +0x1b1

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/05/30 03:09 gvisor 30bca3270b9a 325a8dab .config console log report info ci-gvisor-ptrace-2 panic: Watchdog goroutine is stuck
* Struck through repros no longer work on HEAD.