================================================================== BUG: KCSAN: data-race in generic_fillattr / kernfs_refresh_inode write to 0xffff888120c95568 of 16 bytes by task 5281 on cpu 0: set_inode_attr fs/kernfs/inode.c:166 [inline] kernfs_refresh_inode+0xbb/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_open.isra.0+0x13d/0x240 fs/namei.c:2852 do_open fs/namei.c:3227 [inline] path_openat+0x15a2/0x23d0 fs/namei.c:3346 do_filp_open+0x11e/0x1b0 fs/namei.c:3373 do_sys_openat2+0x52e/0x680 fs/open.c:1148 do_sys_open+0xa2/0x110 fs/open.c:1164 ksys_open include/linux/syscalls.h:1386 [inline] __do_sys_open fs/open.c:1170 [inline] __se_sys_open fs/open.c:1168 [inline] __x64_sys_open+0x50/0x60 fs/open.c:1168 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff888120c95568 of 16 bytes by task 23406 on cpu 1: generic_fillattr+0x145/0x1e0 fs/stat.c:46 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_fd+0x74/0xc0 fs/stat.c:147 vfs_fstat include/linux/fs.h:3295 [inline] __do_sys_newfstat+0x46/0xa0 fs/stat.c:388 __se_sys_newfstat fs/stat.c:385 [inline] __x64_sys_newfstat+0x37/0x50 fs/stat.c:385 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: 1 PID: 23406 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 ==================================================================