syzbot


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: 5d00h, last: 5d00h
✨ AI Jobs (2)
ID Workflow Result Correct Bug Created Started Finished Revision Error
557baac5-0f8b-45c8-8d5c-ce1b63d8e72d 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 b62b3ded1759f79b37600c5ffe2b0a81b919b0b0

			
		
c6df3c40-0828-40bd-b027-b355e905dc32 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 50bb0618cd2f9cd819534368fff82367c1681dab

			
		
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 587d 627d 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 150d 191d 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 746d 746d 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 261d 344d 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 672d 683d 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 819d 866d 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 0xffff88811afd60d0 of 8 bytes by task 25476 on cpu 1:
 __d_drop fs/dcache.c:578 [inline]
 d_invalidate+0x5b/0x1f0 fs/dcache.c:1863
 lookup_open fs/namei.c:4435 [inline]
 open_last_lookups fs/namei.c:4608 [inline]
 path_openat+0x13f3/0x2000 fs/namei.c:4856
 do_file_open+0x16c/0x290 fs/namei.c:4888
 do_sys_openat2+0xa0/0x130 fs/open.c:1395
 do_sys_open fs/open.c:1401 [inline]
 __do_sys_openat fs/open.c:1417 [inline]
 __se_sys_openat fs/open.c:1412 [inline]
 __x64_sys_openat+0xf2/0x120 fs/open.c:1412
 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 0xffff88811afd60d0 of 8 bytes by task 25490 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
 end_dirop fs/namei.c:2956 [inline]
 end_creating include/linux/namei.h:117 [inline]
 vfs_mkdir+0xb4/0x3e0 fs/namei.c:5284
 filename_mkdirat+0x138/0x300 fs/namei.c:5305
 __do_sys_mkdir fs/namei.c:5332 [inline]
 __se_sys_mkdir+0x31/0xf0 fs/namei.c:5329
 __x64_sys_mkdir+0x31/0x40 fs/namei.c:5329
 x64_sys_call+0x2eab/0x3020 arch/x86/include/generated/asm/syscalls_64.h:84
 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: 0xffff888237b12548 -> 0x0000000000000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 UID: 0 PID: 25490 Comm: syz.6.3476 Tainted: G        W           syzkaller #0 PREEMPT(lazy) 
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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.