syzbot


gvisor boot error: panic: nested locking: kernel.taskSetRWMutex:

Status: closed as invalid on 2022/06/09 20:33
First crash: 902d, last: 902d

Sample crash report:
panic: nested locking: kernel.taskSetRWMutex:
goroutine 1 [running]:
gvisor.dev/gvisor/pkg/log.Stacks(0x60)
	pkg/log/log.go:316 +0xd3
gvisor.dev/gvisor/pkg/sync/locking.AddGLock(0xc00046cd80, 0x0)
	pkg/sync/locking/lockdep.go:105 +0x499
gvisor.dev/gvisor/pkg/sentry/kernel.(*taskSetRWMutex).RLock(0xc00016a2a0)
	bazel-out/k8-fastbuild-ST-a4501ad48192/bin/pkg/sentry/kernel/taskset_mutex.go:46 +0x53
gvisor.dev/gvisor/pkg/sentry/kernel.(*PIDNamespace).ThreadGroupsAppend(0xc00016a240, {0xc000534020, 0x0, 0x1})
	pkg/sentry/kernel/threads.go:296 +0x9d
gvisor.dev/gvisor/pkg/sentry/kernel.(*kernelCPUClockTicker).NotifyTimer(0xc0004b2630, 0x408d45, {0x40, {0xc0002f0ed8}, 0x989680})
	pkg/sentry/kernel/task_sched.go:365 +0x149
gvisor.dev/gvisor/pkg/sentry/kernel/time.(*Timer).SwapAnd(0xc00055e180, {0xa7, {0x470e65}, 0x5a4ab9}, 0x0)
	pkg/sentry/kernel/time/time.go:634 +0x32f
gvisor.dev/gvisor/pkg/sentry/kernel/time.(*Timer).Swap(0xc0007280d0, {0x65, {0x449434}, 0x16b5220})
	pkg/sentry/kernel/time/time.go:603 +0x65
gvisor.dev/gvisor/pkg/sentry/kernel.(*Kernel).incRunningTasks(0xc000728000)
	pkg/sentry/kernel/kernel.go:1289 +0x285
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).accountTaskGoroutineLeave(0xc0003c2a80, 0x0)
	pkg/sentry/kernel/task_sched.go:142 +0xa5
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start(0xc0003c2a80)
	pkg/sentry/kernel/task_start.go:362 +0x149
gvisor.dev/gvisor/pkg/sentry/kernel.(*Kernel).Start(0xc000728000)
	pkg/sentry/kernel/kernel.go:1127 +0x452
gvisor.dev/gvisor/runsc/boot.(*Loader).run(0xc0001f6000)
	runsc/boot/loader.go:685 +0xae5
gvisor.dev/gvisor/runsc/boot.(*Loader).Run(0xc0001f6000)
	runsc/boot/loader.go:578 +0x31
gvisor.dev/gvisor/runsc/cmd.(*Boot).Execute(0xc0004cc000, {0xc000202dd0, 0xd}, 0xc0003e0fc0, {0xc00021cf80, 0x2, 0x53cd2a})
	runsc/cmd/boot.go:326 +0x1445
github.com/google/subcommands.(*Commander).Execute(0xc00023e000, {0x1c45e50, 0xc000224008}, {0xc00021cf80, 0x2, 0x2})
	external/com_github_google_subcommands/subcommands.go:200 +0x70a
github.com/google/subcommands.Execute(...)
	external/com_github_google_subcommands/subcommands.go:481
gvisor.dev/gvisor/runsc/cli.Main({0x1c38460, 0x23})
	runsc/cli/main.go:241 +0x2785
main.main()
	runsc/main.go:23 +0x3d

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/06/07 17:47 gvisor e64458ff08b6 b2706118 .config console log report ci-gvisor-ptrace-2-race-cover gvisor boot error: panic: nested locking: kernel.taskSetRWMutex:
* Struck through repros no longer work on HEAD.