================================================================== BUG: KCSAN: data-race in shmem_mknod / vfs_getattr_nosec write to 0xffff888102f92728 of 8 bytes by task 2252 on cpu 1: shmem_mknod+0xdc/0x170 mm/shmem.c:2840 shmem_create+0x2f/0x40 mm/shmem.c:2891 lookup_open fs/namei.c:3280 [inline] open_last_lookups fs/namei.c:3350 [inline] path_openat+0xd2c/0x1eb0 fs/namei.c:3556 do_filp_open+0x105/0x220 fs/namei.c:3586 do_sys_openat2+0xb5/0x2b0 fs/open.c:1212 do_sys_open fs/open.c:1228 [inline] __do_sys_openat fs/open.c:1244 [inline] __se_sys_openat fs/open.c:1239 [inline] __x64_sys_openat+0xef/0x110 fs/open.c:1239 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff888102f92728 of 8 bytes by task 2032 on cpu 0: i_size_read include/linux/fs.h:891 [inline] generic_fillattr fs/stat.c:53 [inline] vfs_getattr_nosec+0x242/0x2f0 fs/stat.c:126 vfs_getattr fs/stat.c:160 [inline] vfs_statx+0x138/0x2a0 fs/stat.c:225 vfs_fstatat fs/stat.c:243 [inline] __do_sys_newfstatat fs/stat.c:412 [inline] __se_sys_newfstatat+0x63/0x260 fs/stat.c:406 __x64_sys_newfstatat+0x51/0x60 fs/stat.c:406 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x0000000000001838 -> 0x000000000000184c Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 2032 Comm: udevd Not tainted 5.16.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================