syzbot


DATA RACE in kernel.(*Task).MemoryManager (2)

Status: auto-obsoleted due to no activity on 2023/04/11 16:37
First crash: 735d, last: 728d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
gvisor DATA RACE in kernel.(*Task).MemoryManager 3 839d 840d 0/26 auto-obsoleted due to no activity on 2022/11/08 13:21
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 0x00c09aa39cd0 by goroutine 314:
  gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).MemoryManager()
      pkg/sentry/kernel/task_image.go:113 +0x52
  gvisor.dev/gvisor/pkg/sentry/kernel.(*taskCopyContext).getMemoryManager()
      pkg/sentry/kernel/task_usermem.go:350 +0x27
  gvisor.dev/gvisor/pkg/sentry/kernel.(*taskCopyContext).CopyInBytes()
      pkg/sentry/kernel/task_usermem.go:373 +0x76
  gvisor.dev/gvisor/pkg/sentry/kernel.makeIovec()
      pkg/sentry/kernel/task_usermem.go:261 +0xa3
  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:411 +0xb3
  gvisor.dev/gvisor/pkg/sentry/syscalls/linux.doProcessVMReadWrite.func1()
      pkg/sentry/syscalls/linux/sys_process_vm.go:100 +0x88
  gvisor.dev/gvisor/pkg/sentry/syscalls/linux.doProcessVMReadWrite()
      pkg/sentry/syscalls/linux/sys_process_vm.go:174 +0x32d
  gvisor.dev/gvisor/pkg/sentry/syscalls/linux.processVMRW()
      pkg/sentry/syscalls/linux/sys_process_vm.go:91 +0x293
  gvisor.dev/gvisor/pkg/sentry/syscalls/linux.ProcessVMReadv()
      pkg/sentry/syscalls/linux/sys_process_vm.go:37 +0x55
  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:378 +0x47

Previous write at 0x00c09aa39cd0 by goroutine 319:
  gvisor.dev/gvisor/pkg/sentry/kernel.(*runExitMain).execute()
      pkg/sentry/kernel/task_exit.go:272 +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:378 +0x47

Crashes (10):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/11/29 03:55 gvisor 85a2ede1743f ca9683b8 .config console log report info ci-gvisor-ptrace-3-race DATA RACE in kernel.(*Task).MemoryManager
2022/11/26 17:55 gvisor 5b7274a1fc08 f4470a7b .config console log report info ci-gvisor-ptrace-1-race DATA RACE in kernel.(*Task).MemoryManager
2022/11/26 09:41 gvisor 5b7274a1fc08 f4470a7b .config console log report info ci-gvisor-ptrace-3-race DATA RACE in kernel.(*Task).MemoryManager
2022/11/24 10:29 gvisor 5b7274a1fc08 ff68ff8f .config console log report info ci-gvisor-ptrace-1-race DATA RACE in kernel.(*Task).MemoryManager
2022/11/23 23:22 gvisor 5b7274a1fc08 3c2d90bc .config console log report info ci-gvisor-ptrace-1-race DATA RACE in kernel.(*Task).MemoryManager
2022/11/22 21:47 gvisor 346aa6fef27d 9da37ae8 .config console log report info ci-gvisor-ptrace-1-race DATA RACE in kernel.(*Task).MemoryManager
2022/11/22 16:39 gvisor 346aa6fef27d 9da37ae8 .config console log report info ci-gvisor-ptrace-3-race DATA RACE in kernel.(*Task).MemoryManager
2022/11/22 09:56 gvisor 9ff1c425909e 1c576c23 .config console log report info ci-gvisor-ptrace-3-race DATA RACE in kernel.(*Task).MemoryManager
2022/11/21 19:51 gvisor 38a0512f13fa f9a97739 .config console log report info ci-gvisor-ptrace-3-race DATA RACE in kernel.(*Task).MemoryManager
2022/11/21 16:21 gvisor 38a0512f13fa f9a97739 .config console log report info ci-gvisor-ptrace-1-race DATA RACE in kernel.(*Task).MemoryManager
* Struck through repros no longer work on HEAD.