kvm: panic: Sentry detected stuck tasks (24)

Status: fixed on 2024/12/11 10:55
Fix commit: c88ffa321eb9 Returns ENOBUFS when writing to a veth device whose buffer is full.
First crash: 691d, last: 648d
Similar bugs (28)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
gvisor kvm: panic: Sentry detected stuck tasks (2) -1 syz, C 66 1827d 1990d 14/26 fixed on 2021/09/25 08:25
gvisor kvm: panic: Sentry detected stuck tasks (26) -1 syz, C 3 511d 512d 0/26 closed as invalid on 2025/04/25 22:43
gvisor kvm: panic: Sentry detected stuck tasks (7) -1 1 1581d 1574d 14/26 fixed on 2022/06/09 21:04
gvisor kvm: panic: Sentry detected stuck tasks (19) -1 3 1040d 1039d 26/26 fixed on 2023/11/15 20:33
gvisor kvm: panic: Sentry detected stuck tasks (23) -1 1 914d 914d 0/26 auto-obsoleted due to no activity on 2024/06/25 13:36
gvisor kvm: panic: Sentry detected stuck tasks -1 syz, C 152 2005d 2021d 14/26 fixed on 2021/03/24 13:21
gvisor kvm: panic: Sentry detected stuck tasks (6) -1 15 1663d 1674d 14/26 fixed on 2022/03/01 23:36
gvisor kvm: panic: Sentry detected stuck tasks (18) -1 syz, C 3 1052d 1057d 26/26 fixed on 2023/11/03 12:12
gvisor kvm: panic: Sentry detected stuck tasks (4) -1 syz, C 627 1744d 1771d 14/26 fixed on 2021/12/10 13:30
gvisor kvm: panic: Sentry detected stuck tasks (27) -1 syz, C 5 509d 511d 26/26 fixed on 2025/05/02 08:36
gvisor kvm: panic: Sentry detected stuck tasks (10) -1 3 1404d 1422d 14/26 fixed on 2022/11/30 11:09
gvisor kvm: panic: Sentry detected stuck tasks (22) -1 syz, C 8 1019d 1029d 26/26 fixed on 2023/12/12 09:56
gvisor kvm: panic: Sentry detected stuck tasks (8) -1 1 1500d 1500d 0/26 closed as invalid on 2022/08/11 16:05
gvisor kvm: panic: Sentry detected stuck tasks (11) -1 1 1386d 1386d 0/26 closed as invalid on 2022/12/05 18:51
gvisor kvm: panic: Sentry detected stuck tasks (21) -1 syz, C 2 1034d 1036d 26/26 fixed on 2023/11/21 23:47
gvisor kvm: panic: Sentry detected stuck tasks (15) -1 syz, C 186 1128d 1131d 26/26 fixed on 2023/08/19 00:49
gvisor kvm: panic: Sentry detected stuck tasks (31) -1 1 2d16h 2d00h 26/26 fixed on 2026/09/17 23:32
gvisor kvm: panic: Sentry detected stuck tasks (28) -1 syz, C 11 460d 465d 26/26 fixed on 2025/07/10 09:16
gvisor kvm: panic: Sentry detected stuck tasks (20) -1 syz, C 2 1038d 1038d 26/26 fixed on 2023/11/17 11:27
gvisor kvm: panic: Sentry detected stuck tasks (29) -1 syz, C 3 306d 307d 26/26 fixed on 2025/11/19 02:01
gvisor kvm: panic: Sentry detected stuck tasks (5) -1 syz, C 65 1675d 1736d 14/26 fixed on 2022/02/18 08:00
gvisor kvm: panic: Sentry detected stuck tasks (25) -1 syz, C 3409 520d 616d 26/26 fixed on 2025/04/24 21:45
gvisor kvm: panic: Sentry detected stuck tasks (9) -1 2 1470d 1472d 14/26 fixed on 2022/09/20 07:30
gvisor kvm: panic: Sentry detected stuck tasks (3) -1 1 1789d 1789d 0/26 closed as invalid on 2021/10/27 19:47
gvisor kvm: panic: Sentry detected stuck tasks (30) -1 syz, C 15 157d 195d 26/26 fixed on 2026/09/01 02:28
gvisor kvm: panic: Sentry detected stuck tasks (12) -1 193 1197d 1360d 26/26 fixed on 2023/06/10 02:45
gvisor kvm: panic: Sentry detected stuck tasks (14) -1 syz 4 1143d 1148d 26/26 fixed on 2023/08/08 01:03
gvisor kvm: panic: Sentry detected stuck tasks (17) -1 14 1077d 1107d 26/26 fixed on 2023/10/09 12:22

Sample crash report:
panic: Sentry detected 1 stuck task(s):
		Task tid: 57 (goroutine 387), entered RunSys state 3m17.73s 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 16 gp=0xc00054c1c0 m=20 mp=0xc001002708 [running]:
panic({0x1234820?, 0xc0009af310?})
	bazel-out/k8-fastbuild/bin/external/io_bazel_rules_go/stdlib_/src/runtime/panic.go:804 +0x168 fp=0xc000a01c90 sp=0xc000a01be0 pc=0x473fe8
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).doAction(0xc000a01da8?, 0x14f4e24?, 0x50?, 0xc000a01da8)
	pkg/sentry/watchdog/watchdog.go:376 +0x385 fp=0xc000a01d50 sp=0xc000a01c90 pc=0xd1a185
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).report(0xc00018c180, 0xc0011fc780, 0x1, {0x0?})
	pkg/sentry/watchdog/watchdog.go:335 +0x28b fp=0xc000a01e80 sp=0xc000a01d50 pc=0xd19d2b
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).runTurn(0xc00018c180)
	pkg/sentry/watchdog/watchdog.go:317 +0x554 fp=0xc000a01f58 sp=0xc000a01e80 pc=0xd19974
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).loop(0xc00018c180)
	pkg/sentry/watchdog/watchdog.go:254 +0x37 fp=0xc000a01fc8 sp=0xc000a01f58 pc=0xd19377
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).Start.gowrap2()
	pkg/sentry/watchdog/watchdog.go:205 +0x25 fp=0xc000a01fe0 sp=0xc000a01fc8 pc=0xd18ea5
runtime.goexit({})
	src/runtime/asm_amd64.s:1700 +0x1 fp=0xc000a01fe8 sp=0xc000a01fe0 pc=0x47d0c1
created by gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).Start in goroutine 1
	pkg/sentry/watchdog/watchdog.go:205 +0x1ec

Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/12/10 17:13 gvisor 95ca82d87278 cfc402b4 .config console log report syz / log C ci-gvisor-kvm-cover kvm: panic: Sentry detected stuck tasks
2024/11/22 23:29 gvisor 9e0e42b665d5 68da6d95 console log report syz / log C ci-gvisor-kvm kvm: panic: Sentry detected stuck tasks
2024/11/22 23:05 gvisor 9e0e42b665d5 68da6d95 .config console log report syz / log C ci-gvisor-kvm-cover kvm: panic: Sentry detected stuck tasks
2024/11/12 18:22 gvisor e22dc2972791 c819f227 .config console log report info ci-gvisor-kvm-cover kvm: panic: Sentry detected stuck tasks
2024/11/12 14:18 gvisor e22dc2972791 c819f227 .config console log report info ci-gvisor-kvm-cover kvm: panic: Sentry detected stuck tasks
2024/11/11 22:23 gvisor 966dfe550516 75bb1b32 .config console log report info ci-gvisor-kvm-cover kvm: panic: Sentry detected stuck tasks
2024/10/29 10:01 gvisor 6bae0a7b387b 66aeb999 .config console log report info ci-gvisor-kvm-cover kvm: panic: Sentry detected stuck tasks
2024/10/29 04:56 gvisor 6bae0a7b387b 66aeb999 .config console log report info ci-gvisor-kvm-cover kvm: panic: Sentry detected stuck tasks
2024/10/28 15:29 gvisor 0b2cae1b4ea8 9efb3cc7 .config console log report info ci-gvisor-kvm-cover kvm: panic: Sentry detected stuck tasks
* Struck through repros no longer work on HEAD.