syzbot


kvm: panic: Sentry detected stuck tasks (19)

Status: fixed on 2023/11/15 20:33
Reported-by: syzbot+d2dbd395b863584aa133@syzkaller.appspotmail.com
Fix commit: 3ab01aedb874 Refactor the umount algorithm.
First crash: 846d, last: 840d
Similar bugs (26)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
gvisor kvm: panic: Sentry detected stuck tasks (2) -1 C 66 1627d 1790d 14/26 fixed on 2021/09/25 08:25
gvisor kvm: panic: Sentry detected stuck tasks (26) -1 C 3 311d 312d 0/26 closed as invalid on 2025/04/25 22:43
gvisor kvm: panic: Sentry detected stuck tasks (7) -1 1 1381d 1374d 14/26 fixed on 2022/06/09 21:04
gvisor kvm: panic: Sentry detected stuck tasks (23) -1 1 714d 714d 0/26 auto-obsoleted due to no activity on 2024/06/25 13:36
gvisor kvm: panic: Sentry detected stuck tasks -1 C 152 1805d 1821d 14/26 fixed on 2021/03/24 13:21
gvisor kvm: panic: Sentry detected stuck tasks (24) -1 C 9 448d 491d 26/26 fixed on 2024/12/11 10:55
gvisor kvm: panic: Sentry detected stuck tasks (6) -1 15 1463d 1474d 14/26 fixed on 2022/03/01 23:36
gvisor kvm: panic: Sentry detected stuck tasks (18) -1 C 3 853d 858d 26/26 fixed on 2023/11/03 12:12
gvisor kvm: panic: Sentry detected stuck tasks (4) -1 C 627 1544d 1571d 14/26 fixed on 2021/12/10 13:30
gvisor kvm: panic: Sentry detected stuck tasks (27) -1 C 5 309d 311d 26/26 fixed on 2025/05/02 08:36
gvisor kvm: panic: Sentry detected stuck tasks (10) -1 3 1205d 1222d 14/26 fixed on 2022/11/30 11:09
gvisor kvm: panic: Sentry detected stuck tasks (22) -1 C 8 819d 829d 26/26 fixed on 2023/12/12 09:56
gvisor kvm: panic: Sentry detected stuck tasks (8) -1 1 1300d 1300d 0/26 closed as invalid on 2022/08/11 16:05
gvisor kvm: panic: Sentry detected stuck tasks (11) -1 1 1186d 1186d 0/26 closed as invalid on 2022/12/05 18:51
gvisor kvm: panic: Sentry detected stuck tasks (21) -1 C 2 834d 836d 26/26 fixed on 2023/11/21 23:47
gvisor kvm: panic: Sentry detected stuck tasks (15) -1 C 186 928d 931d 26/26 fixed on 2023/08/19 00:49
gvisor kvm: panic: Sentry detected stuck tasks (28) -1 C 11 260d 265d 26/26 fixed on 2025/07/10 09:16
gvisor kvm: panic: Sentry detected stuck tasks (20) -1 C 2 838d 838d 26/26 fixed on 2023/11/17 11:27
gvisor kvm: panic: Sentry detected stuck tasks (29) -1 C 3 106d 107d 26/26 fixed on 2025/11/19 02:01
gvisor kvm: panic: Sentry detected stuck tasks (5) -1 C 65 1475d 1536d 14/26 fixed on 2022/02/18 08:00
gvisor kvm: panic: Sentry detected stuck tasks (25) -1 C 3409 321d 416d 26/26 fixed on 2025/04/24 21:45
gvisor kvm: panic: Sentry detected stuck tasks (9) -1 2 1270d 1272d 14/26 fixed on 2022/09/20 07:30
gvisor kvm: panic: Sentry detected stuck tasks (3) -1 1 1589d 1589d 0/26 closed as invalid on 2021/10/27 19:47
gvisor kvm: panic: Sentry detected stuck tasks (12) -1 193 997d 1160d 26/26 fixed on 2023/06/10 02:45
gvisor kvm: panic: Sentry detected stuck tasks (14) -1 syz 4 943d 948d 26/26 fixed on 2023/08/08 01:03
gvisor kvm: panic: Sentry detected stuck tasks (17) -1 14 877d 907d 26/26 fixed on 2023/10/09 12:22

Sample crash report:
panic: Sentry detected 1 stuck task(s):
	Task tid: 58221 (goroutine 1131653), entered RunSys state 3m41.02s ago.
Search for 'goroutine <id>' in the stack dump to find the offending goroutine(s)
Stack for running G's are skipped while panicking.

goroutine 69 [running]:
panic({0x10eec00?, 0xc00b8a7ff0?})
	GOROOT/src/runtime/panic.go:1017 +0x3ac fp=0xc002c41c90 sp=0xc002c41be0 pc=0x43a72c
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).doAction(0xc000814db8?, 0x1377654?, 0x50?, 0xc002c41db8)
	pkg/sentry/watchdog/watchdog.go:379 +0x385 fp=0xc002c41d50 sp=0xc002c41c90 pc=0xc40d45
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).report(0xc000644280, 0xc006e33d10, 0x0?, {0x0?})
	pkg/sentry/watchdog/watchdog.go:338 +0x285 fp=0xc002c41e80 sp=0xc002c41d50 pc=0xc40905
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).runTurn(0xc000644280)
	pkg/sentry/watchdog/watchdog.go:320 +0x585 fp=0xc002c41f58 sp=0xc002c41e80 pc=0xc40565
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).loop(0xc000644280)
	pkg/sentry/watchdog/watchdog.go:255 +0x37 fp=0xc002c41fc8 sp=0xc002c41f58 pc=0xc3ff37
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).Start.func2()
	pkg/sentry/watchdog/watchdog.go:206 +0x25 fp=0xc002c41fe0 sp=0xc002c41fc8 pc=0xc3fa85
runtime.goexit()
	src/runtime/asm_amd64.s:1650 +0x1 fp=0xc002c41fe8 sp=0xc002c41fe0 pc=0x471241
created by gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).Start in goroutine 1
	pkg/sentry/watchdog/watchdog.go:206 +0x1ec

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/11/13 21:10 gvisor 8c52800156e2 cb976f63 .config console log report info ci-gvisor-kvm-cover kvm: panic: Sentry detected stuck tasks
2023/11/09 04:31 gvisor 65e518c7412d 4862372a .config console log report info ci-gvisor-kvm-cover kvm: panic: Sentry detected stuck tasks
2023/11/08 06:03 gvisor 9115b8d57c56 83211397 .config console log report info ci-gvisor-kvm-cover kvm: panic: Sentry detected stuck tasks
* Struck through repros no longer work on HEAD.