syzbot


kvm: panic: Sentry detected stuck tasks (17)

Status: fixed on 2023/10/09 12:22
Reported-by: syzbot+f9de6dd06e8c0e17a85c@syzkaller.appspotmail.com
Fix commit: 44e0d6d07246 Unlock putOldMp before retrying the mount checks in pivot_root.
First crash: 731d, last: 695d
Similar bugs (25)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
gvisor kvm: panic: Sentry detected stuck tasks (2) -1 C 66 1445d 1608d 14/26 fixed on 2021/09/25 08:25
gvisor kvm: panic: Sentry detected stuck tasks (26) -1 C 3 129d 130d 0/26 closed as invalid on 2025/04/25 22:43
gvisor kvm: panic: Sentry detected stuck tasks (7) -1 1 1199d 1192d 14/26 fixed on 2022/06/09 21:04
gvisor kvm: panic: Sentry detected stuck tasks (19) -1 3 658d 657d 26/26 fixed on 2023/11/15 20:33
gvisor kvm: panic: Sentry detected stuck tasks (23) -1 1 532d 532d 0/26 auto-obsoleted due to no activity on 2024/06/25 13:36
gvisor kvm: panic: Sentry detected stuck tasks -1 C 152 1623d 1639d 14/26 fixed on 2021/03/24 13:21
gvisor kvm: panic: Sentry detected stuck tasks (24) -1 C 9 266d 309d 26/26 fixed on 2024/12/11 10:55
gvisor kvm: panic: Sentry detected stuck tasks (6) -1 15 1281d 1292d 14/26 fixed on 2022/03/01 23:36
gvisor kvm: panic: Sentry detected stuck tasks (18) -1 C 3 671d 675d 26/26 fixed on 2023/11/03 12:12
gvisor kvm: panic: Sentry detected stuck tasks (4) -1 C 627 1362d 1389d 14/26 fixed on 2021/12/10 13:30
gvisor kvm: panic: Sentry detected stuck tasks (27) -1 C 5 127d 129d 26/26 fixed on 2025/05/02 08:36
gvisor kvm: panic: Sentry detected stuck tasks (10) -1 3 1023d 1040d 14/26 fixed on 2022/11/30 11:09
gvisor kvm: panic: Sentry detected stuck tasks (22) -1 C 8 637d 647d 26/26 fixed on 2023/12/12 09:56
gvisor kvm: panic: Sentry detected stuck tasks (8) -1 1 1118d 1118d 0/26 closed as invalid on 2022/08/11 16:05
gvisor kvm: panic: Sentry detected stuck tasks (11) -1 1 1004d 1004d 0/26 closed as invalid on 2022/12/05 18:51
gvisor kvm: panic: Sentry detected stuck tasks (21) -1 C 2 652d 654d 26/26 fixed on 2023/11/21 23:47
gvisor kvm: panic: Sentry detected stuck tasks (15) -1 C 186 746d 749d 26/26 fixed on 2023/08/19 00:49
gvisor kvm: panic: Sentry detected stuck tasks (28) -1 C 11 78d 83d 26/26 fixed on 2025/07/10 09:16
gvisor kvm: panic: Sentry detected stuck tasks (20) -1 C 2 656d 656d 26/26 fixed on 2023/11/17 11:27
gvisor kvm: panic: Sentry detected stuck tasks (5) -1 C 65 1293d 1354d 14/26 fixed on 2022/02/18 08:00
gvisor kvm: panic: Sentry detected stuck tasks (25) -1 C 3409 138d 234d 26/26 fixed on 2025/04/24 21:45
gvisor kvm: panic: Sentry detected stuck tasks (9) -1 2 1088d 1090d 14/26 fixed on 2022/09/20 07:30
gvisor kvm: panic: Sentry detected stuck tasks (3) -1 1 1407d 1407d 0/26 closed as invalid on 2021/10/27 19:47
gvisor kvm: panic: Sentry detected stuck tasks (12) -1 193 815d 978d 26/26 fixed on 2023/06/10 02:45
gvisor kvm: panic: Sentry detected stuck tasks (14) -1 syz 4 761d 766d 26/26 fixed on 2023/08/08 01:03

Sample crash report:
panic: Sentry detected 1 stuck task(s):
	Task tid: 58215 (goroutine 1818213), entered RunSys state 3m19.83s 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 56 [running]:
panic({0x10cf2c0?, 0xc0078a3040?})
	GOROOT/src/runtime/panic.go:1017 +0x3ac fp=0xc000877c90 sp=0xc000877be0 pc=0x43a72c
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).doAction(0xc000877db8?, 0x13518bf?, 0x50?, 0xc000877db8)
	pkg/sentry/watchdog/watchdog.go:379 +0x385 fp=0xc000877d50 sp=0xc000877c90 pc=0xbe7ae5
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).report(0xc000182280, 0xc00b5ecc90, 0x80?, {0x0?})
	pkg/sentry/watchdog/watchdog.go:338 +0x285 fp=0xc000877e80 sp=0xc000877d50 pc=0xbe76a5
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).runTurn(0xc000182280)
	pkg/sentry/watchdog/watchdog.go:320 +0x585 fp=0xc000877f58 sp=0xc000877e80 pc=0xbe7305
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).loop(0xc000182280)
	pkg/sentry/watchdog/watchdog.go:255 +0x37 fp=0xc000877fc8 sp=0xc000877f58 pc=0xbe6cd7
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).Start.func2()
	pkg/sentry/watchdog/watchdog.go:206 +0x25 fp=0xc000877fe0 sp=0xc000877fc8 pc=0xbe6825
runtime.goexit()
	src/runtime/asm_amd64.s:1650 +0x1 fp=0xc000877fe8 sp=0xc000877fe0 pc=0x471241
created by gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).Start in goroutine 1
	pkg/sentry/watchdog/watchdog.go:206 +0x1ec

Crashes (14):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/10/08 04:42 gvisor 85701f569ba8 5e837c76 .config console log report info ci-gvisor-kvm-cover kvm: panic: Sentry detected stuck tasks
2023/10/07 00:08 gvisor 07b9077bfdcc ea12a918 .config console log report info ci-gvisor-kvm-cover kvm: panic: Sentry detected stuck tasks
2023/10/07 00:08 gvisor 07b9077bfdcc ea12a918 .config console log report info ci-gvisor-kvm-cover kvm: panic: Sentry detected stuck tasks
2023/10/06 12:54 gvisor 15cc3fcbbd77 db17ad9f .config console log report info ci-gvisor-kvm-cover kvm: panic: Sentry detected stuck tasks
2023/10/05 09:43 gvisor e0bdd0d57680 b7d7ff54 console log report info ci-gvisor-kvm kvm: panic: Sentry detected stuck tasks
2023/10/05 03:19 gvisor e0bdd0d57680 b7d7ff54 console log report info ci-gvisor-kvm kvm: panic: Sentry detected stuck tasks
2023/10/04 23:14 gvisor e0bdd0d57680 b7d7ff54 .config console log report info ci-gvisor-kvm-cover kvm: panic: Sentry detected stuck tasks
2023/10/02 12:45 gvisor 0e18a826d91d 0c7326f3 .config console log report info ci-gvisor-kvm-cover kvm: panic: Sentry detected stuck tasks
2023/09/29 00:14 gvisor 0e18a826d91d d265efd8 .config console log report info ci-gvisor-kvm-cover kvm: panic: Sentry detected stuck tasks
2023/09/28 17:08 gvisor 0e18a826d91d 0aebb3ae console log report info ci-gvisor-kvm kvm: panic: Sentry detected stuck tasks
2023/09/19 19:48 gvisor 8675708cb835 7c97d670 .config console log report info ci-gvisor-kvm-cover kvm: panic: Sentry detected stuck tasks
2023/09/17 06:27 gvisor 313485846896 7c97d670 .config console log report info ci-gvisor-kvm-cover kvm: panic: Sentry detected stuck tasks
2023/09/15 23:06 gvisor 36b9b19daca9 7c97d670 .config console log report info ci-gvisor-kvm-cover kvm: panic: Sentry detected stuck tasks
2023/09/02 00:23 gvisor c2a7efe6a230 696ea0d2 .config console log report info ci-gvisor-kvm-cover kvm: panic: Sentry detected stuck tasks
* Struck through repros no longer work on HEAD.