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: 1123d, last: 1117d
Similar bugs (22)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
gvisor panic: Sentry detected stuck tasks (16) 5 851d 924d 14/26 fixed on 2022/06/10 10:13
gvisor panic: Sentry detected stuck tasks (9) 9 1319d 1319d 14/26 fixed on 2021/02/26 03:02
gvisor panic: Sentry detected stuck tasks (14) 20 1040d 1085d 14/26 fixed on 2021/12/02 12:02
gvisor panic: Sentry detected stuck tasks (17) C 822 506d 772d 26/26 fixed on 2023/05/19 14:28
gvisor panic: Sentry detected stuck tasks (20) C 895 416d 418d 26/26 fixed on 2023/08/19 00:55
gvisor panic: Sentry detected stuck tasks C 506 1464d 1485d 0/26 fixed on 2020/10/03 12:41
gvisor panic: Sentry detected stuck tasks (6) syz 714 1353d 1405d 14/26 fixed on 2021/01/22 19:49
gvisor panic: Sentry detected stuck tasks (7) syz 2567 1321d 1353d 14/26 fixed on 2021/02/23 13:36
gvisor panic: Sentry detected stuck tasks (4) C 5 1419d 1419d 0/26 fixed on 2020/11/18 07:03
gvisor panic: Sentry detected stuck tasks (22) 5 366d 366d 26/26 fixed on 2023/10/07 05:04
gvisor panic: Sentry detected stuck tasks (8) C 64 1319d 1321d 14/26 fixed on 2021/02/25 13:46
gvisor panic: Sentry detected stuck tasks (13) 1 1115d 1115d 14/26 fixed on 2021/09/27 21:02
gvisor panic: Sentry detected stuck tasks (10) C 264 1266d 1319d 14/26 fixed on 2021/04/20 00:15
gvisor panic: Sentry detected stuck tasks (11) C 31 1132d 1259d 14/26 fixed on 2021/09/03 10:11
gvisor panic: Sentry detected stuck tasks (3) C 180 1419d 1423d 0/26 fixed on 2020/11/17 10:52
gvisor panic: Sentry detected stuck tasks (21) 64 367d 415d 26/26 fixed on 2023/10/05 23:05
gvisor panic: Sentry detected stuck tasks (2) C 951 1423d 1464d 0/26 fixed on 2020/11/13 09:22
gvisor panic: Sentry detected stuck tasks (5) syz 83 1406d 1418d 0/26 fixed on 2020/12/01 11:18
gvisor panic: Sentry detected stuck tasks (15) C 2582 960d 1037d 14/26 fixed on 2022/02/25 14:00
gvisor panic: Sentry detected stuck tasks (24) C 13 354d 360d 26/26 fixed on 2023/10/19 08:45
gvisor panic: Sentry detected stuck tasks (23) C 23 360d 365d 26/26 fixed on 2023/10/12 20:28
gvisor panic: Sentry detected stuck tasks (18) C 625 447d 506d 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.