syzbot


panic: Sentry detected stuck tasks (12)

Status: fixed on 2021/09/17 01:50
Reported-by: syzbot+71342a1585aed97ed9f7@syzkaller.appspotmail.com
Fix commit: 51b96514cd93 Limit most file mmaps to the range of an int64.
First crash: 1731d, last: 1724d
Similar bugs (32)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
gvisor panic: Sentry detected stuck tasks (16) 2 5 1458d 1531d 14/26 fixed on 2022/06/10 10:13
gvisor panic: Sentry detected stuck tasks (9) 2 9 1926d 1927d 14/26 fixed on 2021/02/26 03:02
gvisor panic: Sentry detected stuck tasks (14) 2 20 1648d 1693d 14/26 fixed on 2021/12/02 12:02
gvisor panic: Sentry detected stuck tasks (17) 2 C 822 1114d 1380d 26/26 fixed on 2023/05/19 14:28
gvisor panic: Sentry detected stuck tasks (20) 2 C 895 1023d 1026d 26/26 fixed on 2023/08/19 00:55
gvisor panic: Sentry detected stuck tasks 2 C 506 2072d 2092d 0/26 fixed on 2020/10/03 12:41
gvisor panic: Sentry detected stuck tasks (6) 2 syz 714 1961d 2013d 14/26 fixed on 2021/01/22 19:49
gvisor panic: Sentry detected stuck tasks (7) 2 syz 2567 1929d 1960d 14/26 fixed on 2021/02/23 13:36
gvisor panic: Sentry detected stuck tasks (4) 2 C 5 2026d 2027d 0/26 fixed on 2020/11/18 07:03
gvisor panic: Sentry detected stuck tasks (22) 2 5 973d 974d 26/26 fixed on 2023/10/07 05:04
gvisor panic: Sentry detected stuck tasks (8) 2 C 64 1927d 1929d 14/26 fixed on 2021/02/25 13:46
gvisor panic: Sentry detected stuck tasks (13) 2 1 1723d 1723d 14/26 fixed on 2021/09/27 21:02
gvisor panic: Sentry detected stuck tasks (10) 2 C 264 1874d 1926d 14/26 fixed on 2021/04/20 00:15
gvisor panic: Sentry detected stuck tasks (26) 2 C 17 543d 544d 26/26 fixed on 2024/12/11 10:55
gvisor panic: Sentry detected stuck tasks (11) 2 C 31 1740d 1867d 14/26 fixed on 2021/09/03 10:11
gvisor panic: Sentry detected stuck tasks (35) 2 syz 41 53d 106d 26/26 fixed on 2026/04/14 23:49
gvisor panic: Sentry detected stuck tasks (3) 2 C 180 2027d 2031d 0/26 fixed on 2020/11/17 10:52
gvisor panic: Sentry detected stuck tasks (31) 2 3 262d 303d 26/26 fixed on 2025/09/19 06:07
gvisor panic: Sentry detected stuck tasks (28) 2 C 11282 408d 512d 26/26 fixed on 2025/04/24 21:44
gvisor panic: Sentry detected stuck tasks (21) 2 64 975d 1022d 26/26 fixed on 2023/10/05 23:05
gvisor panic: Sentry detected stuck tasks (2) 2 C 951 2031d 2072d 0/26 fixed on 2020/11/13 09:22
gvisor panic: Sentry detected stuck tasks (5) 2 syz 83 2013d 2026d 0/26 fixed on 2020/12/01 11:18
gvisor panic: Sentry detected stuck tasks (33) 2 C 13 200d 201d 26/26 fixed on 2025/11/19 02:01
gvisor panic: Sentry detected stuck tasks (27) 2 C 14 519d 539d 26/26 fixed on 2025/01/07 21:12
gvisor panic: Sentry detected stuck tasks (32) 2 5 208d 247d 26/26 fixed on 2025/11/12 21:14
gvisor panic: Sentry detected stuck tasks (15) 2 C 2582 1567d 1644d 14/26 fixed on 2022/02/25 14:00
gvisor panic: Sentry detected stuck tasks (34) 2 2 143d 149d 26/26 fixed on 2026/01/14 10:50
gvisor panic: Sentry detected stuck tasks (25) 2 C 78 544d 573d 26/26 fixed on 2024/12/09 18:01
gvisor panic: Sentry detected stuck tasks (29) 2 C 51 403d 407d 26/26 fixed on 2025/04/30 13:05
gvisor panic: Sentry detected stuck tasks (24) 2 C 13 961d 967d 26/26 fixed on 2023/10/19 08:45
gvisor panic: Sentry detected stuck tasks (23) 2 C 23 968d 973d 26/26 fixed on 2023/10/12 20:28
gvisor panic: Sentry detected stuck tasks (18) 2 C 625 1055d 1114d 26/26 fixed on 2023/07/19 00:35

Sample crash report:
panic: Sentry detected 2 stuck task(s):
	Task tid: 9198 (goroutine 223883), entered RunSys state 3m8.19s ago.
	Task tid: 9196 (goroutine 224124), entered RunSys state 3m8.1s 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 44 [running]:
panic(0x116f500, 0xc00b29c650)
	GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc00688fc58 sp=0xc00688fb90 pc=0x437c65
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).doAction(0xc0001c6700, 0x1, 0x1, 0xc00688fd98)
	pkg/sentry/watchdog/watchdog.go:441 +0x5df fp=0xc00688fd28 sp=0xc00688fc58 pc=0xcaaf5f
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).report(0xc0001c6700, 0xc004f3b080, 0x3b501, 0x23604adf980)
	pkg/sentry/watchdog/watchdog.go:389 +0x355 fp=0xc00688fe60 sp=0xc00688fd28 pc=0xcaa8b5
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).runTurn(0xc0001c6700)
	pkg/sentry/watchdog/watchdog.go:367 +0x5ea fp=0xc00688ff58 sp=0xc00688fe60 pc=0xcaa4aa
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).loop(0xc0001c6700)
	pkg/sentry/watchdog/watchdog.go:287 +0x48 fp=0xc00688ffd8 sp=0xc00688ff58 pc=0xca9de8
runtime.goexit()
	src/runtime/asm_amd64.s:1371 +0x1 fp=0xc00688ffe0 sp=0xc00688ffd8 pc=0x472821
created by gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).Start
	pkg/sentry/watchdog/watchdog.go:226 +0x1da

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/09/16 05:18 gvisor a8ad692fd36c 07e953c1 .config console log report info ci-gvisor-ptrace-2-cover panic: Sentry detected stuck tasks
2021/09/09 12:31 gvisor e90ecdb48885 e2776ee4 .config console log report info ci-gvisor-ptrace-3-cover panic: Sentry detected stuck tasks
* Struck through repros no longer work on HEAD.