syzbot


KCSAN: data-race in __dentry_kill / __dentry_kill (7)

Status: moderation: reported on 2026/02/02 12:42
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+32c4ce311ae1ea106e44@syzkaller.appspotmail.com
First crash: 1d18h, last: 1d18h
Similar bugs (6)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __dentry_kill / __dentry_kill (6) fs 6 7 164d 235d 0/29 auto-obsoleted due to no activity on 2025/10/18 15:44
upstream KCSAN: data-race in __dentry_kill / __dentry_kill (2) fs 6 1 600d 600d 0/29 auto-obsoleted due to no activity on 2024/07/18 14:41
upstream KCSAN: data-race in __dentry_kill / __dentry_kill (3) fs 6 1 541d 541d 0/29 auto-obsoleted due to no activity on 2024/09/15 09:01
upstream KCSAN: data-race in __dentry_kill / __dentry_kill (5) fs 6 1 404d 404d 0/29 auto-obsoleted due to no activity on 2025/02/21 02:11
upstream KCSAN: data-race in __dentry_kill / __dentry_kill (4) fs 6 2 465d 471d 0/29 auto-obsoleted due to no activity on 2024/12/22 05:35
upstream KCSAN: data-race in __dentry_kill / __dentry_kill fs 6 1 664d 664d 0/29 auto-obsoleted due to no activity on 2024/05/15 11:32

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

write to 0xffff88811a9159c0 of 4 bytes by task 3002 on cpu 1:
 d_lru_del fs/dcache.c:504 [inline]
 __dentry_kill+0xa8/0x460 fs/dcache.c:665
 finish_dput+0x2b/0x200 fs/dcache.c:879
 dput+0x52/0x60 fs/dcache.c:928
 lookup_fast+0x29e/0x320 fs/namei.c:1832
 walk_component fs/namei.c:2225 [inline]
 lookup_last fs/namei.c:2730 [inline]
 path_lookupat+0x15c/0x500 fs/namei.c:2754
 filename_lookup+0x190/0x390 fs/namei.c:2783
 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 0xffff88811a9159c0 of 4 bytes by task 3304 on cpu 0:
 dentry_unlist fs/dcache.c:640 [inline]
 __dentry_kill+0x25c/0x460 fs/dcache.c:684
 finish_dput+0x2b/0x200 fs/dcache.c:879
 dput+0x52/0x60 fs/dcache.c:928
 lookup_fast+0x29e/0x320 fs/namei.c:1832
 walk_component fs/namei.c:2225 [inline]
 lookup_last fs/namei.c:2730 [inline]
 path_lookupat+0x15c/0x500 fs/namei.c:2754
 filename_lookup+0x190/0x390 fs/namei.c:2783
 user_path_at+0x3e/0x130 fs/namei.c:3576
 do_faccessat+0x391/0x830 fs/open.c:490
 __do_sys_faccessat2 fs/open.c:544 [inline]
 __se_sys_faccessat2 fs/open.c:541 [inline]
 __x64_sys_faccessat2+0x51/0x60 fs/open.c:541
 x64_sys_call+0x2c1a/0x3000 arch/x86/include/generated/asm/syscalls_64.h:440
 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: 0x00140004 -> 0x00000004

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 UID: 0 PID: 3304 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 (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/02/02 12:41 upstream 18f7fcd5e69a 018ebef2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / __dentry_kill
* Struck through repros no longer work on HEAD.