panic: WARNING: circular locking detected: kernel.taskMutex -> kernel.taskSetRWMutex: goroutine 982242 [running]: gvisor.dev/gvisor/pkg/log.Stacks(0x40?) pkg/log/log.go:318 +0x8d gvisor.dev/gvisor/pkg/sync/locking.checkLock(0xc000123000, 0xc000122f80, {0x0, 0x0, 0x0}) pkg/sync/locking/lockdep.go:56 +0x1f4 gvisor.dev/gvisor/pkg/sync/locking.AddGLock(0xc000123000, 0x0) pkg/sync/locking/lockdep.go:107 +0x3ba gvisor.dev/gvisor/pkg/sentry/kernel.(*taskSetRWMutex).RLock(0xc000397960) bazel-out/k8-fastbuild-ST-3dcbe13c9b87/bin/pkg/sentry/kernel/taskset_mutex.go:46 +0x3f gvisor.dev/gvisor/pkg/sentry/kernel.(*ThreadGroup).Leader(0xc004d64000) pkg/sentry/kernel/threads.go:403 +0x6b gvisor.dev/gvisor/pkg/sentry/syscalls/linux.doProcessVMReadWrite.func2() pkg/sentry/syscalls/linux/sys_process_vm.go:145 +0x5f gvisor.dev/gvisor/pkg/sentry/kernel.(*taskCopyContext).WithTaskMutexLocked(0xc005c35e00, 0xc000c0f380) pkg/sentry/kernel/task_usermem.go:364 +0xc8 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.doProcessVMReadWrite(0xc006082a80, 0xc006082a80, 0x20002d80, 0x20004080, 0x2, 0x1) pkg/sentry/syscalls/linux/sys_process_vm.go:144 +0x34d gvisor.dev/gvisor/pkg/sentry/syscalls/linux.processVMRW(0xc00457f500, {{0xde4}, {0x20002d80}, {0x2}, {0x20004080}, {0x1}, {0x0}}, 0x1) pkg/sentry/syscalls/linux/sys_process_vm.go:69 +0x206 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.ProcessVMWritev(0xc00457f500?, {{0xde4}, {0x20002d80}, {0x2}, {0x20004080}, {0x1}, {0x0}}) pkg/sentry/syscalls/linux/sys_process_vm.go:33 +0x59 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00457f500, 0x137, {{0xde4}, {0x20002d80}, {0x2}, {0x20004080}, {0x1}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x9b8 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00457f500, 0x0?, {{0xde4}, {0x20002d80}, {0x2}, {0x20004080}, {0x1}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x7d gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0075ec000?, 0xc0048ceb40?, {{0xde4}, {0x20002d80}, {0x2}, {0x20004080}, {0x1}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x8f gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00457f500) pkg/sentry/kernel/task_syscall.go:257 +0x496 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc00457f500?, 0xc00457f500) pkg/sentry/kernel/task_run.go:253 +0x18f9 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00457f500, 0xb8a7) pkg/sentry/kernel/task_run.go:94 +0x354 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:378 +0x1a8