================================================================== BUG: KCSAN: data-race in kernfs_refresh_inode / tomoyo_realpath_from_path read to 0xffff888128d13c38 of 2 bytes by task 3991 on cpu 0: tomoyo_get_absolute_path security/tomoyo/realpath.c:104 [inline] tomoyo_realpath_from_path+0x441/0x4c0 security/tomoyo/realpath.c:304 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_check_open_permission+0x201/0x320 security/tomoyo/file.c:771 tomoyo_file_open security/tomoyo/tomoyo.c:319 [inline] tomoyo_file_open+0x75/0x90 security/tomoyo/tomoyo.c:314 security_file_open+0x69/0x210 security/security.c:1497 do_dentry_open+0x211/0x970 fs/open.c:784 vfs_open+0x62/0x80 fs/open.c:914 do_last fs/namei.c:3420 [inline] path_openat+0xf9f/0x3580 fs/namei.c:3537 do_filp_open+0x11e/0x1b0 fs/namei.c:3567 do_sys_open+0x3b3/0x4f0 fs/open.c:1097 __do_sys_open fs/open.c:1115 [inline] __se_sys_open fs/open.c:1110 [inline] __x64_sys_open+0x55/0x70 fs/open.c:1110 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 write to 0xffff888128d13c38 of 2 bytes by task 8108 on cpu 1: kernfs_refresh_inode+0x42/0x140 fs/kernfs/inode.c:172 kernfs_iop_getattr+0x68/0x90 fs/kernfs/inode.c:191 vfs_getattr_nosec+0x12e/0x170 fs/stat.c:81 vfs_getattr+0x54/0x70 fs/stat.c:118 vfs_statx_fd+0x7a/0xd0 fs/stat.c:145 vfs_fstat include/linux/fs.h:3265 [inline] __do_sys_newfstat+0x49/0xa0 fs/stat.c:378 __se_sys_newfstat fs/stat.c:375 [inline] __x64_sys_newfstat+0x3a/0x50 fs/stat.c:375 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: 1 PID: 8108 Comm: udevd Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================