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: 1407d, last: 1400d
Similar bugs (27)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
gvisor panic: Sentry detected stuck tasks (16) 2 5 1134d 1207d 14/26 fixed on 2022/06/10 10:13
gvisor panic: Sentry detected stuck tasks (9) 2 9 1602d 1603d 14/26 fixed on 2021/02/26 03:02
gvisor panic: Sentry detected stuck tasks (14) 2 20 1324d 1369d 14/26 fixed on 2021/12/02 12:02
gvisor panic: Sentry detected stuck tasks (17) 2 C 822 790d 1056d 26/26 fixed on 2023/05/19 14:28
gvisor panic: Sentry detected stuck tasks (20) 2 C 895 699d 702d 26/26 fixed on 2023/08/19 00:55
gvisor panic: Sentry detected stuck tasks 2 C 506 1748d 1768d 0/26 fixed on 2020/10/03 12:41
gvisor panic: Sentry detected stuck tasks (6) 2 syz 714 1637d 1688d 14/26 fixed on 2021/01/22 19:49
gvisor panic: Sentry detected stuck tasks (7) 2 syz 2567 1605d 1636d 14/26 fixed on 2021/02/23 13:36
gvisor panic: Sentry detected stuck tasks (4) 2 C 5 1702d 1703d 0/26 fixed on 2020/11/18 07:03
gvisor panic: Sentry detected stuck tasks (22) 2 5 649d 650d 26/26 fixed on 2023/10/07 05:04
gvisor panic: Sentry detected stuck tasks (8) 2 C 64 1603d 1605d 14/26 fixed on 2021/02/25 13:46
gvisor panic: Sentry detected stuck tasks (13) 2 1 1399d 1399d 14/26 fixed on 2021/09/27 21:02
gvisor panic: Sentry detected stuck tasks (10) 2 C 264 1550d 1602d 14/26 fixed on 2021/04/20 00:15
gvisor panic: Sentry detected stuck tasks (26) 2 C 17 218d 219d 26/26 fixed on 2024/12/11 10:55
gvisor panic: Sentry detected stuck tasks (11) 2 C 31 1416d 1543d 14/26 fixed on 2021/09/03 10:11
gvisor panic: Sentry detected stuck tasks (3) 2 C 180 1703d 1707d 0/26 fixed on 2020/11/17 10:52
gvisor panic: Sentry detected stuck tasks (28) 2 C 11282 84d 188d 26/26 fixed on 2025/04/24 21:44
gvisor panic: Sentry detected stuck tasks (21) 2 64 651d 698d 26/26 fixed on 2023/10/05 23:05
gvisor panic: Sentry detected stuck tasks (2) 2 C 951 1707d 1748d 0/26 fixed on 2020/11/13 09:22
gvisor panic: Sentry detected stuck tasks (5) 2 syz 83 1689d 1702d 0/26 fixed on 2020/12/01 11:18
gvisor panic: Sentry detected stuck tasks (27) 2 C 14 195d 215d 26/26 fixed on 2025/01/07 21:12
gvisor panic: Sentry detected stuck tasks (15) 2 C 2582 1243d 1320d 14/26 fixed on 2022/02/25 14:00
gvisor panic: Sentry detected stuck tasks (25) 2 C 78 220d 249d 26/26 fixed on 2024/12/09 18:01
gvisor panic: Sentry detected stuck tasks (29) 2 C 51 79d 83d 26/26 fixed on 2025/04/30 13:05
gvisor panic: Sentry detected stuck tasks (24) 2 C 13 637d 643d 26/26 fixed on 2023/10/19 08:45
gvisor panic: Sentry detected stuck tasks (23) 2 C 23 644d 649d 26/26 fixed on 2023/10/12 20:28
gvisor panic: Sentry detected stuck tasks (18) 2 C 625 731d 790d 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.