================================================================== BUG: KCSAN: data-race in generic_fillattr / shmem_mknod write to 0xffff888104986418 of 8 bytes by task 3216 on cpu 0: shmem_mknod+0xdc/0x170 mm/shmem.c:2825 shmem_create+0x2f/0x40 mm/shmem.c:2876 lookup_open fs/namei.c:3330 [inline] open_last_lookups fs/namei.c:3400 [inline] path_openat+0xc79/0x1f30 fs/namei.c:3606 do_filp_open+0x105/0x220 fs/namei.c:3636 do_sys_openat2+0xb5/0x2b0 fs/open.c:1214 do_sys_open fs/open.c:1230 [inline] __do_sys_openat fs/open.c:1246 [inline] __se_sys_openat fs/open.c:1241 [inline] __x64_sys_openat+0xef/0x110 fs/open.c:1241 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 0xffff888104986418 of 8 bytes by task 4790 on cpu 1: i_size_read include/linux/fs.h:885 [inline] generic_fillattr+0x203/0x2b0 fs/stat.c:53 vfs_getattr_nosec fs/stat.c:126 [inline] vfs_getattr fs/stat.c:160 [inline] vfs_statx+0x265/0x3c0 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: 0x0000000000001874 -> 0x0000000000001888 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 4790 Comm: udevd Tainted: G W 5.17.0-rc7-syzkaller-00205-g79b00034e9dc-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================