================================================================== BUG: KCSAN: data-race in __dentry_kill / d_walk write to 0xffff88813f61c0c0 of 4 bytes by task 21420 on cpu 0: d_lru_del fs/dcache.c:437 [inline] __dentry_kill+0x9a/0x4a0 fs/dcache.c:598 dput+0x54/0xc0 fs/dcache.c:845 __fput+0x41d/0x630 fs/file_table.c:384 ____fput+0x15/0x20 fs/file_table.c:404 task_work_run+0x135/0x1a0 kernel/task_work.c:180 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0x604/0x16d0 kernel/exit.c:871 do_group_exit+0x101/0x150 kernel/exit.c:1020 get_signal+0xf4e/0x10a0 kernel/signal.c:2893 arch_do_signal_or_restart+0x95/0x4b0 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:105 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:201 [inline] syscall_exit_to_user_mode+0x58/0x130 kernel/entry/common.c:212 do_syscall_64+0xda/0x1d0 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x63/0x6b read to 0xffff88813f61c0c0 of 4 bytes by task 3088 on cpu 1: d_walk+0x1f2/0x490 fs/dcache.c:1296 shrink_dcache_parent+0x84/0x1b0 fs/dcache.c:1487 vfs_rmdir+0x283/0x2f0 fs/namei.c:4209 do_rmdir+0x194/0x320 fs/namei.c:4264 __do_sys_unlinkat fs/namei.c:4440 [inline] __se_sys_unlinkat fs/namei.c:4434 [inline] __x64_sys_unlinkat+0xa4/0xb0 fs/namei.c:4434 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: 0x00280100 -> 0x00000100 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 3088 Comm: syz-fuzzer Not tainted 6.8.0-rc5-syzkaller-00002-gfca7526b7d89 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 ==================================================================