WARNING: DATA RACE Write at 0x00c000a5caf0 by goroutine 340: gvisor.googlesource.com/gvisor/pkg/sentry/fs.Rename() pkg/sentry/fs/dirent.go:1629 +0x634 DIAGNOSIS: I0402 18:16:58.832082 56159 x:0] *************************** I0402 18:16:58.832217 56159 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] I0402 18:16:58.832287 56159 x:0] Version release-20190304.1-70-g1df3fa699774 I0402 18:16:58.832314 56159 x:0] PID: 56159 I0402 18:16:58.832345 56159 x:0] UID: 0, GID: 0 I0402 18:16:58.832372 56159 x:0] Configuration: I0402 18:16:58.832384 56159 x:0] RootDir: /syzkaller/managers/kvm-direct-overlay-host-race/workdir/gvisor_root I0402 18:16:58.832404 56159 x:0] Platform: ptrace I0402 18:16:58.832453 56159 x:0] FileAccess: exclusive, overlay: true I0402 18:16:58.832472 56159 x:0] Network: host, logging: false I0402 18:16:58.832502 56159 x:0] Strace: false, max size: 1024, syscalls: [] I0402 18:16:58.832524 56159 x:0] *************************** D0402 18:16:58.832604 56159 x:0] Load container "/syzkaller/managers/kvm-direct-overlay-host-race/workdir/gvisor_root" "ci-gvisor-kvm-direct-overlay-host-race-1" D0402 18:16:58.838507 56159 x:0] Signal container "ci-gvisor-kvm-direct-overlay-host-race-1": signal 0 D0402 18:16:58.857680 56159 x:0] Signal sandbox "ci-gvisor-kvm-direct-overlay-host-race-1" D0402 18:16:58.857758 56159 x:0] Connecting to sandbox "ci-gvisor-kvm-direct-overlay-host-race-1" D0402 18:16:58.858324 56159 x:0] urpc: successfully marshalled 120 bytes. D0402 18:16:58.868023 56159 x:0] urpc: unmarshal success. I0402 18:16:58.868152 56159 x:0] Found sandbox "ci-gvisor-kvm-direct-overlay-host-race-1", PID: 22410 I0402 18:16:58.868200 56159 x:0] Retrieving sandbox stacks D0402 18:16:58.868223 56159 x:0] Stacks sandbox "ci-gvisor-kvm-direct-overlay-host-race-1" D0402 18:16:58.868272 56159 x:0] Connecting to sandbox "ci-gvisor-kvm-direct-overlay-host-race-1" D0402 18:16:58.868381 56159 x:0] urpc: successfully marshalled 36 bytes. D0402 18:16:59.103293 56159 x:0] urpc: unmarshal success. I0402 18:16:59.104843 56159 x:0] *** Stack dump *** goroutine 331346 [running]: gvisor.googlesource.com/gvisor/pkg/log.Stacks(0x45c801, 0xc0002baa20, 0xc00126c300, 0xc000ba8e00) pkg/log/log.go:259 +0xb6 gvisor.googlesource.com/gvisor/runsc/boot.(*debug).Stacks(0x23dbc70, 0x23dbc70, 0xc00058a3a0, 0x0, 0x0) runsc/boot/debug.go:26 +0x38 reflect.Value.call(0xc0002baa20, 0xc000346198, 0x13, 0x112e16b, 0x4, 0xc001179eb8, 0x3, 0x3, 0x4a864e, 0xfdf3c0, ...) GOROOT/src/reflect/value.go:447 +0x649 reflect.Value.Call(0xc0002baa20, 0xc000346198, 0x13, 0xc001179eb8, 0x3, 0x3, 0x0, 0x23dbc70, 0x16) GOROOT/src/reflect/value.go:308 +0xc1 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).handleOne(0xc0003120c0, 0xc0007c3770, 0x0, 0x0) pkg/urpc/urpc.go:325 +0x63f gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).handleRegistered(0xc0003120c0, 0xc0007c3770, 0xc0003120c0, 0xc0007c3770) pkg/urpc/urpc.go:420 +0x43 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).StartHandling.func1(0xc0003120c0, 0xc0007c3770) 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, 4 minutes]: sync.runtime_Semacquire(0xc0002b2264) GOROOT/src/runtime/sema.go:56 +0x39 sync.(*WaitGroup).Wait(0xc0002b2264) GOROOT/src/sync/waitgroup.go:130 +0xb2 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Kernel).WaitExited(...) pkg/sentry/kernel/kernel.go:820 gvisor.googlesource.com/gvisor/runsc/boot.(*Loader).WaitExit(0xc0002aa140, 0x0, 0x0) runsc/boot/loader.go:781 +0x74 gvisor.googlesource.com/gvisor/runsc/cmd.(*Boot).Execute(0xc000232120, 0x12bfc20, 0xc0000ce008, 0xc000106ba0, 0xc00019f160, 0x2, 0x2, 0x0) runsc/cmd/boot.go:252 +0x12e4 github.com/google/subcommands.(*Commander).Execute(0xc000124000, 0x12bfc20, 0xc0000ce008, 0xc00019f160, 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:238 +0x2473