syzbot


KCSAN: data-race in d_lru_del / dentry_kill

Status: moderation: reported on 2026/06/22 23:47
Subsystems: fs
Labels: race:benign
[Documentation on labels]
Reported-by: syzbot+f7859f6296c8de068452@syzkaller.appspotmail.com
First crash: 6h54m, last: 6h54m
✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision Error
65aeb01b-1266-4e53-acd0-41475dd6f5cb assessment-kcsan Benign: ✅ KCSAN: data-race in d_lru_del / dentry_kill 2026/06/22 23:46 2026/06/22 23:46 2026/06/23 00:09 5a630be623a83f54a0e7a5a72d78827acdc85248

			
		

Sample crash report:
==================================================================
BUG: KCSAN: data-race in d_lru_del / dentry_kill

write to 0xffff888105d1b540 of 4 bytes by task 2979 on cpu 0:
 d_lru_del+0x4c/0x100 fs/dcache.c:515
 dentry_kill+0x10a/0x500 fs/dcache.c:821
 finish_dput+0x16/0x1d0 fs/dcache.c:1001
 dput+0x48/0x50 fs/dcache.c:1042
 lookup_fast+0x29f/0x320 fs/namei.c:1886
 walk_component fs/namei.c:2278 [inline]
 lookup_last fs/namei.c:2789 [inline]
 path_lookupat+0x120/0x4c0 fs/namei.c:2813
 filename_lookup+0x18f/0x390 fs/namei.c:2842
 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+0x136/0x3c0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

read to 0xffff888105d1b540 of 4 bytes by task 29085 on cpu 1:
 dentry_unlist fs/dcache.c:694 [inline]
 dentry_kill+0x2d3/0x500 fs/dcache.c:840
 finish_dput+0x16/0x1d0 fs/dcache.c:1001
 dput+0x48/0x50 fs/dcache.c:1042
 lookup_fast+0x29f/0x320 fs/namei.c:1886
 walk_component fs/namei.c:2278 [inline]
 lookup_last fs/namei.c:2789 [inline]
 path_lookupat+0x120/0x4c0 fs/namei.c:2813
 filename_lookup+0x18f/0x390 fs/namei.c:2842
 vfs_statx+0x96/0x170 fs/stat.c:353
 vfs_fstatat+0x118/0x170 fs/stat.c:373
 __do_sys_newfstatat fs/stat.c:538 [inline]
 __se_sys_newfstatat+0x55/0x3e0 fs/stat.c:532
 __x64_sys_newfstatat+0x55/0x70 fs/stat.c:532
 x64_sys_call+0x2c64/0x3020 arch/x86/include/generated/asm/syscalls_64.h:263
 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: 0x00140004 -> 0x00000004

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 UID: 0 PID: 29085 Comm: udevd 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/22 23:46 upstream 1dc18801be29 5a630be6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_lru_del / dentry_kill
* Struck through repros no longer work on HEAD.