WARNING: DATA RACE Write at 0x00c0038fd900 by goroutine 626: gvisor.googlesource.com/gvisor/pkg/sentry/fs.Rename() pkg/sentry/fs/dirent.go:1628 +0x61a 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 DIAGNOSIS: I0321 21:44:50.087132 43909 x:0] *************************** I0321 21:44:50.103993 43909 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] I0321 21:44:50.104122 43909 x:0] Git Revision: cea1dd7d21b976ad5cb145b94be7b1bf879235be I0321 21:44:50.104148 43909 x:0] PID: 43909 I0321 21:44:50.104166 43909 x:0] UID: 0, GID: 0 I0321 21:44:50.104184 43909 x:0] Configuration: I0321 21:44:50.104224 43909 x:0] RootDir: /syzkaller/managers/kvm-direct-overlay-host-race/workdir/gvisor_root I0321 21:44:50.104238 43909 x:0] Platform: ptrace I0321 21:44:50.104275 43909 x:0] FileAccess: exclusive, overlay: true I0321 21:44:50.104306 43909 x:0] Network: host, logging: false I0321 21:44:50.104336 43909 x:0] Strace: false, max size: 1024, syscalls: [] I0321 21:44:50.104392 43909 x:0] *************************** D0321 21:44:50.104624 43909 x:0] Load container "/syzkaller/managers/kvm-direct-overlay-host-race/workdir/gvisor_root" "ci-gvisor-kvm-direct-overlay-host-race-2" D0321 21:44:50.111898 43909 x:0] Signal container "ci-gvisor-kvm-direct-overlay-host-race-2": signal 0 D0321 21:44:50.112297 43909 x:0] Signal sandbox "ci-gvisor-kvm-direct-overlay-host-race-2" D0321 21:44:50.112365 43909 x:0] Connecting to sandbox "ci-gvisor-kvm-direct-overlay-host-race-2" D0321 21:44:50.113740 43909 x:0] urpc: successfully marshalled 120 bytes. D0321 21:44:50.116075 43909 x:0] urpc: unmarshal success. I0321 21:44:50.116198 43909 x:0] Found sandbox "ci-gvisor-kvm-direct-overlay-host-race-2", PID: 17507 I0321 21:44:50.116238 43909 x:0] Retrieving sandbox stacks D0321 21:44:50.116740 43909 x:0] Stacks sandbox "ci-gvisor-kvm-direct-overlay-host-race-2" D0321 21:44:50.116788 43909 x:0] Connecting to sandbox "ci-gvisor-kvm-direct-overlay-host-race-2" D0321 21:44:50.117087 43909 x:0] urpc: successfully marshalled 36 bytes. D0321 21:44:50.684623 43909 x:0] urpc: unmarshal success. I0321 21:44:50.685587 43909 x:0] *** Stack dump *** goroutine 1698569 [running]: gvisor.googlesource.com/gvisor/pkg/log.Stacks(0x45c801, 0xc0001171a0, 0xc0043e2360, 0xc004ad8700) pkg/log/log.go:259 +0xb6 gvisor.googlesource.com/gvisor/runsc/boot.(*debug).Stacks(0x238ca78, 0x238ca78, 0xc0003aa0b0, 0x0, 0x0) runsc/boot/debug.go:26 +0x38 reflect.Value.call(0xc0001171a0, 0xc0000101a8, 0x13, 0x10fed68, 0x4, 0xc00064deb8, 0x3, 0x3, 0x4a864e, 0xfb4be0, ...) GOROOT/src/reflect/value.go:447 +0x649 reflect.Value.Call(0xc0001171a0, 0xc0000101a8, 0x13, 0xc00064deb8, 0x3, 0x3, 0x0, 0x238ca78, 0x16) GOROOT/src/reflect/value.go:308 +0xc1 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).handleOne(0xc0002ba150, 0xc0035482d0, 0x0, 0x0) pkg/urpc/urpc.go:325 +0x63f gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).handleRegistered(0xc0002ba150, 0xc0035482d0, 0xc0002ba150, 0xc0035482d0) pkg/urpc/urpc.go:420 +0x43 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).StartHandling.func1(0xc0002ba150, 0xc0035482d0) 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, 22 minutes]: sync.runtime_Semacquire(0xc0001451b4) GOROOT/src/runtime/sema.go:56 +0x39 sync.(*WaitGroup).Wait(0xc0001451b4) GOROOT/src/sync/waitgroup.go:130 +0xb2 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Kernel).WaitExited(...) pkg/sentry/kernel/kernel.go:809 gvisor.googlesource.com/gvisor/runsc/boot.(*Loader).WaitExit(0xc0002608c0, 0x0, 0x0) runsc/boot/loader.go:781 +0x74 gvisor.googlesource.com/gvisor/runsc/cmd.(*Boot).Execute(0xc00025e1b0, 0x12861c0, 0xc000134010, 0xc00013ab40, 0xc0001bb060, 0x2, 0x2, 0x0) runsc/cmd/boot.go:236 +0x10f5 github.com/google/subcommands.(*Commander).Execute(0xc000140000, 0x12861c0, 0xc000134010, 0xc0001bb060, 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:229 +0x23da