WARNING: DATA RACE Read at 0x00c00082a308 by goroutine 433: gvisor.googlesource.com/gvisor/pkg/sentry/fs/fsutil.(*InodeSimpleAttributes).UnstableAttr() pkg/sentry/fs/fsutil/inode.go:114 +0x91 gvisor.googlesource.com/gvisor/pkg/sentry/fs/tmpfs.(*Dir).UnstableAttr() pkg/sentry/fs/tmpfs/tmpfs.go:189 +0xc1 gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*Inode).UnstableAttr() pkg/sentry/fs/inode.go:247 +0x25f gvisor.googlesource.com/gvisor/pkg/sentry/fs.ContextCanAccessFile() pkg/sentry/fs/context.go:36 +0x98 gvisor.googlesource.com/gvisor/pkg/sentry/fs/fsutil.InodeGenericChecker.Check() pkg/sentry/fs/fsutil/inode.go:446 +0x67 gvisor.googlesource.com/gvisor/pkg/sentry/fs/tmpfs.(*Dir).Check() :1 +0x7b gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*Inode).check() pkg/sentry/fs/inode.go:300 +0xb5 gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*Inode).CheckPermission() pkg/sentry/fs/inode.go:293 +0xa1 gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*MountNamespace).FindLink() pkg/sentry/fs/mounts.go:398 +0x486 gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*MountNamespace).FindInode() pkg/sentry/fs/mounts.go:443 +0x93 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.fileOpOn() pkg/sentry/syscalls/linux/sys_file.go:97 +0x187 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Stat() pkg/sentry/syscalls/linux/sys_stat.go:37 +0x145 DIAGNOSIS: I0123 20:10:08.409999 13387 x:0] *************************** I0123 20:10:08.410138 13387 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] I0123 20:10:08.410224 13387 x:0] Git Revision: 5f08f8fd8162fa2fc2ca7b862263081d8d07b206 I0123 20:10:08.410258 13387 x:0] PID: 13387 I0123 20:10:08.410290 13387 x:0] UID: 0, GID: 0 I0123 20:10:08.410312 13387 x:0] Configuration: I0123 20:10:08.410330 13387 x:0] RootDir: /syzkaller/managers/kvm-direct-overlay-host-race/workdir/gvisor_root I0123 20:10:08.410388 13387 x:0] Platform: ptrace I0123 20:10:08.410413 13387 x:0] FileAccess: exclusive, overlay: true I0123 20:10:08.410440 13387 x:0] Network: host, logging: false I0123 20:10:08.410473 13387 x:0] Strace: false, max size: 1024, syscalls: [] I0123 20:10:08.410501 13387 x:0] *************************** D0123 20:10:08.410564 13387 x:0] Load container "/syzkaller/managers/kvm-direct-overlay-host-race/workdir/gvisor_root" "ci-gvisor-kvm-direct-overlay-host-race-2" D0123 20:10:08.414130 13387 x:0] Signal container "ci-gvisor-kvm-direct-overlay-host-race-2": signal 0 D0123 20:10:08.414202 13387 x:0] Signal sandbox "ci-gvisor-kvm-direct-overlay-host-race-2" D0123 20:10:08.414237 13387 x:0] Connecting to sandbox "ci-gvisor-kvm-direct-overlay-host-race-2" D0123 20:10:08.414722 13387 x:0] urpc: successfully marshalled 120 bytes. D0123 20:10:08.416846 13387 x:0] urpc: unmarshal success. I0123 20:10:08.416999 13387 x:0] Found sandbox "ci-gvisor-kvm-direct-overlay-host-race-2", PID: 62390 I0123 20:10:08.417048 13387 x:0] Retrieving sandbox stacks D0123 20:10:08.417064 13387 x:0] Stacks sandbox "ci-gvisor-kvm-direct-overlay-host-race-2" D0123 20:10:08.417114 13387 x:0] Connecting to sandbox "ci-gvisor-kvm-direct-overlay-host-race-2" D0123 20:10:08.417407 13387 x:0] urpc: successfully marshalled 36 bytes. D0123 20:10:08.584703 13387 x:0] urpc: unmarshal success. I0123 20:10:08.584822 13387 x:0] *** Stack dump *** goroutine 852897 [running]: gvisor.googlesource.com/gvisor/pkg/log.Stacks(0x459e01, 0x28, 0x45d3f2, 0x4e466d) pkg/log/log.go:259 +0xd1 gvisor.googlesource.com/gvisor/runsc/boot.(*debug).Stacks(0x22e11f8, 0x22e11f8, 0xc000128c70, 0x0, 0x0) runsc/boot/debug.go:26 +0x38 reflect.Value.call(0xc000273a40, 0xc0002861f0, 0x13, 0x10d4583, 0x4, 0xc00137be68, 0x3, 0x3, 0x4f058e, 0xf902c0, ...) GOROOT/src/reflect/value.go:447 +0x635 reflect.Value.Call(0xc000273a40, 0xc0002861f0, 0x13, 0xc00137be68, 0x3, 0x3, 0x0, 0x22e11f8, 0x16) GOROOT/src/reflect/value.go:308 +0xc1 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).handleOne(0xc00026b2c0, 0xc000a5ea20, 0x0, 0x0) pkg/urpc/urpc.go:298 +0x613 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).handleRegistered(0xc00026b2c0, 0xc000a5ea20, 0xc00026b2c0, 0xc000a5ea20) pkg/urpc/urpc.go:393 +0x43 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).StartHandling.func1(0xc00026b2c0, 0xc000a5ea20) 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, 4 minutes]: sync.runtime_Semacquire(0xc000148b74) GOROOT/src/runtime/sema.go:56 +0x39 sync.(*WaitGroup).Wait(0xc000148b74) GOROOT/src/sync/waitgroup.go:130 +0xb5 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Kernel).WaitExited(0xc000260140) pkg/sentry/kernel/kernel.go:801 +0x57 gvisor.googlesource.com/gvisor/runsc/boot.(*Loader).WaitExit(0xc000260280, 0x0, 0x0) runsc/boot/loader.go:747 +0x50 gvisor.googlesource.com/gvisor/runsc/cmd.(*Boot).Execute(0xc00027a090, 0x12196c0, 0xc000132010, 0xc0002725a0, 0xc00029a160, 0x2, 0x2, 0x0) runsc/cmd/boot.go:236 +0x121d github.com/google/subcommands.(*Commander).Execute(0xc000144000, 0x12196c0, 0xc000132010, 0xc00029a160, 0x2, 0x2, 0x1) external/com_github_google_subcommands/subcommands.go:141 +0x525 github.com/google/subcommands.Execute(0x12196c0, 0xc000132010, 0xc00029a160, 0x2, 0x2, 0xc00027e3a0) external/com_github_google_subcommands/subcommands.go:371 +0x81 main.main() runsc/main.go:221 +0x1ef8