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: 1675d, last: 1668d
Similar bugs (31)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
gvisor panic: Sentry detected stuck tasks (16) 2 5 1402d 1475d 14/26 fixed on 2022/06/10 10:13
gvisor panic: Sentry detected stuck tasks (9) 2 9 1870d 1870d 14/26 fixed on 2021/02/26 03:02
gvisor panic: Sentry detected stuck tasks (14) 2 20 1591d 1637d 14/26 fixed on 2021/12/02 12:02
gvisor panic: Sentry detected stuck tasks (17) 2 C 822 1058d 1323d 26/26 fixed on 2023/05/19 14:28
gvisor panic: Sentry detected stuck tasks (20) 2 C 895 967d 969d 26/26 fixed on 2023/08/19 00:55
gvisor panic: Sentry detected stuck tasks 2 C 506 2016d 2036d 0/26 fixed on 2020/10/03 12:41
gvisor panic: Sentry detected stuck tasks (6) 2 syz 714 1904d 1956d 14/26 fixed on 2021/01/22 19:49
gvisor panic: Sentry detected stuck tasks (7) 2 syz 2567 1873d 1904d 14/26 fixed on 2021/02/23 13:36
gvisor panic: Sentry detected stuck tasks (4) 2 C 5 1970d 1970d 0/26 fixed on 2020/11/18 07:03
gvisor panic: Sentry detected stuck tasks (22) 2 5 917d 917d 26/26 fixed on 2023/10/07 05:04
gvisor panic: Sentry detected stuck tasks (8) 2 C 64 1871d 1872d 14/26 fixed on 2021/02/25 13:46
gvisor panic: Sentry detected stuck tasks (13) 2 1 1667d 1667d 14/26 fixed on 2021/09/27 21:02
gvisor panic: Sentry detected stuck tasks (10) 2 C 264 1817d 1870d 14/26 fixed on 2021/04/20 00:15
gvisor panic: Sentry detected stuck tasks (26) 2 C 17 486d 487d 26/26 fixed on 2024/12/11 10:55
gvisor panic: Sentry detected stuck tasks (11) 2 C 31 1683d 1810d 14/26 fixed on 2021/09/03 10:11
gvisor panic: Sentry detected stuck tasks (3) 2 C 180 1971d 1975d 0/26 fixed on 2020/11/17 10:52
gvisor panic: Sentry detected stuck tasks (31) 2 3 205d 247d 26/26 fixed on 2025/09/19 06:07
gvisor panic: Sentry detected stuck tasks (28) 2 C 11282 351d 455d 26/26 fixed on 2025/04/24 21:44
gvisor panic: Sentry detected stuck tasks (21) 2 64 918d 966d 26/26 fixed on 2023/10/05 23:05
gvisor panic: Sentry detected stuck tasks (2) 2 C 951 1975d 2015d 0/26 fixed on 2020/11/13 09:22
gvisor panic: Sentry detected stuck tasks (5) 2 syz 83 1957d 1970d 0/26 fixed on 2020/12/01 11:18
gvisor panic: Sentry detected stuck tasks (33) 2 C 13 144d 145d 26/26 fixed on 2025/11/19 02:01
gvisor panic: Sentry detected stuck tasks (27) 2 C 14 463d 483d 26/26 fixed on 2025/01/07 21:12
gvisor panic: Sentry detected stuck tasks (32) 2 5 152d 190d 26/26 fixed on 2025/11/12 21:14
gvisor panic: Sentry detected stuck tasks (15) 2 C 2582 1511d 1588d 14/26 fixed on 2022/02/25 14:00
gvisor panic: Sentry detected stuck tasks (34) 2 2 87d 93d 26/26 fixed on 2026/01/14 10:50
gvisor panic: Sentry detected stuck tasks (25) 2 C 78 487d 516d 26/26 fixed on 2024/12/09 18:01
gvisor panic: Sentry detected stuck tasks (29) 2 C 51 346d 351d 26/26 fixed on 2025/04/30 13:05
gvisor panic: Sentry detected stuck tasks (24) 2 C 13 905d 911d 26/26 fixed on 2023/10/19 08:45
gvisor panic: Sentry detected stuck tasks (23) 2 C 23 912d 917d 26/26 fixed on 2023/10/12 20:28
gvisor panic: Sentry detected stuck tasks (18) 2 C 625 999d 1057d 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.