syzbot


DATA RACE in kernel.(*Task).MemoryManager

Status: auto-obsoleted due to no activity on 2022/11/08 13:21
First crash: 840d, last: 839d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
gvisor DATA RACE in kernel.(*Task).MemoryManager (2) 10 728d 735d 0/26 auto-obsoleted due to no activity on 2023/04/11 16:37
gvisor DATA RACE in kernel.(*Task).MemoryManager (3) C 12 418d 418d 26/26 fixed on 2023/10/05 23:05

Sample crash report:
WARNING: DATA RACE
Read at 0x00c005365cd0 by goroutine 390:
  gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).MemoryManager()
      pkg/sentry/kernel/task_image.go:113 +0x38b
  gvisor.dev/gvisor/pkg/sentry/kernel.makeIovec()
      pkg/sentry/kernel/task_usermem.go:270 +0x37f
  gvisor.dev/gvisor/pkg/sentry/kernel.copyInIovecs()
      pkg/sentry/kernel/task_usermem.go:231 +0x27e
  gvisor.dev/gvisor/pkg/sentry/kernel.(*taskCopyContext).CopyInIovecs()
      pkg/sentry/kernel/task_usermem.go:387 +0x324
  gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.doProcessVMReadWrite()
      pkg/sentry/syscalls/linux/vfs2/mmap.go:166 +0x2ec
  gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.processVMRW()
      pkg/sentry/syscalls/linux/vfs2/mmap.go:152 +0x1c4
  gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.ProcessVMWritev()
      pkg/sentry/syscalls/linux/vfs2/mmap.go:114 +0x58
  gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall()
      pkg/sentry/kernel/task_syscall.go:142 +0x9b7
  gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke()
      pkg/sentry/kernel/task_syscall.go:322 +0x7c
  gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter()
      pkg/sentry/kernel/task_syscall.go:282 +0x8e
  gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall()
      pkg/sentry/kernel/task_syscall.go:257 +0x495
  gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute()
      pkg/sentry/kernel/task_run.go:253 +0x18f8
  gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run()
      pkg/sentry/kernel/task_run.go:94 +0x353
  gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1()
      pkg/sentry/kernel/task_start.go:370 +0x47

Previous write at 0x00c005365cd0 by goroutine 406:
  gvisor.dev/gvisor/pkg/sentry/kernel.(*runExitMain).execute()
      pkg/sentry/kernel/task_exit.go:256 +0x672
  gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run()
      pkg/sentry/kernel/task_run.go:94 +0x353
  gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1()
      pkg/sentry/kernel/task_start.go:370 +0x47

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/08/10 13:21 gvisor 241fd5344fa8 aaa9eaa0 .config console log report info ci-gvisor-ptrace-3-race DATA RACE in kernel.(*Task).MemoryManager
2022/08/09 14:43 gvisor a963196f43de da700653 .config console log report info ci-gvisor-ptrace-2-race DATA RACE in kernel.(*Task).MemoryManager
2022/08/09 10:18 gvisor a963196f43de da700653 .config console log report info ci-gvisor-ptrace-1-race DATA RACE in kernel.(*Task).MemoryManager
* Struck through repros no longer work on HEAD.