WARNING: DATA RACE Write at 0x00c002a46e3c by goroutine 461: gvisor.dev/gvisor/pkg/sentry/fs.(*UnstableAttr).SetOwner() pkg/sentry/fs/attr.go:254 +0xc9 DIAGNOSIS: I0125 10:41:31.367131 23103 x:0] *************************** I0125 10:41:31.367355 23103 x:0] Args: [/syzkaller/managers/ptrace-direct-overlay-host-race/current/image -root /syzkaller/managers/ptrace-direct-overlay-host-race/workdir/gvisor_root -watchdog-action=panic -network=none -debug -alsologtostderr -platform=ptrace -file-access=exclusive -overlay -network=host -TESTONLY-unsafe-nonroot debug -stacks --ps ci-gvisor-ptrace-direct-overlay-host-race-1] I0125 10:41:31.367627 23103 x:0] Version release-20200115.0-70-gcb3906ae0057 I0125 10:41:31.367663 23103 x:0] PID: 23103 I0125 10:41:31.367778 23103 x:0] UID: 0, GID: 0 I0125 10:41:31.367834 23103 x:0] Configuration: I0125 10:41:31.367940 23103 x:0] RootDir: /syzkaller/managers/ptrace-direct-overlay-host-race/workdir/gvisor_root I0125 10:41:31.368017 23103 x:0] Platform: ptrace I0125 10:41:31.368070 23103 x:0] FileAccess: exclusive, overlay: true I0125 10:41:31.368120 23103 x:0] Network: host, logging: false I0125 10:41:31.368167 23103 x:0] Strace: false, max size: 1024, syscalls: [] I0125 10:41:31.368225 23103 x:0] *************************** W0125 10:41:31.368253 23103 x:0] Block the TERM signal. This is only safe in tests! D0125 10:41:31.371139 23103 x:0] Load container "/syzkaller/managers/ptrace-direct-overlay-host-race/workdir/gvisor_root" "ci-gvisor-ptrace-direct-overlay-host-race-1" D0125 10:41:31.386582 23103 x:0] Signal container "ci-gvisor-ptrace-direct-overlay-host-race-1": signal 0 D0125 10:41:31.386775 23103 x:0] Signal sandbox "ci-gvisor-ptrace-direct-overlay-host-race-1" D0125 10:41:31.388050 23103 x:0] Connecting to sandbox "ci-gvisor-ptrace-direct-overlay-host-race-1" D0125 10:41:31.390488 23103 x:0] urpc: successfully marshalled 123 bytes. D0125 10:41:31.392001 23103 x:0] urpc: unmarshal success. I0125 10:41:31.392085 23103 x:0] Found sandbox "ci-gvisor-ptrace-direct-overlay-host-race-1", PID: 57747 I0125 10:41:31.392176 23103 x:0] Retrieving sandbox stacks D0125 10:41:31.393372 23103 x:0] Stacks sandbox "ci-gvisor-ptrace-direct-overlay-host-race-1" D0125 10:41:31.393437 23103 x:0] Connecting to sandbox "ci-gvisor-ptrace-direct-overlay-host-race-1" D0125 10:41:31.394615 23103 x:0] urpc: successfully marshalled 36 bytes. D0125 10:41:31.643810 23103 x:0] urpc: unmarshal success. I0125 10:41:31.647765 23103 x:0] *** Stack dump *** goroutine 582018 [running]: gvisor.dev/gvisor/pkg/log.Stacks(0x461301, 0xc0002972c0, 0xc002e527b0, 0x1a6e4e0) pkg/log/log.go:272 +0xb6 gvisor.dev/gvisor/runsc/boot.(*debug).Stacks(0x24167a8, 0x24167a8, 0xc000480d10, 0x0, 0x0) runsc/boot/debug.go:26 +0x38 reflect.Value.call(0xc0002972c0, 0xc00014caa0, 0x13, 0x123c2ca, 0x4, 0xc0018ffe78, 0x3, 0x3, 0x10adf01, 0xc000480d10, ...) GOROOT/src/reflect/value.go:460 +0x62b reflect.Value.Call(0xc0002972c0, 0xc00014caa0, 0x13, 0xc0018ffe78, 0x3, 0x3, 0x0, 0x24167a8, 0x16) GOROOT/src/reflect/value.go:321 +0xd4 gvisor.dev/gvisor/pkg/urpc.(*Server).handleOne(0xc0002dd020, 0xc002b79320, 0x0, 0x0) pkg/urpc/urpc.go:325 +0x688 gvisor.dev/gvisor/pkg/urpc.(*Server).handleRegistered(0xc0002dd020, 0xc002b79320, 0xc00196d310, 0xc000df19e0) pkg/urpc/urpc.go:420 +0x43 gvisor.dev/gvisor/pkg/urpc.(*Server).StartHandling.func1(0xc0002dd020, 0xc002b79320) pkg/urpc/urpc.go:440 +0x81 created by gvisor.dev/gvisor/pkg/urpc.(*Server).StartHandling pkg/urpc/urpc.go:438 +0x6f goroutine 1 [semacquire, 14 minutes]: sync.runtime_Semacquire(0xc000268494) GOROOT/src/runtime/sema.go:56 +0x42 sync.(*WaitGroup).Wait(0xc000268494) GOROOT/src/sync/waitgroup.go:130 +0xb1 gvisor.dev/gvisor/pkg/sentry/kernel.(*Kernel).WaitExited(...) pkg/sentry/kernel/kernel.go:1061 gvisor.dev/gvisor/runsc/boot.(*Loader).WaitExit(0xc00015e2c0, 0x0, 0x0) runsc/boot/loader.go:894 +0x73 gvisor.dev/gvisor/runsc/cmd.(*Boot).Execute(0xc0001c62d0, 0x13b2060, 0xc00013a000, 0xc000296720, 0xc000248d40, 0x2, 0x2, 0x0) runsc/cmd/boot.go:254 +0x149e github.com/google/subcommands.(*Commander).Execute(0xc000152000, 0x13b2060, 0xc00013a000, 0xc000248d40, 0x2, 0x2, 0x0) external/com_github_google_subcommands/subcommands.go:200 +0x51d github.com/google/subcommands.Execute(...) external/com_github_google_subcommands/subcommands.go:481 main.main() runsc/main.go:318 +0x2ce3