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: 576d, last: 539d
Similar bugs (21)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
gvisor kvm: panic: Sentry detected stuck tasks (2) C 66 1290d 1452d 14/26 fixed on 2021/09/25 08:25
gvisor kvm: panic: Sentry detected stuck tasks (7) 1 1044d 1037d 14/26 fixed on 2022/06/09 21:04
gvisor kvm: panic: Sentry detected stuck tasks (19) 3 503d 501d 26/26 fixed on 2023/11/15 20:33
gvisor kvm: panic: Sentry detected stuck tasks (23) 1 376d 376d 0/26 auto-obsoleted due to no activity on 2024/06/25 13:36
gvisor kvm: panic: Sentry detected stuck tasks C 152 1467d 1483d 14/26 fixed on 2021/03/24 13:21
gvisor kvm: panic: Sentry detected stuck tasks (24) C 9 110d 153d 26/26 fixed on 2024/12/11 10:55
gvisor kvm: panic: Sentry detected stuck tasks (6) 15 1125d 1136d 14/26 fixed on 2022/03/01 23:36
gvisor kvm: panic: Sentry detected stuck tasks (18) C 3 515d 520d 26/26 fixed on 2023/11/03 12:12
gvisor kvm: panic: Sentry detected stuck tasks (4) C 627 1206d 1233d 14/26 fixed on 2021/12/10 13:30
gvisor kvm: panic: Sentry detected stuck tasks (10) 3 867d 884d 14/26 fixed on 2022/11/30 11:09
gvisor kvm: panic: Sentry detected stuck tasks (22) C 8 481d 492d 26/26 fixed on 2023/12/12 09:56
gvisor kvm: panic: Sentry detected stuck tasks (8) 1 962d 962d 0/26 closed as invalid on 2022/08/11 16:05
gvisor kvm: panic: Sentry detected stuck tasks (11) 1 848d 848d 0/26 closed as invalid on 2022/12/05 18:51
gvisor kvm: panic: Sentry detected stuck tasks (21) C 2 496d 498d 26/26 fixed on 2023/11/21 23:47
gvisor kvm: panic: Sentry detected stuck tasks (15) C 186 590d 593d 26/26 fixed on 2023/08/19 00:49
gvisor kvm: panic: Sentry detected stuck tasks (20) C 2 500d 500d 26/26 fixed on 2023/11/17 11:27
gvisor kvm: panic: Sentry detected stuck tasks (5) C 65 1137d 1199d 14/26 fixed on 2022/02/18 08:00
gvisor kvm: panic: Sentry detected stuck tasks (9) 2 933d 934d 14/26 fixed on 2022/09/20 07:30
gvisor kvm: panic: Sentry detected stuck tasks (3) 1 1251d 1251d 0/26 closed as invalid on 2021/10/27 19:47
gvisor kvm: panic: Sentry detected stuck tasks (12) 193 660d 822d 26/26 fixed on 2023/06/10 02:45
gvisor kvm: panic: Sentry detected stuck tasks (14) syz 4 605d 611d 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.