KCSAN: data-race in d_invalidate / fast_dput (7)

Status: moderation: reported on 2026/06/16 01:14
Subsystems: fs
Labels: race:benign prio:high
[Documentation on labels]
Reported-by: syzbot+cf4db856a13fb368457b@syzkaller.appspotmail.com
First crash: 51d, last: 6d21h
✨ AI Jobs (2)
ID Workflow Result Correct Bug Created Started Finished Revision
557baac5 assessment-security DenialOfService: ❌ Exploitable: ❌ FilesystemTrigger: ❌ NetworkTrigger: ❌ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ✅ UserNamespace: ✅ VMGuestTrigger: ✅ VMHostTrigger: ❌ KCSAN: data-race in d_invalidate / fast_dput (7) 2026/06/18 09:17 2026/06/18 09:17 2026/06/18 09:36 b62b3ded
c6df3c40 assessment-kcsan Benign: ✅ KCSAN: data-race in d_invalidate / fast_dput (7) 2026/06/16 01:13 2026/06/16 01:13 2026/06/16 01:34 50bb0618
Similar bugs (6)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in d_invalidate / fast_dput (4) fs 6 4 633d 673d 0/29 auto-obsoleted due to no activity on 2025/01/05 15:13
upstream KCSAN: data-race in d_invalidate / fast_dput (6) fs 6 4 196d 238d 0/29 auto-obsoleted due to no activity on 2026/03/18 09:52
upstream KCSAN: data-race in d_invalidate / fast_dput (2) fs 6 1 792d 792d 0/29 auto-obsoleted due to no activity on 2024/07/09 14:03
upstream KCSAN: data-race in d_invalidate / fast_dput (5) fs 6 4 307d 391d 0/29 auto-obsoleted due to no activity on 2025/11/27 20:51
upstream KCSAN: data-race in d_invalidate / fast_dput (3) fs 6 2 719d 729d 0/29 auto-obsoleted due to no activity on 2024/09/21 03:13
upstream KCSAN: data-race in d_invalidate / fast_dput fs 6 4 865d 912d 0/29 auto-obsoleted due to no activity on 2024/04/27 15:57

Sample crash report:
==================================================================
BUG: KCSAN: data-race in d_invalidate / fast_dput

write to 0xffff88811a5ce9d0 of 8 bytes by task 3279 on cpu 1:
 __d_drop fs/dcache.c:578 [inline]
 d_invalidate+0x5b/0x1f0 fs/dcache.c:1863
 lookup_fast+0x297/0x320 fs/namei.c:1885
 walk_component fs/namei.c:2278 [inline]
 link_path_walk+0x523/0xdd0 fs/namei.c:2656
 path_openat+0x1ac/0x2000 fs/namei.c:4859
 do_file_open+0x16c/0x290 fs/namei.c:4892
 do_sys_openat2+0xa0/0x130 fs/open.c:1368
 do_sys_open fs/open.c:1374 [inline]
 __do_sys_openat fs/open.c:1390 [inline]
 __se_sys_openat fs/open.c:1385 [inline]
 __x64_sys_openat+0xf2/0x120 fs/open.c:1385
 x64_sys_call+0x1e39/0x3020 arch/x86/include/generated/asm/syscalls_64.h:258
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x136/0x3c0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

read to 0xffff88811a5ce9d0 of 8 bytes by task 2979 on cpu 0:
 hlist_bl_unhashed include/linux/list_bl.h:54 [inline]
 d_unhashed include/linux/dcache.h:396 [inline]
 retain_dentry fs/dcache.c:872 [inline]
 fast_dput+0x64/0x2e0 fs/dcache.c:971
 dput+0x1f/0x50 fs/dcache.c:1040
 handle_mounts fs/namei.c:1753 [inline]
 step_into_slowpath+0x38c/0x4c0 fs/namei.c:2104
 step_into fs/namei.c:2152 [inline]
 walk_component fs/namei.c:2288 [inline]
 link_path_walk+0x947/0xdd0 fs/namei.c:-1
 path_openat+0x1ac/0x2000 fs/namei.c:4859
 do_file_open+0x16c/0x290 fs/namei.c:4892
 do_sys_openat2+0xa0/0x130 fs/open.c:1368
 do_sys_open fs/open.c:1374 [inline]
 __do_sys_openat fs/open.c:1390 [inline]
 __se_sys_openat fs/open.c:1385 [inline]
 __x64_sys_openat+0xf2/0x120 fs/open.c:1385
 x64_sys_call+0x1e39/0x3020 arch/x86/include/generated/asm/syscalls_64.h:258
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x136/0x3c0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

value changed: 0xffff8882375b6728 -> 0x0000000000000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 UID: 0 PID: 2979 Comm: udevd Tainted: G        W           syzkaller #0 PREEMPT(lazy) 
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/16/2026
==================================================================

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/07/30 12:02 upstream 11028ab62899 2377cd3d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_invalidate / fast_dput
2026/06/16 01:13 upstream 0e0611827f33 50bb0618 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_invalidate / fast_dput
* Struck through repros no longer work on HEAD.