================================================================== BUG: KCSAN: data-race in __d_instantiate / lookup_fast read-write to 0xffff888138021c00 of 4 bytes by task 23706 on cpu 1: __d_instantiate+0x2cd/0x3b0 fs/dcache.c:2011 d_instantiate_new+0x58/0xe0 fs/dcache.c:2055 ext4_mkdir+0x4ed/0x5e0 fs/ext4/namei.c:2963 vfs_mkdir+0x216/0x320 fs/namei.c:3931 do_mkdirat+0x105/0x280 fs/namei.c:3957 __do_sys_mkdir fs/namei.c:3977 [inline] __se_sys_mkdir fs/namei.c:3975 [inline] __x64_sys_mkdir+0x40/0x50 fs/namei.c:3975 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 0xffff888138021c00 of 4 bytes by task 23708 on cpu 0: 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_lsetxattr fs/xattr.c:619 [inline] __se_sys_lsetxattr fs/xattr.c:615 [inline] __x64_sys_lsetxattr+0x66/0x80 fs/xattr.c:615 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: 0x00000000 -> 0x00280000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 23708 Comm: syz-executor.1 Not tainted 5.18.0-rc4-syzkaller-00424-gb2da7df52e16-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================