syzbot


panic: nested locking: kernel.taskSetRWMutex: (2)

Status: moderation: reported C repro on 2022/12/27 17:44
Reported-by: syzbot+412ff8057141db8c7ff1@syzkaller.appspotmail.com
First crash: 706d, last: 706d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
gvisor panic: nested locking: kernel.taskSetRWMutex: C 2 815d 815d 14/26 fixed on 2022/10/26 08:58

Sample crash report:
panic: nested locking: kernel.taskSetRWMutex:
goroutine 154 [running]:
gvisor.dev/gvisor/pkg/sentry/kernel.(*taskSetRWMutex).RLock(0xc0001ace00)
	bazel-out/k8-fastbuild-ST-3dcbe13c9b87/bin/pkg/sentry/kernel/taskset_mutex.go:59 +0x58
gvisor.dev/gvisor/pkg/sentry/kernel.(*ThreadGroup).Leader(0xc0001bb000)
	pkg/sentry/kernel/threads.go:403 +0x8b
gvisor.dev/gvisor/pkg/sentry/kernel/fasync.(*FileAsync).NotifyEvent(0xc0002a43f0, 0x1)
	pkg/sentry/kernel/fasync/fasync.go:102 +0x225
gvisor.dev/gvisor/pkg/waiter.(*Queue).Notify(0xc000550a30, 0x1)
	pkg/waiter/waiter.go:237 +0x106
gvisor.dev/gvisor/pkg/sentry/fsimpl/signalfd.(*SignalFileDescription).NotifyEvent(0xc0005509c0, 0xb?)
	pkg/sentry/fsimpl/signalfd/signalfd.go:147 +0x4b
gvisor.dev/gvisor/pkg/waiter.(*Queue).Notify(0xc0005e3bf0, 0x400)
	pkg/waiter/waiter.go:237 +0x106
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).canReceiveSignalLocked(0xc0005e3500, 0xb)
	pkg/sentry/kernel/task_signals.go:526 +0x7e
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).sendSignalTimerLocked(0xc0005e3500, 0xc000900500, 0x0, 0x0)
	pkg/sentry/kernel/task_signals.go:469 +0x43e
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).sendSignalLocked(0xc000146470?, 0xc0005e3500?, 0x8?)
	pkg/sentry/kernel/task_signals.go:407 +0x53
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).SendSignal(0xc0005e3500, 0x4bfe13?)
	pkg/sentry/kernel/task_signals.go:384 +0x21b
gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc0005e3500?, 0xc0005e3500)
	pkg/sentry/kernel/task_run.go:316 +0x1d88
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc0005e3500, 0xe)
	pkg/sentry/kernel/task_run.go:94 +0x2cc
created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start
	pkg/sentry/kernel/task_start.go:377 +0x1da

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/12/20 18:05 gvisor 2342c658c7c2 4791c8e9 .config console log report syz C ci-gvisor-ptrace-3-race-cover panic: nested locking: kernel.taskSetRWMutex:
2022/12/20 17:58 gvisor 2342c658c7c2 4791c8e9 .config console log report syz C ci-gvisor-ptrace-3-race panic: nested locking: kernel.taskSetRWMutex:
2022/12/20 17:49 gvisor 2342c658c7c2 4791c8e9 .config console log report syz C ci-gvisor-ptrace-2-race panic: nested locking: kernel.taskSetRWMutex:
2022/12/20 17:40 gvisor 2342c658c7c2 4791c8e9 .config console log report syz C ci-gvisor-ptrace-1-race panic: nested locking: kernel.taskSetRWMutex:
2022/12/20 17:25 gvisor 2342c658c7c2 4791c8e9 .config console log report info ci-gvisor-ptrace-1-race panic: nested locking: kernel.taskSetRWMutex:
* Struck through repros no longer work on HEAD.