WARNING: DATA RACE Write at 0x00c000c8c8b0 by goroutine 418: gvisor.googlesource.com/gvisor/pkg/sentry/fs.Rename() pkg/sentry/fs/dirent.go:1628 +0x5fb gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.renameAt.func1.1() pkg/sentry/syscalls/linux/sys_file.go:1864 +0x1f9 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.fileOpAt() pkg/sentry/syscalls/linux/sys_file.go:51 +0x211 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.renameAt.func1() pkg/sentry/syscalls/linux/sys_file.go:1852 +0x219 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.fileOpAt() pkg/sentry/syscalls/linux/sys_file.go:51 +0x211 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.renameAt() pkg/sentry/syscalls/linux/sys_file.go:1840 +0x180 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Rename() pkg/sentry/syscalls/linux/sys_file.go:1873 +0x62 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).executeSyscall() pkg/sentry/kernel/task_syscall.go:165 +0x178 DIAGNOSIS: I0302 02:40:48.851693 50030 x:0] *************************** I0302 02:40:48.851873 50030 x:0] Args: [/syzkaller/managers/kvm-direct-overlay-host-race/current/image -root /syzkaller/managers/kvm-direct-overlay-host-race/workdir/gvisor_root -watchdog-action=panic -network=none -debug -platform=ptrace -file-access=exclusive -overlay -network=host debug -stacks ci-gvisor-kvm-direct-overlay-host-race-3] I0302 02:40:48.851965 50030 x:0] Git Revision: 3dbd4a16f8ae4da967f69fd93870462d1b3554f5 I0302 02:40:48.852029 50030 x:0] PID: 50030 I0302 02:40:48.852085 50030 x:0] UID: 0, GID: 0 I0302 02:40:48.852128 50030 x:0] Configuration: I0302 02:40:48.852144 50030 x:0] RootDir: /syzkaller/managers/kvm-direct-overlay-host-race/workdir/gvisor_root I0302 02:40:48.852189 50030 x:0] Platform: ptrace I0302 02:40:48.852214 50030 x:0] FileAccess: exclusive, overlay: true I0302 02:40:48.852257 50030 x:0] Network: host, logging: false I0302 02:40:48.852286 50030 x:0] Strace: false, max size: 1024, syscalls: [] I0302 02:40:48.852359 50030 x:0] *************************** D0302 02:40:48.852432 50030 x:0] Load container "/syzkaller/managers/kvm-direct-overlay-host-race/workdir/gvisor_root" "ci-gvisor-kvm-direct-overlay-host-race-3" D0302 02:40:48.873778 50030 x:0] Signal container "ci-gvisor-kvm-direct-overlay-host-race-3": signal 0 D0302 02:40:48.873891 50030 x:0] Signal sandbox "ci-gvisor-kvm-direct-overlay-host-race-3" D0302 02:40:48.873940 50030 x:0] Connecting to sandbox "ci-gvisor-kvm-direct-overlay-host-race-3" D0302 02:40:48.877352 50030 x:0] urpc: successfully marshalled 120 bytes. D0302 02:40:48.878421 50030 x:0] urpc: unmarshal success. I0302 02:40:48.879688 50030 x:0] Found sandbox "ci-gvisor-kvm-direct-overlay-host-race-3", PID: 20982 I0302 02:40:48.896564 50030 x:0] Retrieving sandbox stacks D0302 02:40:48.896643 50030 x:0] Stacks sandbox "ci-gvisor-kvm-direct-overlay-host-race-3" D0302 02:40:48.896767 50030 x:0] Connecting to sandbox "ci-gvisor-kvm-direct-overlay-host-race-3" D0302 02:40:48.897281 50030 x:0] urpc: successfully marshalled 36 bytes. D0302 02:40:49.282272 50030 x:0] urpc: unmarshal success. I0302 02:40:49.283202 50030 x:0] *** Stack dump *** goroutine 602680 [running]: gvisor.googlesource.com/gvisor/pkg/log.Stacks(0x459c01, 0xc0003108a0, 0xc00130c360, 0xc00016ca80) pkg/log/log.go:259 +0xb6 gvisor.googlesource.com/gvisor/runsc/boot.(*debug).Stacks(0x239d798, 0x239d798, 0xc0005e0080, 0x0, 0x0) runsc/boot/debug.go:26 +0x38 reflect.Value.call(0xc0003108a0, 0xc000010aa0, 0x13, 0x11040d0, 0x4, 0xc000d3deb8, 0x3, 0x3, 0x4a4dee, 0xfbb440, ...) GOROOT/src/reflect/value.go:447 +0x63f reflect.Value.Call(0xc0003108a0, 0xc000010aa0, 0x13, 0xc000d3deb8, 0x3, 0x3, 0x0, 0x239d798, 0x16) GOROOT/src/reflect/value.go:308 +0xc1 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).handleOne(0xc0002513b0, 0xc001231860, 0x0, 0x0) pkg/urpc/urpc.go:325 +0x63f gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).handleRegistered(0xc0002513b0, 0xc001231860, 0xc0002513b0, 0xc001231860) pkg/urpc/urpc.go:420 +0x43 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).StartHandling.func1(0xc0002513b0, 0xc001231860) pkg/urpc/urpc.go:440 +0x77 created by gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).StartHandling pkg/urpc/urpc.go:438 +0x6f goroutine 1 [semacquire, 9 minutes]: sync.runtime_Semacquire(0xc0002c4214) GOROOT/src/runtime/sema.go:56 +0x39 sync.(*WaitGroup).Wait(0xc0002c4214) GOROOT/src/sync/waitgroup.go:130 +0xb2 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Kernel).WaitExited(...) pkg/sentry/kernel/kernel.go:813 gvisor.googlesource.com/gvisor/runsc/boot.(*Loader).WaitExit(0xc0002a8140, 0x0, 0x0) runsc/boot/loader.go:756 +0x74 gvisor.googlesource.com/gvisor/runsc/cmd.(*Boot).Execute(0xc0002261b0, 0x128b460, 0xc0000d0008, 0xc000110c00, 0xc0001a1080, 0x2, 0x2, 0x0) runsc/cmd/boot.go:236 +0x1191 github.com/google/subcommands.(*Commander).Execute(0xc000126000, 0x128b460, 0xc0000d0008, 0xc0001a1080, 0x2, 0x2, 0x203000) external/com_github_google_subcommands/subcommands.go:141 +0x522 github.com/google/subcommands.Execute(...) external/com_github_google_subcommands/subcommands.go:371 main.main() runsc/main.go:227 +0x240b