================================================================== BUG: KCSAN: data-race in generic_fillattr / kernfs_refresh_inode write to 0xffff88812a2be9d8 of 16 bytes by task 27440 on cpu 1: set_inode_attr fs/kernfs/inode.c:165 [inline] kernfs_refresh_inode+0x96/0x160 fs/kernfs/inode.c:180 kernfs_iop_permission+0x60/0xa0 fs/kernfs/inode.c:285 do_inode_permission fs/namei.c:384 [inline] inode_permission+0x22d/0x360 fs/namei.c:449 may_lookup fs/namei.c:1561 [inline] link_path_walk.part.0+0x51d/0x700 fs/namei.c:2111 link_path_walk fs/namei.c:2292 [inline] path_lookupat.isra.0+0x75/0x350 fs/namei.c:2318 filename_lookup+0x145/0x2c0 fs/namei.c:2352 user_path_at_empty+0x47/0x60 fs/namei.c:2632 do_readlinkat+0x89/0x230 fs/stat.c:409 __do_sys_readlinkat fs/stat.c:436 [inline] __se_sys_readlinkat fs/stat.c:433 [inline] __x64_sys_readlinkat+0x5a/0x70 fs/stat.c:433 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff88812a2be9d8 of 16 bytes by task 28163 on cpu 0: generic_fillattr+0x120/0x1e0 fs/stat.c:45 kernfs_iop_getattr+0x75/0x90 fs/kernfs/inode.c:196 vfs_getattr_nosec+0x127/0x160 fs/stat.c:83 vfs_getattr+0x53/0x70 fs/stat.c:120 vfs_statx+0x104/0x190 fs/stat.c:201 vfs_lstat include/linux/fs.h:3284 [inline] __do_sys_newlstat+0x50/0xb0 fs/stat.c:364 __se_sys_newlstat fs/stat.c:358 [inline] __x64_sys_newlstat+0x37/0x50 fs/stat.c:358 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 28163 Comm: systemd-udevd Not tainted 5.7.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================