WARNING: DATA RACE Write at 0x00c00756e040 by goroutine 1129: 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 DIAGNOSIS: I0124 02:13:18.170298 31235 x:0] *************************** I0124 02:13:18.170595 31235 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-2] I0124 02:13:18.170818 31235 x:0] Git Revision: 5f08f8fd8162fa2fc2ca7b862263081d8d07b206 I0124 02:13:18.170965 31235 x:0] PID: 31235 I0124 02:13:18.171010 31235 x:0] UID: 0, GID: 0 I0124 02:13:18.171121 31235 x:0] Configuration: I0124 02:13:18.171179 31235 x:0] RootDir: /syzkaller/managers/kvm-direct-overlay-host-race/workdir/gvisor_root I0124 02:13:18.171213 31235 x:0] Platform: ptrace I0124 02:13:18.171241 31235 x:0] FileAccess: exclusive, overlay: true I0124 02:13:18.171269 31235 x:0] Network: host, logging: false I0124 02:13:18.171312 31235 x:0] Strace: false, max size: 1024, syscalls: [] I0124 02:13:18.171343 31235 x:0] *************************** D0124 02:13:18.171483 31235 x:0] Load container "/syzkaller/managers/kvm-direct-overlay-host-race/workdir/gvisor_root" "ci-gvisor-kvm-direct-overlay-host-race-2" D0124 02:13:18.175427 31235 x:0] Signal container "ci-gvisor-kvm-direct-overlay-host-race-2": signal 0 D0124 02:13:18.195996 31235 x:0] Signal sandbox "ci-gvisor-kvm-direct-overlay-host-race-2" D0124 02:13:18.196201 31235 x:0] Connecting to sandbox "ci-gvisor-kvm-direct-overlay-host-race-2" D0124 02:13:18.197275 31235 x:0] urpc: successfully marshalled 120 bytes. D0124 02:13:18.200585 31235 x:0] urpc: unmarshal success. I0124 02:13:18.200716 31235 x:0] Found sandbox "ci-gvisor-kvm-direct-overlay-host-race-2", PID: 64581 I0124 02:13:18.200801 31235 x:0] Retrieving sandbox stacks D0124 02:13:18.200823 31235 x:0] Stacks sandbox "ci-gvisor-kvm-direct-overlay-host-race-2" D0124 02:13:18.200860 31235 x:0] Connecting to sandbox "ci-gvisor-kvm-direct-overlay-host-race-2" D0124 02:13:18.200988 31235 x:0] urpc: successfully marshalled 36 bytes. D0124 02:13:19.072269 31235 x:0] urpc: unmarshal success. I0124 02:13:19.072684 31235 x:0] *** Stack dump *** goroutine 1328048 [running]: gvisor.googlesource.com/gvisor/pkg/log.Stacks(0x459e01, 0x28, 0x45d3f2, 0x4e466d) pkg/log/log.go:259 +0xd1 gvisor.googlesource.com/gvisor/runsc/boot.(*debug).Stacks(0x22e11f8, 0x22e11f8, 0xc00043b0c0, 0x0, 0x0) runsc/boot/debug.go:26 +0x38 reflect.Value.call(0xc000114d20, 0xc00000e1a8, 0x13, 0x10d4583, 0x4, 0xc006e97e68, 0x3, 0x3, 0x4f058e, 0xf902c0, ...) GOROOT/src/reflect/value.go:447 +0x635 reflect.Value.Call(0xc000114d20, 0xc00000e1a8, 0x13, 0xc006e97e68, 0x3, 0x3, 0x0, 0x22e11f8, 0x16) GOROOT/src/reflect/value.go:308 +0xc1 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).handleOne(0xc0002aa180, 0xc00685a780, 0x0, 0x0) pkg/urpc/urpc.go:298 +0x613 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).handleRegistered(0xc0002aa180, 0xc00685a780, 0xc0002aa180, 0xc00685a780) pkg/urpc/urpc.go:393 +0x43 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).StartHandling.func1(0xc0002aa180, 0xc00685a780) pkg/urpc/urpc.go:413 +0x77 created by gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).StartHandling pkg/urpc/urpc.go:411 +0x6f goroutine 1 [semacquire, 16 minutes]: sync.runtime_Semacquire(0xc00014ac14) GOROOT/src/runtime/sema.go:56 +0x39 sync.(*WaitGroup).Wait(0xc00014ac14) GOROOT/src/sync/waitgroup.go:130 +0xb5 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Kernel).WaitExited(0xc000264780) pkg/sentry/kernel/kernel.go:801 +0x57 gvisor.googlesource.com/gvisor/runsc/boot.(*Loader).WaitExit(0xc0002648c0, 0x0, 0x0) runsc/boot/loader.go:747 +0x50 gvisor.googlesource.com/gvisor/runsc/cmd.(*Boot).Execute(0xc000262120, 0x12196c0, 0xc000132010, 0xc000138ae0, 0xc0001d7020, 0x2, 0x2, 0x0) runsc/cmd/boot.go:236 +0x121d github.com/google/subcommands.(*Commander).Execute(0xc000146000, 0x12196c0, 0xc000132010, 0xc0001d7020, 0x2, 0x2, 0x1) external/com_github_google_subcommands/subcommands.go:141 +0x525 github.com/google/subcommands.Execute(0x12196c0, 0xc000132010, 0xc0001d7020, 0x2, 0x2, 0xc000128d40) external/com_github_google_subcommands/subcommands.go:371 +0x81 main.main() runsc/main.go:221 +0x1ef8