KCSAN: data-race in dentry_kill / path_lookupat

Status: moderation: reported on 2026/07/31 19:34
Subsystems: fs
Labels: race:benign
[Documentation on labels]
Reported-by: syzbot+9d7c65102ee2b5923830@syzkaller.appspotmail.com
First crash: 9h41m, last: 9h41m
✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision Error
4d4ab329 assessment-kcsan Benign: ✅ KCSAN: data-race in dentry_kill / path_lookupat 2026/08/01 00:00 2026/08/01 00:00 2026/08/01 00:58 7664cf44

			
		

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

read-write to 0xffff88812ddc7540 of 4 bytes by task 20008 on cpu 1:
 dentry_unlist fs/dcache.c:664 [inline]
 dentry_kill+0x22b/0x500 fs/dcache.c:840
 finish_dput+0x16/0x1d0 fs/dcache.c:1001
 dput+0x48/0x50 fs/dcache.c:1042
 end_dirop fs/namei.c:2956 [inline]
 filename_unlinkat+0x217/0x410 fs/namei.c:5588
 __do_sys_unlink fs/namei.c:5620 [inline]
 __se_sys_unlink+0x2b/0xe0 fs/namei.c:5617
 __x64_sys_unlink+0x1f/0x30 fs/namei.c:5617
 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+0x136/0x3c0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

read to 0xffff88812ddc7540 of 4 bytes by task 2981 on cpu 0:
 d_managed include/linux/dcache.h:433 [inline]
 step_into fs/namei.c:2140 [inline]
 walk_component fs/namei.c:2288 [inline]
 lookup_last fs/namei.c:2789 [inline]
 path_lookupat+0x19b/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

value changed: 0x00300080 -> 0x00004080

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

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/07/31 19:33 upstream 8ba098e6b6ff 7664cf44 .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.