================================================================== BUG: KCSAN: data-race in common_perm_cond / task_dump_owner read to 0xffff88812524eacc of 4 bytes by task 7680 on cpu 0: common_perm_cond+0x65/0x110 security/apparmor/lsm.c:217 apparmor_inode_getattr+0x2b/0x40 security/apparmor/lsm.c:389 security_inode_getattr+0x9b/0xd0 security/security.c:1222 vfs_getattr+0x2e/0x70 fs/stat.c:115 vfs_statx+0x102/0x190 fs/stat.c:191 vfs_stat include/linux/fs.h:3242 [inline] __do_sys_newstat+0x51/0xb0 fs/stat.c:341 __se_sys_newstat fs/stat.c:337 [inline] __x64_sys_newstat+0x3a/0x50 fs/stat.c:337 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 write to 0xffff88812524eacc of 4 bytes by task 7682 on cpu 1: task_dump_owner+0x237/0x260 fs/proc/base.c:1699 pid_update_inode+0x3c/0x70 fs/proc/base.c:1818 pid_revalidate+0x91/0xd0 fs/proc/base.c:1841 d_revalidate fs/namei.c:758 [inline] d_revalidate fs/namei.c:755 [inline] lookup_fast+0x6f2/0x700 fs/namei.c:1607 walk_component+0x6d/0xe70 fs/namei.c:1796 lookup_last fs/namei.c:2263 [inline] path_lookupat.isra.0+0x13a/0x5a0 fs/namei.c:2308 filename_lookup+0x145/0x2b0 fs/namei.c:2338 user_path_at_empty+0x4c/0x70 fs/namei.c:2598 user_path_at include/linux/namei.h:49 [inline] vfs_statx+0xd9/0x190 fs/stat.c:187 vfs_stat include/linux/fs.h:3242 [inline] __do_sys_newstat+0x51/0xb0 fs/stat.c:341 __se_sys_newstat fs/stat.c:337 [inline] __x64_sys_newstat+0x3a/0x50 fs/stat.c:337 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 7682 Comm: ps Not tainted 5.4.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================