WARNING: DATA RACE Write at 0x00c002f31b40 by goroutine 445: 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 DIAGNOSIS: I0131 15:41:03.476087 54113 x:0] *************************** I0131 15:41:03.476229 54113 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] I0131 15:41:03.476348 54113 x:0] Git Revision: cedff8d3aef3bc2055b1a7c3ad47a4c8297367ea I0131 15:41:03.476378 54113 x:0] PID: 54113 I0131 15:41:03.476401 54113 x:0] UID: 0, GID: 0 I0131 15:41:03.476487 54113 x:0] Configuration: I0131 15:41:03.476574 54113 x:0] RootDir: /syzkaller/managers/kvm-direct-overlay-host-race/workdir/gvisor_root I0131 15:41:03.476659 54113 x:0] Platform: ptrace I0131 15:41:03.476771 54113 x:0] FileAccess: exclusive, overlay: true I0131 15:41:03.476870 54113 x:0] Network: host, logging: false I0131 15:41:03.476965 54113 x:0] Strace: false, max size: 1024, syscalls: [] I0131 15:41:03.477098 54113 x:0] *************************** D0131 15:41:03.477237 54113 x:0] Load container "/syzkaller/managers/kvm-direct-overlay-host-race/workdir/gvisor_root" "ci-gvisor-kvm-direct-overlay-host-race-2" D0131 15:41:03.480801 54113 x:0] Signal container "ci-gvisor-kvm-direct-overlay-host-race-2": signal 0 D0131 15:41:03.480916 54113 x:0] Signal sandbox "ci-gvisor-kvm-direct-overlay-host-race-2" D0131 15:41:03.480971 54113 x:0] Connecting to sandbox "ci-gvisor-kvm-direct-overlay-host-race-2" D0131 15:41:03.481491 54113 x:0] urpc: successfully marshalled 120 bytes. D0131 15:41:03.483909 54113 x:0] urpc: unmarshal success. I0131 15:41:03.484024 54113 x:0] Found sandbox "ci-gvisor-kvm-direct-overlay-host-race-2", PID: 29969 I0131 15:41:03.484102 54113 x:0] Retrieving sandbox stacks D0131 15:41:03.484125 54113 x:0] Stacks sandbox "ci-gvisor-kvm-direct-overlay-host-race-2" D0131 15:41:03.484201 54113 x:0] Connecting to sandbox "ci-gvisor-kvm-direct-overlay-host-race-2" D0131 15:41:03.484677 54113 x:0] urpc: successfully marshalled 36 bytes. D0131 15:41:03.929052 54113 x:0] urpc: unmarshal success. I0131 15:41:03.929228 54113 x:0] *** Stack dump *** goroutine 6944078 [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(0x22e81f8, 0x22e81f8, 0xc00068e1c0, 0x0, 0x0) runsc/boot/debug.go:26 +0x38 reflect.Value.call(0xc0002c8a80, 0xc0002fa198, 0x13, 0x10d8663, 0x4, 0xc00260de68, 0x3, 0x3, 0x4f0a5e, 0xf93d60, ...) GOROOT/src/reflect/value.go:447 +0x635 reflect.Value.Call(0xc0002c8a80, 0xc0002fa198, 0x13, 0xc00260de68, 0x3, 0x3, 0x0, 0x22e81f8, 0x16) GOROOT/src/reflect/value.go:308 +0xc1 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).handleOne(0xc0002aa150, 0xc0042a6120, 0x0, 0x0) pkg/urpc/urpc.go:298 +0x613 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).handleRegistered(0xc0002aa150, 0xc0042a6120, 0xc0002aa150, 0xc0042a6120) pkg/urpc/urpc.go:393 +0x43 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).StartHandling.func1(0xc0002aa150, 0xc0042a6120) 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, 58 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(0xc000274780) pkg/sentry/kernel/kernel.go:801 +0x57 gvisor.googlesource.com/gvisor/runsc/boot.(*Loader).WaitExit(0xc0002748c0, 0x0, 0x0) runsc/boot/loader.go:747 +0x50 gvisor.googlesource.com/gvisor/runsc/cmd.(*Boot).Execute(0xc000272120, 0x121dbc0, 0xc000132010, 0xc000138b40, 0xc0001d7060, 0x2, 0x2, 0x0) runsc/cmd/boot.go:236 +0x121d github.com/google/subcommands.(*Commander).Execute(0xc000146000, 0x121dbc0, 0xc000132010, 0xc0001d7060, 0x2, 0x2, 0x1) external/com_github_google_subcommands/subcommands.go:141 +0x525 github.com/google/subcommands.Execute(0x121dbc0, 0xc000132010, 0xc0001d7060, 0x2, 0x2, 0xc000128d40) external/com_github_google_subcommands/subcommands.go:371 +0x81 main.main() runsc/main.go:221 +0x1ef8