================================================================== BUG: KCSAN: data-race in pid_update_inode / tomoyo_get_local_path read to 0xffff8881251212e8 of 2 bytes by task 17623 on cpu 1: tomoyo_get_dentry_path security/tomoyo/realpath.c:134 [inline] tomoyo_get_local_path+0x403/0x470 security/tomoyo/realpath.c:156 tomoyo_realpath_from_path+0x288/0x4c0 security/tomoyo/realpath.c:310 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_perm+0x15d/0x390 security/tomoyo/file.c:822 tomoyo_inode_getattr+0x26/0x40 security/tomoyo/tomoyo.c:129 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:3249 [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/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 write to 0xffff8881251212e8 of 2 bytes by task 17625 on cpu 0: pid_update_inode+0x51/0x70 fs/proc/base.c:1820 pid_revalidate+0x91/0x120 fs/proc/base.c:1841 d_revalidate fs/namei.c:758 [inline] d_revalidate fs/namei.c:755 [inline] lookup_fast+0x6ac/0x6c0 fs/namei.c:1613 walk_component+0x6d/0xd90 fs/namei.c:1798 lookup_last fs/namei.c:2260 [inline] path_lookupat.isra.0+0x13a/0x5a0 fs/namei.c:2305 filename_lookup+0x145/0x2b0 fs/namei.c:2335 user_path_at_empty+0x4c/0x70 fs/namei.c:2615 user_path_at include/linux/namei.h:49 [inline] vfs_statx+0xd9/0x190 fs/stat.c:187 vfs_stat include/linux/fs.h:3249 [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/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 17625 Comm: ps Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================