================================================================== BUG: KCSAN: data-race in __dentry_kill / d_set_d_op write to 0xffff8881339e6840 of 4 bytes by task 20846 on cpu 1: d_set_d_op+0x17f/0x220 fs/dcache.c:1910 simple_lookup+0x78/0x90 fs/libfs.c:74 __lookup_slow+0x181/0x280 fs/namei.c:1646 lookup_slow fs/namei.c:1663 [inline] walk_component+0x2a5/0x350 fs/namei.c:1959 lookup_last fs/namei.c:2414 [inline] path_lookupat+0x12d/0x3d0 fs/namei.c:2438 filename_lookup+0x118/0x3b0 fs/namei.c:2467 user_path_at_empty+0x3b/0x50 fs/namei.c:2747 user_path_at include/linux/namei.h:57 [inline] vfs_statx+0x98/0x290 fs/stat.c:203 vfs_fstatat fs/stat.c:225 [inline] vfs_stat include/linux/fs.h:3382 [inline] __do_sys_newstat fs/stat.c:367 [inline] __se_sys_newstat+0x46/0x250 fs/stat.c:363 __x64_sys_newstat+0x2d/0x40 fs/stat.c:363 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff8881339e6840 of 4 bytes by task 20838 on cpu 0: dentry_unlist fs/dcache.c:547 [inline] __dentry_kill+0x1ef/0x4e0 fs/dcache.c:578 dentry_kill fs/dcache.c:695 [inline] dput+0xc6/0x360 fs/dcache.c:888 handle_mounts fs/namei.c:1491 [inline] step_into+0x463/0xee0 fs/namei.c:1789 walk_component+0x190/0x350 fs/namei.c:1965 lookup_last fs/namei.c:2414 [inline] path_lookupat+0x12d/0x3d0 fs/namei.c:2438 filename_lookup+0x118/0x3b0 fs/namei.c:2467 user_path_at_empty+0x3b/0x50 fs/namei.c:2747 user_path_at include/linux/namei.h:57 [inline] vfs_statx+0x98/0x290 fs/stat.c:203 vfs_fstatat fs/stat.c:225 [inline] vfs_stat include/linux/fs.h:3382 [inline] __do_sys_newstat fs/stat.c:367 [inline] __se_sys_newstat+0x46/0x250 fs/stat.c:363 __x64_sys_newstat+0x2d/0x40 fs/stat.c:363 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x10000000 -> 0x00000008 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 20838 Comm: syz-executor.1 Not tainted 5.14.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ================================================================== loop1: detected capacity change from 0 to 16383