================================================================== BUG: KCSAN: data-race in __d_instantiate / lookup_fast read-write to 0xffff888137dc0c00 of 4 bytes by task 9829 on cpu 0: __d_instantiate+0x2cd/0x3b0 fs/dcache.c:2011 d_instantiate_new+0x58/0xe0 fs/dcache.c:2055 ext4_mkdir+0x5ff/0x760 fs/ext4/namei.c:2963 vfs_mkdir+0x216/0x320 fs/namei.c:3931 do_mkdirat+0x105/0x280 fs/namei.c:3957 __do_sys_mkdirat fs/namei.c:3972 [inline] __se_sys_mkdirat fs/namei.c:3970 [inline] __x64_sys_mkdirat+0x4c/0x60 fs/namei.c:3970 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff888137dc0c00 of 4 bytes by task 9831 on cpu 1: d_revalidate fs/namei.c:853 [inline] lookup_fast+0x172/0x360 fs/namei.c:1656 walk_component+0x6b/0x280 fs/namei.c:2016 lookup_last fs/namei.c:2475 [inline] path_lookupat+0x11d/0x2b0 fs/namei.c:2499 filename_lookup+0x130/0x310 fs/namei.c:2528 user_path_at_empty+0x3e/0x110 fs/namei.c:2851 user_path_at include/linux/namei.h:57 [inline] path_setxattr+0x60/0x190 fs/xattr.c:591 __do_sys_setxattr fs/xattr.c:612 [inline] __se_sys_setxattr fs/xattr.c:608 [inline] __x64_sys_setxattr+0x69/0x80 fs/xattr.c:608 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x00080000 -> 0x00280040 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 9831 Comm: syz-executor.2 Not tainted 5.18.0-rc6-syzkaller-00007-g9be9ed2612b5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================