================================================================== BUG: KCSAN: data-race in link_path_walk / shrink_dentry_list read-write to 0xffff888106220f00 of 4 bytes by task 21732 on cpu 0: d_shrink_del fs/dcache.c:448 [inline] shrink_dentry_list+0x1c7/0x380 fs/dcache.c:1188 shrink_dcache_sb+0x165/0x290 fs/dcache.c:1321 reconfigure_super+0x3ef/0x580 fs/super.c:1121 do_remount fs/namespace.c:2884 [inline] path_mount+0x969/0xb30 fs/namespace.c:3656 do_mount fs/namespace.c:3677 [inline] __do_sys_mount fs/namespace.c:3886 [inline] __se_sys_mount+0x27f/0x2d0 fs/namespace.c:3863 __x64_sys_mount+0x67/0x80 fs/namespace.c:3863 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b read to 0xffff888106220f00 of 4 bytes by task 3109 on cpu 1: __d_entry_type include/linux/dcache.h:386 [inline] d_can_lookup include/linux/dcache.h:401 [inline] link_path_walk+0x4fc/0x7e0 fs/namei.c:2339 path_parentat fs/namei.c:2530 [inline] __filename_parentat+0x13b/0x3c0 fs/namei.c:2554 filename_parentat fs/namei.c:2572 [inline] do_unlinkat+0x9b/0x4c0 fs/namei.c:4357 __do_sys_unlink fs/namei.c:4430 [inline] __se_sys_unlink fs/namei.c:4428 [inline] __x64_sys_unlink+0x30/0x40 fs/namei.c:4428 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b value changed: 0x00280400 -> 0x00200000 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 3109 Comm: syz-executor.3 Not tainted 6.7.0-rc6-syzkaller-00176-g24e0d2e527a3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 ==================================================================