syzbot


KCSAN: data-race in __d_drop / fast_dput (3)

Status: moderation: reported on 2026/01/26 07:47
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+88b1b158ab29280f07a2@syzkaller.appspotmail.com
First crash: 3d20h, last: 2h51m
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __d_drop / fast_dput (2) fs 6 3 1589d 1599d 0/29 auto-closed as invalid on 2021/10/28 07:38
upstream KCSAN: data-race in __d_drop / fast_dput fs 6 1 1672d 1672d 0/29 auto-closed as invalid on 2021/08/06 11:24

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

write to 0xffff88812dc070d0 of 8 bytes by task 3001 on cpu 1:
 __d_drop+0x14d/0x240 fs/dcache.c:576
 __dentry_kill+0x122/0x460 fs/dcache.c:668
 finish_dput+0x2b/0x200 fs/dcache.c:879
 dput+0x52/0x60 fs/dcache.c:928
 handle_mounts fs/namei.c:1698 [inline]
 step_into_slowpath+0x38c/0x4c0 fs/namei.c:2051
 step_into fs/namei.c:2099 [inline]
 walk_component fs/namei.c:2235 [inline]
 lookup_last fs/namei.c:2730 [inline]
 path_lookupat+0x330/0x500 fs/namei.c:2754
 filename_lookup+0x32a/0x390 fs/namei.c:2785
 do_readlinkat+0x7d/0x340 fs/stat.c:576
 __do_sys_readlink fs/stat.c:613 [inline]
 __se_sys_readlink fs/stat.c:610 [inline]
 __x64_sys_readlink+0x47/0x60 fs/stat.c:610
 x64_sys_call+0x2af1/0x3000 arch/x86/include/generated/asm/syscalls_64.h:90
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xc0/0x2a0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

read to 0xffff88812dc070d0 of 8 bytes by task 17805 on cpu 0:
 hlist_bl_unhashed include/linux/list_bl.h:54 [inline]
 d_unhashed include/linux/dcache.h:366 [inline]
 retain_dentry fs/dcache.c:753 [inline]
 fast_dput+0x5f/0x2c0 fs/dcache.c:849
 dput+0x24/0x60 fs/dcache.c:924
 end_dirop fs/namei.c:2898 [inline]
 do_unlinkat+0x217/0x4b0 fs/namei.c:5451
 __do_sys_unlink fs/namei.c:5483 [inline]
 __se_sys_unlink fs/namei.c:5481 [inline]
 __x64_sys_unlink+0x2e/0x40 fs/namei.c:5481
 x64_sys_call+0x2f48/0x3000 arch/x86/include/generated/asm/syscalls_64.h:88
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xc0/0x2a0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

value changed: 0xffff888237b87e98 -> 0x0000000000000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 UID: 0 PID: 17805 Comm: udevd Tainted: G        W           syzkaller #0 PREEMPT(voluntary) 
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
==================================================================

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/01/30 00:59 upstream 8dfce8991b95 bfa73b7b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __d_drop / fast_dput
2026/01/29 19:20 upstream 8dfce8991b95 aeb6fdd5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __d_drop / fast_dput
2026/01/29 04:36 upstream 8dfce8991b95 0adc945e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __d_drop / fast_dput
2026/01/28 04:08 upstream 1f97d9dcf536 3029c699 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __d_drop / fast_dput
2026/01/27 11:02 upstream fcb70a56f4d8 9a514c2f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __d_drop / fast_dput
2026/01/27 06:46 upstream fcb70a56f4d8 efb3e894 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __d_drop / fast_dput
2026/01/26 13:59 upstream 63804fed149a a4c52dd6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __d_drop / fast_dput
2026/01/26 07:46 upstream 023777797472 55756628 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __d_drop / fast_dput
* Struck through repros no longer work on HEAD.