syzbot


kvm: panic: Sentry detected stuck tasks (18)

Status: fixed on 2023/11/03 12:12
Reported-by: syzbot+04eded652c6983a32997@syzkaller.appspotmail.com
Fix commit: 429f7c439616 Move rootfs check to inside mountMu.
First crash: 401d, last: 390d
Similar bugs (20)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
gvisor kvm: panic: Sentry detected stuck tasks (2) C 66 1165d 1328d 14/26 fixed on 2021/09/25 08:25
gvisor kvm: panic: Sentry detected stuck tasks (7) 1 919d 912d 14/26 fixed on 2022/06/09 21:04
gvisor kvm: panic: Sentry detected stuck tasks (19) 3 378d 377d 26/26 fixed on 2023/11/15 20:33
gvisor kvm: panic: Sentry detected stuck tasks (23) 1 252d 252d 0/26 auto-obsoleted due to no activity on 2024/06/25 13:36
gvisor kvm: panic: Sentry detected stuck tasks C 152 1343d 1358d 14/26 fixed on 2021/03/24 13:21
gvisor kvm: panic: Sentry detected stuck tasks (6) 15 1001d 1012d 14/26 fixed on 2022/03/01 23:36
gvisor kvm: panic: Sentry detected stuck tasks (4) C 627 1082d 1109d 14/26 fixed on 2021/12/10 13:30
gvisor kvm: panic: Sentry detected stuck tasks (10) 3 742d 760d 14/26 fixed on 2022/11/30 11:09
gvisor kvm: panic: Sentry detected stuck tasks (22) C 8 357d 367d 26/26 fixed on 2023/12/12 09:56
gvisor kvm: panic: Sentry detected stuck tasks (8) 1 838d 838d 0/26 closed as invalid on 2022/08/11 16:05
gvisor kvm: panic: Sentry detected stuck tasks (11) 1 724d 724d 0/26 closed as invalid on 2022/12/05 18:51
gvisor kvm: panic: Sentry detected stuck tasks (21) C 2 372d 374d 26/26 fixed on 2023/11/21 23:47
gvisor kvm: panic: Sentry detected stuck tasks (15) C 186 466d 469d 26/26 fixed on 2023/08/19 00:49
gvisor kvm: panic: Sentry detected stuck tasks (20) C 2 376d 376d 26/26 fixed on 2023/11/17 11:27
gvisor kvm: panic: Sentry detected stuck tasks (5) C 65 1013d 1074d 14/26 fixed on 2022/02/18 08:00
gvisor kvm: panic: Sentry detected stuck tasks (9) 2 808d 810d 14/26 fixed on 2022/09/20 07:30
gvisor kvm: panic: Sentry detected stuck tasks (3) 1 1127d 1127d 0/26 closed as invalid on 2021/10/27 19:47
gvisor kvm: panic: Sentry detected stuck tasks (12) 193 535d 698d 26/26 fixed on 2023/06/10 02:45
gvisor kvm: panic: Sentry detected stuck tasks (14) syz 4 481d 486d 26/26 fixed on 2023/08/08 01:03
gvisor kvm: panic: Sentry detected stuck tasks (17) 14 415d 445d 26/26 fixed on 2023/10/09 12:22

Sample crash report:
panic: Sentry detected 1 stuck task(s):
	Task tid: 26 (goroutine 173), entered RunSys state 3m17.5s 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 43 [running]:
panic({0xfdc700?, 0xc0008175b0?})
	GOROOT/src/runtime/panic.go:1017 +0x3ac fp=0xc00084bc68 sp=0xc00084bbb8 pc=0x43a72c
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).doAction(0xc00084bd90?, 0x125726f?, 0x50?, 0xc00084bd90)
	pkg/sentry/watchdog/watchdog.go:379 +0x32a fp=0xc00084bd28 sp=0xc00084bc68 pc=0xb2b54a
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).report(0xc000190200, 0xc000452870, 0x0?, {0xc0000d3230?})
	pkg/sentry/watchdog/watchdog.go:338 +0x24b fp=0xc00084be58 sp=0xc00084bd28 pc=0xb2b14b
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).runTurn(0xc000190200)
	pkg/sentry/watchdog/watchdog.go:320 +0x505 fp=0xc00084bf58 sp=0xc00084be58 pc=0xb2ae05
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).loop(0xc000190200)
	pkg/sentry/watchdog/watchdog.go:255 +0x25 fp=0xc00084bfc8 sp=0xc00084bf58 pc=0xb2a865
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).Start.func2()
	pkg/sentry/watchdog/watchdog.go:206 +0x25 fp=0xc00084bfe0 sp=0xc00084bfc8 pc=0xb2a385
runtime.goexit()
	src/runtime/asm_amd64.s:1650 +0x1 fp=0xc00084bfe8 sp=0xc00084bfe0 pc=0x471241
created by gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).Start in goroutine 1
	pkg/sentry/watchdog/watchdog.go:206 +0x1cc

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/11/01 18:16 gvisor 4a8f42267b66 69904c9f console log report syz C ci-gvisor-kvm kvm: panic: Sentry detected stuck tasks
2023/11/01 17:54 gvisor 4a8f42267b66 69904c9f .config console log report syz C ci-gvisor-kvm-cover kvm: panic: Sentry detected stuck tasks
2023/10/22 12:05 gvisor 57606c7aa115 361b23dc .config console log report info ci-gvisor-kvm-cover kvm: panic: Sentry detected stuck tasks
* Struck through repros no longer work on HEAD.