syzbot


KCSAN: data-race in __dentry_kill / path_lookupat

Status: moderation: reported on 2026/03/06 06:06
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+8d2b7572ad62ed0e50b1@syzkaller.appspotmail.com
First crash: 11d, last: 11d
✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision Error
51bbe39f-4066-4f75-a3d5-72a51885e82f assessment-kcsan Benign: ✅  Confident: ✅  KCSAN: data-race in __dentry_kill / path_lookupat 2026/03/06 06:16 2026/03/06 06:16 2026/03/06 06:33 31e9c887f7dc24e04b3ca70d0d54fc34141844b0

Sample crash report:
==================================================================
BUG: KCSAN: data-race in __dentry_kill / path_lookupat

read-write to 0xffff888107d32000 of 4 bytes by task 3302 on cpu 0:
 dentry_unlist fs/dcache.c:615 [inline]
 __dentry_kill+0x1e2/0x460 fs/dcache.c:684
 finish_dput+0x2b/0x200 fs/dcache.c:879
 dput+0x52/0x60 fs/dcache.c:928
 end_dirop fs/namei.c:2948 [inline]
 filename_unlinkat+0x217/0x410 fs/namei.c:5543
 __do_sys_unlink fs/namei.c:5575 [inline]
 __se_sys_unlink+0x2b/0xe0 fs/namei.c:5572
 __x64_sys_unlink+0x1f/0x30 fs/namei.c:5572
 x64_sys_call+0x2eb6/0x3020 arch/x86/include/generated/asm/syscalls_64.h:88
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x12c/0x370 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

read to 0xffff888107d32000 of 4 bytes by task 3000 on cpu 1:
 d_managed include/linux/dcache.h:403 [inline]
 step_into fs/namei.c:2136 [inline]
 walk_component fs/namei.c:2285 [inline]
 lookup_last fs/namei.c:2780 [inline]
 path_lookupat+0x1d8/0x500 fs/namei.c:2804
 filename_lookup+0x190/0x390 fs/namei.c:2833
 do_readlinkat+0x74/0x2f0 fs/stat.c:571
 __do_sys_readlink fs/stat.c:605 [inline]
 __se_sys_readlink fs/stat.c:602 [inline]
 __x64_sys_readlink+0x47/0x60 fs/stat.c:602
 x64_sys_call+0x2b51/0x3020 arch/x86/include/generated/asm/syscalls_64.h:90
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x12c/0x370 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

value changed: 0x00300080 -> 0x00004080

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 UID: 0 PID: 3000 Comm: udevd Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/03/06 06:05 upstream 5ee8dbf54602 31e9c887 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / path_lookupat
* Struck through repros no longer work on HEAD.