BUG: KCSAN: data-race in __d_instantiate / step_into write to 0xffff8881428034b0 of 8 bytes by task 6170 on cpu 0: __d_set_inode_and_type fs/dcache.c:344 [inline] __d_instantiate+0x1f9/0x3c0 fs/dcache.c:1853 d_instantiate_new+0x5c/0xf0 fs/dcache.c:1899 ext4_add_nondir+0x16c/0x190 fs/ext4/namei.c:2798 ext4_create+0x20e/0x2f0 fs/ext4/namei.c:2839 lookup_open fs/namei.c:3496 [inline] open_last_lookups fs/namei.c:3565 [inline] path_openat+0xdc2/0x1d40 fs/namei.c:3795 do_filp_open+0xf6/0x200 fs/namei.c:3825 do_sys_openat2+0xab/0x110 fs/open.c:1404 do_sys_open fs/open.c:1419 [inline] __do_sys_open fs/open.c:1427 [inline] __se_sys_open fs/open.c:1423 [inline] __x64_sys_open+0xe6/0x110 fs/open.c:1423 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b read to 0xffff8881428034b0 of 8 bytes by task 6172 on cpu 1: step_into+0x123/0x800 fs/namei.c:1843 walk_component+0x164/0x230 fs/namei.c:2007 lookup_last fs/namei.c:2458 [inline] path_lookupat+0x10a/0x2a0 fs/namei.c:2482 filename_lookup+0x126/0x300 fs/namei.c:2511 user_path_at_empty+0x42/0x120 fs/namei.c:2920 user_path_at include/linux/namei.h:57 [inline] path_setxattr+0x60/0x1a0 fs/xattr.c:667 __do_sys_setxattr fs/xattr.c:688 [inline] __se_sys_setxattr fs/xattr.c:684 [inline] __x64_sys_setxattr+0x6d/0x80 fs/xattr.c:684 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b value changed: 0x0000000000000000 -> 0xffff8881069fea38 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 6172 Comm: syz-executor.2 Not tainted 6.8.0-rc4-syzkaller-00388-gced590523156 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 ==================================================================