WARNING: DATA RACE Write at 0x00c08607fb40 by goroutine 554: gvisor.googlesource.com/gvisor/pkg/sentry/fs.Rename() pkg/sentry/fs/dirent.go:1628 +0x61f gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.renameAt.func1.1() pkg/sentry/syscalls/linux/sys_file.go:1864 +0x1f8 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.fileOpAt() pkg/sentry/syscalls/linux/sys_file.go:51 +0x20f gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.renameAt.func1() pkg/sentry/syscalls/linux/sys_file.go:1852 +0x218 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.fileOpAt() pkg/sentry/syscalls/linux/sys_file.go:51 +0x20f 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 +0x60 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).executeSyscall() pkg/sentry/kernel/task_syscall.go:165 +0x17a gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke() pkg/sentry/kernel/task_syscall.go:283 +0xb4 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter() pkg/sentry/kernel/task_syscall.go:244 +0x10c gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscall() pkg/sentry/kernel/task_syscall.go:219 +0x1e3 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*runApp).execute() pkg/sentry/kernel/task_run.go:215 +0x15a9 DIAGNOSIS: I0224 04:49:19.662413 11511 x:0] *************************** I0224 04:49:19.662655 11511 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-1] I0224 04:49:19.662776 11511 x:0] Git Revision: b75aa515044367094e762985a4b1a1f0580e3ad6 I0224 04:49:19.662925 11511 x:0] PID: 11511 I0224 04:49:19.663072 11511 x:0] UID: 0, GID: 0 I0224 04:49:19.663247 11511 x:0] Configuration: I0224 04:49:19.663400 11511 x:0] RootDir: /syzkaller/managers/kvm-direct-overlay-host-race/workdir/gvisor_root I0224 04:49:19.663515 11511 x:0] Platform: ptrace I0224 04:49:19.663666 11511 x:0] FileAccess: exclusive, overlay: true I0224 04:49:19.663782 11511 x:0] Network: host, logging: false I0224 04:49:19.663889 11511 x:0] Strace: false, max size: 1024, syscalls: [] I0224 04:49:19.664088 11511 x:0] *************************** D0224 04:49:19.664380 11511 x:0] Load container "/syzkaller/managers/kvm-direct-overlay-host-race/workdir/gvisor_root" "ci-gvisor-kvm-direct-overlay-host-race-1" D0224 04:49:19.668743 11511 x:0] Signal container "ci-gvisor-kvm-direct-overlay-host-race-1": signal 0 D0224 04:49:19.669084 11511 x:0] Signal sandbox "ci-gvisor-kvm-direct-overlay-host-race-1" D0224 04:49:19.669140 11511 x:0] Connecting to sandbox "ci-gvisor-kvm-direct-overlay-host-race-1" D0224 04:49:19.672557 11511 x:0] urpc: successfully marshalled 120 bytes. D0224 04:49:19.678848 11511 x:0] urpc: unmarshal success. I0224 04:49:19.680577 11511 x:0] Found sandbox "ci-gvisor-kvm-direct-overlay-host-race-1", PID: 9726 I0224 04:49:19.680769 11511 x:0] Retrieving sandbox stacks D0224 04:49:19.680863 11511 x:0] Stacks sandbox "ci-gvisor-kvm-direct-overlay-host-race-1" D0224 04:49:19.681078 11511 x:0] Connecting to sandbox "ci-gvisor-kvm-direct-overlay-host-race-1" D0224 04:49:19.681405 11511 x:0] urpc: successfully marshalled 36 bytes. D0224 04:49:20.458824 11511 x:0] urpc: unmarshal success. I0224 04:49:20.459134 11511 x:0] *** Stack dump *** goroutine 1318583 [running]: gvisor.googlesource.com/gvisor/pkg/log.Stacks(0x459e01, 0x28, 0x45d3f2, 0x4e4b3d) pkg/log/log.go:259 +0xd1 gvisor.googlesource.com/gvisor/runsc/boot.(*debug).Stacks(0x23002d8, 0x23002d8, 0xc087ef2a20, 0x0, 0x0) runsc/boot/debug.go:26 +0x38 reflect.Value.call(0xc000107440, 0xc00000e1e0, 0x13, 0x10e7f1a, 0x4, 0xc08ac89e68, 0x3, 0x3, 0x4f0a5e, 0xfa1e20, ...) GOROOT/src/reflect/value.go:447 +0x635 reflect.Value.Call(0xc000107440, 0xc00000e1e0, 0x13, 0xc08ac89e68, 0x3, 0x3, 0x0, 0x23002d8, 0x16) GOROOT/src/reflect/value.go:308 +0xc1 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).handleOne(0xc0002c85d0, 0xc083d856b0, 0x0, 0x0) pkg/urpc/urpc.go:325 +0x681 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).handleRegistered(0xc0002c85d0, 0xc083d856b0, 0xc0002c85d0, 0xc083d856b0) pkg/urpc/urpc.go:420 +0x43 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).StartHandling.func1(0xc0002c85d0, 0xc083d856b0) 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, 20 minutes]: sync.runtime_Semacquire(0xc0002c2264) GOROOT/src/runtime/sema.go:56 +0x39 sync.(*WaitGroup).Wait(0xc0002c2264) GOROOT/src/sync/waitgroup.go:130 +0xb5 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Kernel).WaitExited(0xc0002c6000) pkg/sentry/kernel/kernel.go:813 +0x57 gvisor.googlesource.com/gvisor/runsc/boot.(*Loader).WaitExit(0xc0002c6140, 0x0, 0x0) runsc/boot/loader.go:756 +0x50 gvisor.googlesource.com/gvisor/runsc/cmd.(*Boot).Execute(0xc000280090, 0x122f400, 0xc000132010, 0xc000138a80, 0xc0001d9040, 0x2, 0x2, 0x0) runsc/cmd/boot.go:236 +0x121d github.com/google/subcommands.(*Commander).Execute(0xc000146000, 0x122f400, 0xc000132010, 0xc0001d9040, 0x2, 0x2, 0x1) external/com_github_google_subcommands/subcommands.go:141 +0x525 github.com/google/subcommands.Execute(0x122f400, 0xc000132010, 0xc0001d9040, 0x2, 0x2, 0xc000128e10) external/com_github_google_subcommands/subcommands.go:371 +0x81 main.main() runsc/main.go:221 +0x1f02