syzbot


kvm: panic: Watchdog goroutine is stuck (2)

Status: fixed on 2021/04/13 18:45
Fix commit: f4f6ce337aa8 Don't grab TaskSet mu recursively when reading task state.
First crash: 1340d, last: 1323d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
gvisor kvm: panic: Watchdog goroutine is stuck 240 1341d 1351d 14/26 fixed on 2021/03/26 06:57
gvisor kvm: panic: Watchdog goroutine is stuck (6) C 19 540d 768d 0/26 moderation: reported C repro on 2022/10/20 05:44
gvisor kvm: panic: Watchdog goroutine is stuck (3) C 48 1265d 1315d 14/26 fixed on 2021/06/12 08:48
gvisor kvm: panic: Watchdog goroutine is stuck (5) 16 962d 1136d 0/26 auto-closed as invalid on 2022/07/07 18:38
gvisor kvm: panic: Watchdog goroutine is stuck (4) 18 1186d 1243d 14/26 fixed on 2021/09/25 08:25

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

goroutine 90 [running]:
panic(0x11595e0, 0xc0045a41f0)
	GOROOT/src/runtime/panic.go:1064 +0x545 fp=0xc0004bfcd8 sp=0xc0004bfc10 pc=0x437265
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).doAction(0xc0000e2200, 0x1, 0x0, 0xc0004bfe00)
	pkg/sentry/watchdog/watchdog.go:446 +0x5ff fp=0xc0004bfdd0 sp=0xc0004bfcd8 pc=0xc9377f
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).reportStuckWatchdog(0xc0000e2200)
	pkg/sentry/watchdog/watchdog.go:401 +0x8b fp=0xc0004bfe38 sp=0xc0004bfdd0 pc=0xc9316b
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).runTurn(0xc0000e2200)
	pkg/sentry/watchdog/watchdog.go:319 +0x610 fp=0xc0004bff40 sp=0xc0004bfe38 pc=0xc92d30
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).loop(0xc0000e2200)
	pkg/sentry/watchdog/watchdog.go:292 +0x56 fp=0xc0004bffd8 sp=0xc0004bff40 pc=0xc92616
runtime.goexit()
	src/runtime/asm_amd64.s:1374 +0x1 fp=0xc0004bffe0 sp=0xc0004bffd8 pc=0x4709a1
created by gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).Start
	pkg/sentry/watchdog/watchdog.go:231 +0x1e7

Crashes (110):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/04/13 05:26 gvisor 9c87ef53fde8 bfeda1b1 .config console log report info ci-gvisor-kvm-cover kvm: panic: Watchdog goroutine is stuck
2021/04/13 02:37 gvisor 9c87ef53fde8 bfeda1b1 .config console log report info ci-gvisor-kvm-cover kvm: panic: Watchdog goroutine is stuck
2021/04/12 20:25 gvisor 9c87ef53fde8 bfeda1b1 .config console log report info ci-gvisor-kvm-cover kvm: panic: Watchdog goroutine is stuck
2021/04/12 18:43 gvisor c84ff991240c bfeda1b1 .config console log report info ci-gvisor-kvm kvm: panic: Watchdog goroutine is stuck
2021/04/12 17:11 gvisor c84ff991240c bfeda1b1 .config console log report info ci-gvisor-kvm kvm: panic: Watchdog goroutine is stuck
2021/04/12 15:45 gvisor c84ff991240c bfeda1b1 .config console log report info ci-gvisor-kvm-cover kvm: panic: Watchdog goroutine is stuck
2021/04/12 14:45 gvisor c84ff991240c bfeda1b1 .config console log report info ci-gvisor-kvm-cover kvm: panic: Watchdog goroutine is stuck
2021/04/12 13:54 gvisor c84ff991240c bfeda1b1 .config console log report info ci-gvisor-kvm kvm: panic: Watchdog goroutine is stuck
2021/04/12 12:06 gvisor c84ff991240c bfeda1b1 .config console log report info ci-gvisor-kvm kvm: panic: Watchdog goroutine is stuck
2021/04/12 06:49 gvisor c84ff991240c bfeda1b1 .config console log report info ci-gvisor-kvm kvm: panic: Watchdog goroutine is stuck
2021/04/12 05:39 gvisor c84ff991240c bfeda1b1 .config console log report info ci-gvisor-kvm kvm: panic: Watchdog goroutine is stuck
2021/04/12 02:07 gvisor c84ff991240c bfeda1b1 .config console log report info ci-gvisor-kvm kvm: panic: Watchdog goroutine is stuck
2021/04/12 00:59 gvisor c84ff991240c bfeda1b1 .config console log report info ci-gvisor-kvm-cover kvm: panic: Watchdog goroutine is stuck
2021/04/11 17:18 gvisor c84ff991240c bfeda1b1 .config console log report info ci-gvisor-kvm kvm: panic: Watchdog goroutine is stuck
2021/04/11 16:14 gvisor c84ff991240c bfeda1b1 .config console log report info ci-gvisor-kvm kvm: panic: Watchdog goroutine is stuck
2021/04/11 14:59 gvisor c84ff991240c bfeda1b1 .config console log report info ci-gvisor-kvm-cover kvm: panic: Watchdog goroutine is stuck
2021/04/10 20:20 gvisor d1edabdca016 bfeda1b1 .config console log report info ci-gvisor-kvm kvm: panic: Watchdog goroutine is stuck
2021/04/10 15:12 gvisor d1edabdca016 bfeda1b1 .config console log report info ci-gvisor-kvm kvm: panic: Watchdog goroutine is stuck
2021/04/10 10:28 gvisor d1edabdca016 bfeda1b1 .config console log report info ci-gvisor-kvm kvm: panic: Watchdog goroutine is stuck
2021/04/10 06:02 gvisor d1edabdca016 bfeda1b1 .config console log report info ci-gvisor-kvm-cover kvm: panic: Watchdog goroutine is stuck
2021/04/09 22:16 gvisor 8161ed4110e2 6a81331a .config console log report info ci-gvisor-kvm kvm: panic: Watchdog goroutine is stuck
2021/04/09 09:11 gvisor d7fd00bad141 6a81331a .config console log report info ci-gvisor-kvm-cover kvm: panic: Watchdog goroutine is stuck
2021/04/09 07:36 gvisor 8161ed4110e2 6a81331a .config console log report info ci-gvisor-kvm kvm: panic: Watchdog goroutine is stuck
2021/04/09 05:45 gvisor 8161ed4110e2 6a81331a .config console log report info ci-gvisor-kvm kvm: panic: Watchdog goroutine is stuck
2021/04/08 22:03 gvisor 8161ed4110e2 6a81331a .config console log report info ci-gvisor-kvm kvm: panic: Watchdog goroutine is stuck
2021/04/08 16:08 gvisor 8161ed4110e2 6a81331a .config console log report info ci-gvisor-kvm kvm: panic: Watchdog goroutine is stuck
2021/04/08 01:59 gvisor 8161ed4110e2 6a81331a .config console log report info ci-gvisor-kvm kvm: panic: Watchdog goroutine is stuck
2021/04/07 12:55 gvisor 8161ed4110e2 6a81331a .config console log report info ci-gvisor-kvm kvm: panic: Watchdog goroutine is stuck
2021/04/07 08:49 gvisor 8161ed4110e2 6a81331a .config console log report info ci-gvisor-kvm kvm: panic: Watchdog goroutine is stuck
2021/04/07 05:21 gvisor 8161ed4110e2 6a81331a .config console log report info ci-gvisor-kvm kvm: panic: Watchdog goroutine is stuck
2021/04/07 00:56 gvisor 8161ed4110e2 6a81331a .config console log report info ci-gvisor-kvm kvm: panic: Watchdog goroutine is stuck
2021/04/06 22:34 gvisor 8161ed4110e2 6a81331a .config console log report info ci-gvisor-kvm kvm: panic: Watchdog goroutine is stuck
2021/04/06 14:43 gvisor 8161ed4110e2 6a81331a .config console log report info ci-gvisor-kvm kvm: panic: Watchdog goroutine is stuck
2021/04/06 13:27 gvisor 8161ed4110e2 6a81331a .config console log report info ci-gvisor-kvm kvm: panic: Watchdog goroutine is stuck
2021/04/06 09:05 gvisor 8161ed4110e2 6a81331a .config console log report info ci-gvisor-kvm kvm: panic: Watchdog goroutine is stuck
2021/04/06 08:01 gvisor 8161ed4110e2 6a81331a .config console log report info ci-gvisor-kvm kvm: panic: Watchdog goroutine is stuck
2021/04/06 06:31 gvisor 8161ed4110e2 6a81331a .config console log report info ci-gvisor-kvm kvm: panic: Watchdog goroutine is stuck
2021/04/06 05:13 gvisor 8161ed4110e2 6a81331a .config console log report info ci-gvisor-kvm kvm: panic: Watchdog goroutine is stuck
2021/04/05 21:23 gvisor 8161ed4110e2 6a81331a .config console log report info ci-gvisor-kvm kvm: panic: Watchdog goroutine is stuck
2021/04/05 18:04 gvisor 8161ed4110e2 6a81331a .config console log report info ci-gvisor-kvm-cover kvm: panic: Watchdog goroutine is stuck
2021/04/05 15:34 gvisor 9a8692c82ac5 6a81331a .config console log report info ci-gvisor-kvm kvm: panic: Watchdog goroutine is stuck
2021/04/05 08:22 gvisor 9a8692c82ac5 6a81331a .config console log report info ci-gvisor-kvm-cover kvm: panic: Watchdog goroutine is stuck
2021/04/05 07:11 gvisor 9a8692c82ac5 6a81331a .config console log report info ci-gvisor-kvm kvm: panic: Watchdog goroutine is stuck
2021/04/05 05:41 gvisor 9a8692c82ac5 6a81331a .config console log report info ci-gvisor-kvm kvm: panic: Watchdog goroutine is stuck
2021/04/05 02:47 gvisor 9a8692c82ac5 6a81331a .config console log report info ci-gvisor-kvm-cover kvm: panic: Watchdog goroutine is stuck
2021/04/05 01:21 gvisor 9a8692c82ac5 6a81331a .config console log report info ci-gvisor-kvm-cover kvm: panic: Watchdog goroutine is stuck
2021/04/04 23:59 gvisor 9a8692c82ac5 6a81331a .config console log report info ci-gvisor-kvm-cover kvm: panic: Watchdog goroutine is stuck
2021/04/04 23:52 gvisor 9a8692c82ac5 6a81331a .config console log report info ci-gvisor-kvm-cover kvm: panic: Watchdog goroutine is stuck
2021/04/04 22:11 gvisor 9a8692c82ac5 6a81331a .config console log report info ci-gvisor-kvm-cover kvm: panic: Watchdog goroutine is stuck
2021/03/27 07:55 gvisor fbec65fc3f21 a8529b82 .config console log report info ci-gvisor-kvm-cover kvm: panic: Watchdog goroutine is stuck
* Struck through repros no longer work on HEAD.