WARNING: DATA RACE Read at 0x00c000d73a68 by goroutine 525: 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 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).executeSyscall() pkg/sentry/kernel/task_syscall.go:165 +0x17a gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke() pkg/sentry/kernel/task_syscall.go:283 +0xb4 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter() pkg/sentry/kernel/task_syscall.go:244 +0x10c gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscall() pkg/sentry/kernel/task_syscall.go:219 +0x1e3 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*runApp).execute() pkg/sentry/kernel/task_run.go:215 +0x15a9 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).run() pkg/sentry/kernel/task_run.go:91 +0x24b Previous write at 0x00c000d73a68 by goroutine 448: gvisor.googlesource.com/gvisor/pkg/sentry/fs/ramfs.(*dirFileOperations).Readdir() pkg/sentry/fs/ramfs/dir.go:419 +0x1fb gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*File).Readdir() pkg/sentry/fs/file.go:226 +0x129 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.getdents() pkg/sentry/syscalls/linux/sys_getdents.go:82 +0x25b gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Getdents64() pkg/sentry/syscalls/linux/sys_getdents.go:59 +0x148 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).executeSyscall() pkg/sentry/kernel/task_syscall.go:165 +0x17a gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke() pkg/sentry/kernel/task_syscall.go:283 +0xb4 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter() pkg/sentry/kernel/task_syscall.go:244 +0x10c DIAGNOSIS: I0125 11:53:40.788048 15872 x:0] *************************** I0125 11:53:40.788227 15872 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] I0125 11:53:40.788322 15872 x:0] Git Revision: cc995207531965b70bc1b812a70b91f242a92086 I0125 11:53:40.788348 15872 x:0] PID: 15872 I0125 11:53:40.788381 15872 x:0] UID: 0, GID: 0 I0125 11:53:40.788417 15872 x:0] Configuration: I0125 11:53:40.788437 15872 x:0] RootDir: /syzkaller/managers/kvm-direct-overlay-host-race/workdir/gvisor_root I0125 11:53:40.788460 15872 x:0] Platform: ptrace I0125 11:53:40.788489 15872 x:0] FileAccess: exclusive, overlay: true I0125 11:53:40.788556 15872 x:0] Network: host, logging: false I0125 11:53:40.788596 15872 x:0] Strace: false, max size: 1024, syscalls: [] I0125 11:53:40.788628 15872 x:0] *************************** D0125 11:53:40.788724 15872 x:0] Load container "/syzkaller/managers/kvm-direct-overlay-host-race/workdir/gvisor_root" "ci-gvisor-kvm-direct-overlay-host-race-2" D0125 11:53:40.793108 15872 x:0] Signal container "ci-gvisor-kvm-direct-overlay-host-race-2": signal 0 D0125 11:53:40.793194 15872 x:0] Signal sandbox "ci-gvisor-kvm-direct-overlay-host-race-2" D0125 11:53:40.793249 15872 x:0] Connecting to sandbox "ci-gvisor-kvm-direct-overlay-host-race-2" D0125 11:53:40.793729 15872 x:0] urpc: successfully marshalled 120 bytes. D0125 11:53:40.794872 15872 x:0] urpc: unmarshal success. I0125 11:53:40.795024 15872 x:0] Found sandbox "ci-gvisor-kvm-direct-overlay-host-race-2", PID: 43696 I0125 11:53:40.795081 15872 x:0] Retrieving sandbox stacks D0125 11:53:40.795098 15872 x:0] Stacks sandbox "ci-gvisor-kvm-direct-overlay-host-race-2" D0125 11:53:40.795140 15872 x:0] Connecting to sandbox "ci-gvisor-kvm-direct-overlay-host-race-2" D0125 11:53:40.795455 15872 x:0] urpc: successfully marshalled 36 bytes. D0125 11:53:41.011284 15872 x:0] urpc: unmarshal success. I0125 11:53:41.011429 15872 x:0] *** Stack dump *** goroutine 1757357 [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, 0xc00062e090, 0x0, 0x0) runsc/boot/debug.go:26 +0x38 reflect.Value.call(0xc000340060, 0xc000136250, 0x13, 0x10d4223, 0x4, 0xc000713e68, 0x3, 0x3, 0x4f058e, 0xf8ffe0, ...) GOROOT/src/reflect/value.go:447 +0x635 reflect.Value.Call(0xc000340060, 0xc000136250, 0x13, 0xc000713e68, 0x3, 0x3, 0x0, 0x22e11f8, 0x16) GOROOT/src/reflect/value.go:308 +0xc1 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).handleOne(0xc000298a50, 0xc00136f710, 0x0, 0x0) pkg/urpc/urpc.go:298 +0x613 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).handleRegistered(0xc000298a50, 0xc00136f710, 0xc000298a50, 0xc00136f710) pkg/urpc/urpc.go:393 +0x43 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).StartHandling.func1(0xc000298a50, 0xc00136f710) pkg/urpc/urpc.go:413 +0x77 created by gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).StartHandling pkg/urpc/urpc.go:411 +0x6f