syzbot


kvm: panic: Sentry detected stuck tasks (9)

Status: fixed on 2022/09/20 07:30
Reported-by: syzbot+954128c9aa37e285d23c@syzkaller.appspotmail.com
Fix commit: 48e2252b3bac fix panic caused by too-large buffer allocations
First crash: 1141d, last: 1132d
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 1489d 1651d 14/26 fixed on 2021/09/25 08:25
gvisor kvm: panic: Sentry detected stuck tasks (26) -1 C 3 173d 174d 0/26 closed as invalid on 2025/04/25 22:43
gvisor kvm: panic: Sentry detected stuck tasks (7) -1 1 1243d 1236d 14/26 fixed on 2022/06/09 21:04
gvisor kvm: panic: Sentry detected stuck tasks (19) -1 3 702d 700d 26/26 fixed on 2023/11/15 20:33
gvisor kvm: panic: Sentry detected stuck tasks (23) -1 1 575d 575d 0/26 auto-obsoleted due to no activity on 2024/06/25 13:36
gvisor kvm: panic: Sentry detected stuck tasks -1 C 152 1666d 1682d 14/26 fixed on 2021/03/24 13:21
gvisor kvm: panic: Sentry detected stuck tasks (24) -1 C 9 309d 352d 26/26 fixed on 2024/12/11 10:55
gvisor kvm: panic: Sentry detected stuck tasks (6) -1 15 1325d 1335d 14/26 fixed on 2022/03/01 23:36
gvisor kvm: panic: Sentry detected stuck tasks (18) -1 C 3 714d 719d 26/26 fixed on 2023/11/03 12:12
gvisor kvm: panic: Sentry detected stuck tasks (4) -1 C 627 1405d 1433d 14/26 fixed on 2021/12/10 13:30
gvisor kvm: panic: Sentry detected stuck tasks (27) -1 C 5 170d 172d 26/26 fixed on 2025/05/02 08:36
gvisor kvm: panic: Sentry detected stuck tasks (10) -1 3 1066d 1084d 14/26 fixed on 2022/11/30 11:09
gvisor kvm: panic: Sentry detected stuck tasks (22) -1 C 8 681d 691d 26/26 fixed on 2023/12/12 09:56
gvisor kvm: panic: Sentry detected stuck tasks (8) -1 1 1161d 1161d 0/26 closed as invalid on 2022/08/11 16:05
gvisor kvm: panic: Sentry detected stuck tasks (11) -1 1 1047d 1047d 0/26 closed as invalid on 2022/12/05 18:51
gvisor kvm: panic: Sentry detected stuck tasks (21) -1 C 2 696d 697d 26/26 fixed on 2023/11/21 23:47
gvisor kvm: panic: Sentry detected stuck tasks (15) -1 C 186 789d 792d 26/26 fixed on 2023/08/19 00:49
gvisor kvm: panic: Sentry detected stuck tasks (28) -1 C 11 121d 126d 26/26 fixed on 2025/07/10 09:16
gvisor kvm: panic: Sentry detected stuck tasks (20) -1 C 2 700d 700d 26/26 fixed on 2023/11/17 11:27
gvisor kvm: panic: Sentry detected stuck tasks (5) -1 C 65 1336d 1398d 14/26 fixed on 2022/02/18 08:00
gvisor kvm: panic: Sentry detected stuck tasks (25) -1 C 3409 182d 278d 26/26 fixed on 2025/04/24 21:45
gvisor kvm: panic: Sentry detected stuck tasks (3) -1 1 1450d 1450d 0/26 closed as invalid on 2021/10/27 19:47
gvisor kvm: panic: Sentry detected stuck tasks (12) -1 193 859d 1021d 26/26 fixed on 2023/06/10 02:45
gvisor kvm: panic: Sentry detected stuck tasks (14) -1 syz 4 804d 810d 26/26 fixed on 2023/08/08 01:03
gvisor kvm: panic: Sentry detected stuck tasks (17) -1 14 739d 769d 26/26 fixed on 2023/10/09 12:22

Sample crash report:
panic: Sentry detected 1 stuck task(s):
	Task tid: 34525 (goroutine 2369823), entered RunSys state 3m1.96s 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 86 [running]:
panic({0xf2e140, 0xc08ceee770})
	GOROOT/src/runtime/panic.go:941 +0x397 fp=0xc004aabc88 sp=0xc004aabbc8 pc=0x435a77
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).doAction(0xc004aabe08?, 0x1165a9c?, 0x48?, 0xc004aabdb0)
	pkg/sentry/watchdog/watchdog.go:379 +0x345 fp=0xc004aabd48 sp=0xc004aabc88 pc=0xb75fe5
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).report(0xc00065e100, 0xc08c8a9bf0, 0x80?, {0x0?})
	pkg/sentry/watchdog/watchdog.go:338 +0x24e fp=0xc004aabe78 sp=0xc004aabd48 pc=0xb75bce
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).runTurn(0xc00065e100)
	pkg/sentry/watchdog/watchdog.go:320 +0x49b fp=0xc004aabf58 sp=0xc004aabe78 pc=0xb7589b
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).loop(0xc00065e100)
	pkg/sentry/watchdog/watchdog.go:255 +0x29 fp=0xc004aabfc8 sp=0xc004aabf58 pc=0xb75349
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).Start.func2()
	pkg/sentry/watchdog/watchdog.go:206 +0x26 fp=0xc004aabfe0 sp=0xc004aabfc8 pc=0xb74ea6
runtime.goexit()
	src/runtime/asm_amd64.s:1571 +0x1 fp=0xc004aabfe8 sp=0xc004aabfe0 pc=0x469781
created by gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).Start
	pkg/sentry/watchdog/watchdog.go:206 +0x1c5

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/09/09 20:09 gvisor 5819462d8f03 90058bdc .config console log report info ci-gvisor-kvm kvm: panic: Sentry detected stuck tasks
2022/09/01 02:09 gvisor 479fd558e12f b01ec571 .config console log report info ci-gvisor-kvm kvm: panic: Sentry detected stuck tasks
* Struck through repros no longer work on HEAD.