WARNING: DATA RACE Read at 0x00c00bd42510 by goroutine 479: runtime.mapaccess2_faststr() GOROOT/src/runtime/map_faststr.go:107 +0x0 gvisor.dev/gvisor/pkg/sentry/fs/fsutil.(*InodeSimpleExtendedAttributes).GetXattr() pkg/sentry/fs/fsutil/inode.go:218 +0x88 gvisor.dev/gvisor/pkg/sentry/fs/tmpfs.(*fileInodeOperations).GetXattr() :1 +0x9f gvisor.dev/gvisor/pkg/sentry/fs.(*Inode).GetXattr() pkg/sentry/fs/inode.go:269 +0x1b9 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.getXattr() pkg/sentry/syscalls/linux/sys_xattr.go:113 +0x17b gvisor.dev/gvisor/pkg/sentry/syscalls/linux.getXattrFromPath.func1() pkg/sentry/syscalls/linux/sys_xattr.go:79 +0xb0 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.fileOpOn() pkg/sentry/syscalls/linux/sys_file.go:111 +0x23f gvisor.dev/gvisor/pkg/sentry/syscalls/linux.getXattrFromPath() pkg/sentry/syscalls/linux/sys_xattr.go:74 +0x17c DIAGNOSIS: I0301 00:11:26.506181 28439 main.go:305] *************************** I0301 00:11:26.506349 28439 main.go:306] 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] I0301 00:11:26.506583 28439 main.go:307] Version release-20200219.0-72-gce4d1e45bb88 I0301 00:11:26.506719 28439 main.go:308] PID: 28439 I0301 00:11:26.506874 28439 main.go:309] UID: 0, GID: 0 I0301 00:11:26.506993 28439 main.go:310] Configuration: I0301 00:11:26.507120 28439 main.go:311] RootDir: /syzkaller/managers/ptrace-direct-overlay-host-race/workdir/gvisor_root I0301 00:11:26.507263 28439 main.go:312] Platform: ptrace I0301 00:11:26.507430 28439 main.go:313] FileAccess: exclusive, overlay: true I0301 00:11:26.507613 28439 main.go:314] Network: host, logging: false I0301 00:11:26.507749 28439 main.go:315] Strace: false, max size: 1024, syscalls: [] I0301 00:11:26.508129 28439 main.go:316] *************************** W0301 00:11:26.508236 28439 main.go:321] Block the TERM signal. This is only safe in tests! D0301 00:11:26.508640 28439 container.go:159] Load container "/syzkaller/managers/ptrace-direct-overlay-host-race/workdir/gvisor_root" "ci-gvisor-ptrace-direct-overlay-host-race-1" D0301 00:11:26.519870 28439 container.go:592] Signal container "ci-gvisor-ptrace-direct-overlay-host-race-1": signal 0 D0301 00:11:26.520060 28439 sandbox.go:806] Signal sandbox "ci-gvisor-ptrace-direct-overlay-host-race-1" D0301 00:11:26.520178 28439 sandbox.go:318] Connecting to sandbox "ci-gvisor-ptrace-direct-overlay-host-race-1" D0301 00:11:26.520669 28439 urpc.go:534] urpc: successfully marshalled 123 bytes. D0301 00:11:26.522988 28439 urpc.go:577] urpc: unmarshal success. I0301 00:11:26.523188 28439 debug.go:122] Found sandbox "ci-gvisor-ptrace-direct-overlay-host-race-1", PID: 17867 I0301 00:11:26.524573 28439 debug.go:131] Retrieving sandbox stacks D0301 00:11:26.524989 28439 sandbox.go:924] Stacks sandbox "ci-gvisor-ptrace-direct-overlay-host-race-1" D0301 00:11:26.525166 28439 sandbox.go:318] Connecting to sandbox "ci-gvisor-ptrace-direct-overlay-host-race-1" D0301 00:11:26.525924 28439 urpc.go:534] urpc: successfully marshalled 36 bytes. D0301 00:11:26.728076 28439 urpc.go:577] urpc: unmarshal success. I0301 00:11:26.729253 28439 debug.go:136] *** Stack dump *** goroutine 600139 [running]: gvisor.dev/gvisor/pkg/log.Stacks(0x469801, 0x4e7d1a, 0xc00012a7c8, 0x12b7080) pkg/log/log.go:314 +0xb6 gvisor.dev/gvisor/runsc/boot.(*debug).Stacks(0x25433b8, 0x25433b8, 0xc0116807d0, 0x0, 0x0) runsc/boot/debug.go:26 +0x38 reflect.Value.call(0xc00012a780, 0xc0001381c0, 0x13, 0x12d9570, 0x4, 0xc00a1c7e60, 0x3, 0x3, 0x1480001, 0xc0116807d0, ...) GOROOT/src/reflect/value.go:460 +0x967 reflect.Value.Call(0xc00012a780, 0xc0001381c0, 0x13, 0xc00a1c7e60, 0x3, 0x3, 0x0, 0x25433b8, 0x16) GOROOT/src/reflect/value.go:321 +0xd4 gvisor.dev/gvisor/pkg/urpc.(*Server).handleOne(0xc00012c6f0, 0xc00bd86cc0, 0x0, 0x0) pkg/urpc/urpc.go:325 +0x688 gvisor.dev/gvisor/pkg/urpc.(*Server).handleRegistered(0xc00012c6f0, 0xc00bd86cc0, 0x100000001, 0xc00a6d6540) pkg/urpc/urpc.go:420 +0x43 gvisor.dev/gvisor/pkg/urpc.(*Server).StartHandling.func1(0xc00012c6f0, 0xc00bd86cc0) pkg/urpc/urpc.go:440 +0x90 created by gvisor.dev/gvisor/pkg/urpc.(*Server).StartHandling pkg/urpc/urpc.go:438 +0x6f goroutine 1 [semacquire, 7 minutes]: sync.runtime_Semacquire(0xc000148124) GOROOT/src/runtime/sema.go:56 +0x42 sync.(*WaitGroup).Wait(0xc000148124) GOROOT/src/sync/waitgroup.go:130 +0xd4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Kernel).WaitExited(...) pkg/sentry/kernel/kernel.go:1145 gvisor.dev/gvisor/runsc/boot.(*Loader).WaitExit(0xc00017e000, 0x0, 0x0) runsc/boot/loader.go:905 +0x73 gvisor.dev/gvisor/runsc/cmd.(*Boot).Execute(0xc0002243f0, 0x14676a0, 0xc00019a000, 0xc00023e2a0, 0xc00025ed60, 0x2, 0x2, 0x0) runsc/cmd/boot.go:254 +0x14b3 github.com/google/subcommands.(*Commander).Execute(0xc0001b2000, 0x14676a0, 0xc00019a000, 0xc00025ed60, 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:327 +0x2c21