syzbot


panic: Sentry detected stuck tasks (22)

Status: fixed on 2023/10/07 05:04
Fix commit: 44e0d6d07246 Unlock putOldMp before retrying the mount checks in pivot_root.
First crash: 974d, last: 973d
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 1647d 1693d 14/26 fixed on 2021/12/02 12:02
gvisor panic: Sentry detected stuck tasks (17) 2 C 822 1114d 1379d 26/26 fixed on 2023/05/19 14:28
gvisor panic: Sentry detected stuck tasks (12) 2 2 1724d 1724d 14/26 fixed on 2021/09/17 01:50
gvisor panic: Sentry detected stuck tasks (20) 2 C 895 1023d 1025d 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 2012d 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 (8) 2 C 64 1927d 1928d 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 1873d 1926d 14/26 fixed on 2021/04/20 00:15
gvisor panic: Sentry detected stuck tasks (26) 2 C 17 542d 543d 26/26 fixed on 2024/12/11 10:55
gvisor panic: Sentry detected stuck tasks (11) 2 C 31 1739d 1866d 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 261d 303d 26/26 fixed on 2025/09/19 06:07
gvisor panic: Sentry detected stuck tasks (28) 2 C 11282 407d 511d 26/26 fixed on 2025/04/24 21:44
gvisor panic: Sentry detected stuck tasks (21) 2 64 974d 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 246d 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 572d 26/26 fixed on 2024/12/09 18:01
gvisor panic: Sentry detected stuck tasks (29) 2 C 51 402d 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: 21522 (goroutine 586896), entered RunSys state 3m34.35s ago.
	Task tid: 21523 (goroutine 586921), entered RunSys state 3m34.36s 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 242 [running]:
panic({0x10b1200?, 0xc018d1b2d0?})
	GOROOT/src/runtime/panic.go:1017 +0x3ac fp=0xc007f5bc90 sp=0xc007f5bbe0 pc=0x43a72c
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).doAction(0xc007f5bdb8?, 0x132dba7?, 0x50?, 0xc007f5bdb8)
	pkg/sentry/watchdog/watchdog.go:379 +0x385 fp=0xc007f5bd50 sp=0xc007f5bc90 pc=0xbe4d45
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).report(0xc00078e080, 0xc017d48750, 0x0?, {0x0?})
	pkg/sentry/watchdog/watchdog.go:338 +0x285 fp=0xc007f5be80 sp=0xc007f5bd50 pc=0xbe4905
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).runTurn(0xc00078e080)
	pkg/sentry/watchdog/watchdog.go:320 +0x585 fp=0xc007f5bf58 sp=0xc007f5be80 pc=0xbe4565
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).loop(0xc00078e080)
	pkg/sentry/watchdog/watchdog.go:255 +0x37 fp=0xc007f5bfc8 sp=0xc007f5bf58 pc=0xbe3f37
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).Start.func2()
	pkg/sentry/watchdog/watchdog.go:206 +0x25 fp=0xc007f5bfe0 sp=0xc007f5bfc8 pc=0xbe3a85
runtime.goexit()
	src/runtime/asm_amd64.s:1650 +0x1 fp=0xc007f5bfe8 sp=0xc007f5bfe0 pc=0x471241
created by gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).Start in goroutine 1
	pkg/sentry/watchdog/watchdog.go:206 +0x1ec

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/10/07 02:06 gvisor 07b9077bfdcc ea12a918 .config console log report info ci-gvisor-ptrace-2-cover panic: Sentry detected stuck tasks
2023/10/06 21:50 gvisor 07b9077bfdcc ea12a918 .config console log report info ci-gvisor-ptrace-1-race-cover panic: Sentry detected stuck tasks
2023/10/06 18:38 gvisor 15cc3fcbbd77 ea12a918 .config console log report info ci-gvisor-ptrace-1-race-cover panic: Sentry detected stuck tasks
2023/10/06 15:17 gvisor 15cc3fcbbd77 db17ad9f .config console log report info ci-gvisor-ptrace-1-race-cover panic: Sentry detected stuck tasks
2023/10/06 14:24 gvisor 15cc3fcbbd77 db17ad9f .config console log report info ci-gvisor-ptrace-3-cover panic: Sentry detected stuck tasks
* Struck through repros no longer work on HEAD.