WARNING: DATA RACE Write at 0x00c0003c61b0 by goroutine 346: runtime.mapdelete_faststr() GOROOT/src/runtime/map_faststr.go:297 +0x0 gvisor.dev/gvisor/pkg/sentry/fs/fsutil.(*InodeSimpleExtendedAttributes).RemoveXattr() pkg/sentry/fs/fsutil/inode.go:265 +0x13f gvisor.dev/gvisor/pkg/sentry/fs/tmpfs.(*fileInodeOperations).RemoveXattr() :1 +0x83 gvisor.dev/gvisor/pkg/sentry/fs.(*Inode).RemoveXattr() pkg/sentry/fs/inode.go:293 +0x152 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.removeXattr() pkg/sentry/syscalls/linux/sys_xattr.go:421 +0x155 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.FRemoveXattr() pkg/sentry/syscalls/linux/sys_xattr.go:385 +0x141 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall() pkg/sentry/kernel/task_syscall.go:170 +0x44d gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke() pkg/sentry/kernel/task_syscall.go:291 +0xb4 DIAGNOSIS: I0301 05:50:09.810920 26651 main.go:305] *************************** I0301 05:50:09.811053 26651 main.go:306] Args: [/syzkaller/managers/ptrace-proxy-sandbox-race/current/image -root /syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root -watchdog-action=panic -network=none -debug -alsologtostderr -platform=ptrace -file-access=shared -network=sandbox -TESTONLY-unsafe-nonroot debug -stacks --ps ci-gvisor-ptrace-proxy-sandbox-race-1] I0301 05:50:09.812227 26651 main.go:307] Version release-20200219.0-72-gce4d1e45bb88 I0301 05:50:09.812299 26651 main.go:308] PID: 26651 I0301 05:50:09.812381 26651 main.go:309] UID: 0, GID: 0 I0301 05:50:09.812461 26651 main.go:310] Configuration: I0301 05:50:09.812551 26651 main.go:311] RootDir: /syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root I0301 05:50:09.812627 26651 main.go:312] Platform: ptrace I0301 05:50:09.812708 26651 main.go:313] FileAccess: shared, overlay: false I0301 05:50:09.813112 26651 main.go:314] Network: sandbox, logging: false I0301 05:50:09.813172 26651 main.go:315] Strace: false, max size: 1024, syscalls: [] I0301 05:50:09.813258 26651 main.go:316] *************************** W0301 05:50:09.813350 26651 main.go:321] Block the TERM signal. This is only safe in tests! D0301 05:50:09.813516 26651 container.go:159] Load container "/syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root" "ci-gvisor-ptrace-proxy-sandbox-race-1" D0301 05:50:09.821070 26651 container.go:592] Signal container "ci-gvisor-ptrace-proxy-sandbox-race-1": signal 0 D0301 05:50:09.821240 26651 sandbox.go:806] Signal sandbox "ci-gvisor-ptrace-proxy-sandbox-race-1" D0301 05:50:09.821374 26651 sandbox.go:318] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-1" D0301 05:50:09.821868 26651 urpc.go:534] urpc: successfully marshalled 117 bytes. I0301 05:50:09.854125 26651 debug.go:122] Found sandbox "ci-gvisor-ptrace-proxy-sandbox-race-1", PID: 21370 I0301 05:50:09.855733 26651 debug.go:131] Retrieving sandbox stacks D0301 05:50:09.855832 26651 sandbox.go:924] Stacks sandbox "ci-gvisor-ptrace-proxy-sandbox-race-1" D0301 05:50:09.856265 26651 sandbox.go:318] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-1" W0301 05:50:09.856427 26651 error.go:48] FATAL ERROR: retrieving stacks: connecting to control server at PID 21370: connection refused retrieving stacks: connecting to control server at PID 21370: connection refused W0301 05:50:09.856997 26651 main.go:338] Failure to execute command, err: 1 Error collecting stacks: failed to run ["/syzkaller/managers/ptrace-proxy-sandbox-race/current/image" "-root" "/syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root" "-watchdog-action=panic" "-network=none" "-debug" "-alsologtostderr" "-platform=ptrace" "-file-access=shared" "-network=sandbox" "-TESTONLY-unsafe-nonroot" "debug" "-stacks" "--ps" "ci-gvisor-ptrace-proxy-sandbox-race-1"]: exit status 128 I0301 05:50:09.810920 26651 main.go:305] *************************** I0301 05:50:09.811053 26651 main.go:306] Args: [/syzkaller/managers/ptrace-proxy-sandbox-race/current/image -root /syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root -watchdog-action=panic -network=none -debug -alsologtostderr -platform=ptrace -file-access=shared -network=sandbox -TESTONLY-unsafe-nonroot debug -stacks --ps ci-gvisor-ptrace-proxy-sandbox-race-1] I0301 05:50:09.812227 26651 main.go:307] Version release-20200219.0-72-gce4d1e45bb88 I0301 05:50:09.812299 26651 main.go:308] PID: 26651 I0301 05:50:09.812381 26651 main.go:309] UID: 0, GID: 0 I0301 05:50:09.812461 26651 main.go:310] Configuration: I0301 05:50:09.812551 26651 main.go:311] RootDir: /syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root I0301 05:50:09.812627 26651 main.go:312] Platform: ptrace I0301 05:50:09.812708 26651 main.go:313] FileAccess: shared, overlay: false I0301 05:50:09.813112 26651 main.go:314] Network: sandbox, logging: false I0301 05:50:09.813172 26651 main.go:315] Strace: false, max size: 1024, syscalls: [] I0301 05:50:09.813258 26651 main.go:316] *************************** W0301 05:50:09.813350 26651 main.go:321] Block the TERM signal. This is only safe in tests! D0301 05:50:09.813516 26651 container.go:159] Load container "/syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root" "ci-gvisor-ptrace-proxy-sandbox-race-1" D0301 05:50:09.821070 26651 container.go:592] Signal container "ci-gvisor-ptrace-proxy-sandbox-race-1": signal 0 D0301 05:50:09.821240 26651 sandbox.go:806] Signal sandbox "ci-gvisor-ptrace-proxy-sandbox-race-1" D0301 05:50:09.821374 26651 sandbox.go:318] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-1" D0301 05:50:09.821868 26651 urpc.go:534] urpc: successfully marshalled 117 bytes. I0301 05:50:09.854125 26651 debug.go:122] Found sandbox "ci-gvisor-ptrace-proxy-sandbox-race-1", PID: 21370 I0301 05:50:09.855733 26651 debug.go:131] Retrieving sandbox stacks D0301 05:50:09.855832 26651 sandbox.go:924] Stacks sandbox "ci-gvisor-ptrace-proxy-sandbox-race-1" D0301 05:50:09.856265 26651 sandbox.go:318] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-1" W0301 05:50:09.856427 26651 error.go:48] FATAL ERROR: retrieving stacks: connecting to control server at PID 21370: connection refused retrieving stacks: connecting to control server at PID 21370: connection refused W0301 05:50:09.856997 26651 main.go:338] Failure to execute command, err: 1 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter() pkg/sentry/kernel/task_syscall.go:252 +0x109 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall() pkg/sentry/kernel/task_syscall.go:227 +0x1b3 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute() pkg/sentry/kernel/task_run.go:232 +0x1aaa gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run() pkg/sentry/kernel/task_run.go:92 +0x320