syzbot


kvm: panic: Sentry detected stuck tasks (27)

Status: fixed on 2025/05/02 08:36
Fix commit: 1a3d4f6eb7cc Create a separate mutex for packet mmap fields in packet endpoints.
First crash: 128d, last: 126d
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 1444d 1607d 14/26 fixed on 2021/09/25 08:25
gvisor kvm: panic: Sentry detected stuck tasks (26) -1 C 3 128d 129d 0/26 closed as invalid on 2025/04/25 22:43
gvisor kvm: panic: Sentry detected stuck tasks (7) -1 1 1198d 1191d 14/26 fixed on 2022/06/09 21:04
gvisor kvm: panic: Sentry detected stuck tasks (19) -1 3 657d 656d 26/26 fixed on 2023/11/15 20:33
gvisor kvm: panic: Sentry detected stuck tasks (23) -1 1 531d 531d 0/26 auto-obsoleted due to no activity on 2024/06/25 13:36
gvisor kvm: panic: Sentry detected stuck tasks -1 C 152 1622d 1638d 14/26 fixed on 2021/03/24 13:21
gvisor kvm: panic: Sentry detected stuck tasks (24) -1 C 9 265d 308d 26/26 fixed on 2024/12/11 10:55
gvisor kvm: panic: Sentry detected stuck tasks (6) -1 15 1280d 1291d 14/26 fixed on 2022/03/01 23:36
gvisor kvm: panic: Sentry detected stuck tasks (18) -1 C 3 669d 674d 26/26 fixed on 2023/11/03 12:12
gvisor kvm: panic: Sentry detected stuck tasks (4) -1 C 627 1361d 1388d 14/26 fixed on 2021/12/10 13:30
gvisor kvm: panic: Sentry detected stuck tasks (10) -1 3 1021d 1039d 14/26 fixed on 2022/11/30 11:09
gvisor kvm: panic: Sentry detected stuck tasks (22) -1 C 8 636d 646d 26/26 fixed on 2023/12/12 09:56
gvisor kvm: panic: Sentry detected stuck tasks (8) -1 1 1117d 1117d 0/26 closed as invalid on 2022/08/11 16:05
gvisor kvm: panic: Sentry detected stuck tasks (11) -1 1 1003d 1003d 0/26 closed as invalid on 2022/12/05 18:51
gvisor kvm: panic: Sentry detected stuck tasks (21) -1 C 2 651d 653d 26/26 fixed on 2023/11/21 23:47
gvisor kvm: panic: Sentry detected stuck tasks (15) -1 C 186 745d 748d 26/26 fixed on 2023/08/19 00:49
gvisor kvm: panic: Sentry detected stuck tasks (28) -1 C 11 77d 81d 26/26 fixed on 2025/07/10 09:16
gvisor kvm: panic: Sentry detected stuck tasks (20) -1 C 2 655d 655d 26/26 fixed on 2023/11/17 11:27
gvisor kvm: panic: Sentry detected stuck tasks (5) -1 C 65 1292d 1353d 14/26 fixed on 2022/02/18 08:00
gvisor kvm: panic: Sentry detected stuck tasks (25) -1 C 3409 137d 233d 26/26 fixed on 2025/04/24 21:45
gvisor kvm: panic: Sentry detected stuck tasks (9) -1 2 1087d 1089d 14/26 fixed on 2022/09/20 07:30
gvisor kvm: panic: Sentry detected stuck tasks (3) -1 1 1406d 1406d 0/26 closed as invalid on 2021/10/27 19:47
gvisor kvm: panic: Sentry detected stuck tasks (12) -1 193 814d 977d 26/26 fixed on 2023/06/10 02:45
gvisor kvm: panic: Sentry detected stuck tasks (14) -1 syz 4 760d 765d 26/26 fixed on 2023/08/08 01:03
gvisor kvm: panic: Sentry detected stuck tasks (17) -1 14 694d 724d 26/26 fixed on 2023/10/09 12:22

Sample crash report:
panic: Sentry detected 2 stuck task(s):
		Task tid: 41 (goroutine 327), entered RunSys state 3m20.42s ago.
		Task tid: 42 (goroutine 309), entered RunSys state 3m20.42s 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 114 gp=0xc000980700 m=14 mp=0xc000103108 [running]:
panic({0x128f9a0?, 0xc000aa6e40?})
	bazel-out/k8-fastbuild/bin/external/io_bazel_rules_go/stdlib_/src/runtime/panic.go:804 +0x168 fp=0xc000b0ac90 sp=0xc000b0abe0 pc=0x4741a8
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).doAction(0xc000b0ae00?, 0x155d762?, 0x42?, 0xc000b0ada8)
	pkg/sentry/watchdog/watchdog.go:376 +0x385 fp=0xc000b0ad50 sp=0xc000b0ac90 pc=0xd36685
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).report(0xc00018c100, 0xc000956f60, 0x1, {0x0?})
	pkg/sentry/watchdog/watchdog.go:335 +0x28b fp=0xc000b0ae80 sp=0xc000b0ad50 pc=0xd3622b
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).runTurn(0xc00018c100)
	pkg/sentry/watchdog/watchdog.go:317 +0x554 fp=0xc000b0af58 sp=0xc000b0ae80 pc=0xd35e74
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).loop(0xc00018c100)
	pkg/sentry/watchdog/watchdog.go:254 +0x37 fp=0xc000b0afc8 sp=0xc000b0af58 pc=0xd35877
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).Start.gowrap2()
	pkg/sentry/watchdog/watchdog.go:205 +0x25 fp=0xc000b0afe0 sp=0xc000b0afc8 pc=0xd353a5
runtime.goexit({})
	src/runtime/asm_amd64.s:1700 +0x1 fp=0xc000b0afe8 sp=0xc000b0afe0 pc=0x47d261
created by gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).Start in goroutine 1
	pkg/sentry/watchdog/watchdog.go:205 +0x1ec

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/04/26 14:03 gvisor 60ec4e7a009d c6b4fb39 .config console log report syz / log C ci-gvisor-kvm-cover kvm: panic: Sentry detected stuck tasks
2025/04/28 09:41 gvisor 58415ad1a884 c6b4fb39 console log report info ci-gvisor-kvm kvm: panic: Sentry detected stuck tasks
2025/04/27 20:21 gvisor 90ce1abe0986 c6b4fb39 console log report info ci-gvisor-kvm kvm: panic: Sentry detected stuck tasks
2025/04/27 15:43 gvisor 60ec4e7a009d c6b4fb39 console log report info ci-gvisor-kvm kvm: panic: Sentry detected stuck tasks
2025/04/26 23:51 gvisor 60ec4e7a009d c6b4fb39 console log report info ci-gvisor-kvm kvm: panic: Sentry detected stuck tasks
* Struck through repros no longer work on HEAD.