================================================================== BUG: KCSAN: data-race in generic_fillattr / shmem_symlink read-write to 0xffff888103ef0710 of 8 bytes by task 28732 on cpu 1: shmem_symlink+0x31b/0x3a0 mm/shmem.c:3490 vfs_symlink+0xc2/0x1a0 fs/namei.c:4480 do_symlinkat+0xe3/0x320 fs/namei.c:4506 __do_sys_symlink fs/namei.c:4527 [inline] __se_sys_symlink fs/namei.c:4525 [inline] __x64_sys_symlink+0x56/0x60 fs/namei.c:4525 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff888103ef0710 of 8 bytes by task 28737 on cpu 0: i_size_read include/linux/fs.h:910 [inline] generic_fillattr+0x144/0x2b0 fs/stat.c:59 shmem_getattr+0x187/0x200 mm/shmem.c:1139 vfs_getattr_nosec fs/stat.c:135 [inline] vfs_getattr fs/stat.c:172 [inline] vfs_statx+0x266/0x430 fs/stat.c:244 vfs_fstatat+0xcd/0x100 fs/stat.c:295 __do_sys_newfstatat fs/stat.c:459 [inline] __se_sys_newfstatat+0x58/0x260 fs/stat.c:453 __x64_sys_newfstatat+0x55/0x60 fs/stat.c:453 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x0000000000000154 -> 0x0000000000000168 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 28737 Comm: udevd Tainted: G W 6.6.0-rc5-syzkaller-00267-g9a3dad63edbe #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 ================================================================== ================================================================== BUG: KCSAN: data-race in generic_fillattr / shmem_symlink read-write to 0xffff888103ef0710 of 8 bytes by task 28819 on cpu 0: shmem_symlink+0x31b/0x3a0 mm/shmem.c:3490 vfs_symlink+0xc2/0x1a0 fs/namei.c:4480 do_symlinkat+0xe3/0x320 fs/namei.c:4506 __do_sys_symlink fs/namei.c:4527 [inline] __se_sys_symlink fs/namei.c:4525 [inline] __x64_sys_symlink+0x56/0x60 fs/namei.c:4525 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff888103ef0710 of 8 bytes by task 28737 on cpu 1: i_size_read include/linux/fs.h:910 [inline] generic_fillattr+0x144/0x2b0 fs/stat.c:59 shmem_getattr+0x187/0x200 mm/shmem.c:1139 vfs_getattr_nosec fs/stat.c:135 [inline] vfs_getattr fs/stat.c:172 [inline] vfs_statx+0x266/0x430 fs/stat.c:244 vfs_fstatat+0xcd/0x100 fs/stat.c:295 __do_sys_newfstatat fs/stat.c:459 [inline] __se_sys_newfstatat+0x58/0x260 fs/stat.c:453 __x64_sys_newfstatat+0x55/0x60 fs/stat.c:453 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x000000000000017c -> 0x0000000000000190 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 28737 Comm: udevd Tainted: G W 6.6.0-rc5-syzkaller-00267-g9a3dad63edbe #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 ==================================================================