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: 49d, last: 4d14h
✨ AI Jobs (3)
ID Workflow Result Correct Bug Created Started Finished Revision Error
1fc03653-f781-4f9b-88b9-0764266a73d2 repro KCSAN: data-race in __dentry_kill / __dentry_kill (7) 2026/03/07 03:29 2026/03/07 03:29 2026/03/07 03:37 31e9c887f7dc24e04b3ca70d0d54fc34141844b0
982b89e5-2f52-49a5-a022-9678d450ee0d assessment-kcsan Benign: ✅  Confident: ✅  KCSAN: data-race in __dentry_kill / __dentry_kill (7) 2026/02/02 12:41 2026/02/02 12:41 2026/02/02 12:55 2186dcabcd743737b50c1a9f99a8bf0d3a5a7914
93880a73-eb05-473c-9a94-3f1f0d0a66b5 assessment-kcsan Benign: ✅  Confident: ✅  KCSAN: data-race in __dentry_kill / __dentry_kill (7) 2026/02/02 12:41 2026/02/02 12:41 2026/02/02 13:10 63a5f77ffe6c631f8781efb082e741722cdf8c6a+
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 212d 282d 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 648d 648d 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 589d 589d 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 451d 451d 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 512d 518d 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 712d 712d 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 0xffff88811b1decc0 of 4 bytes by task 3001 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:1882
 walk_component fs/namei.c:2275 [inline]
 lookup_last fs/namei.c:2780 [inline]
 path_lookupat+0x15c/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

read to 0xffff88811b1decc0 of 4 bytes by task 25851 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:1882
 walk_component fs/namei.c:2275 [inline]
 lookup_last fs/namei.c:2780 [inline]
 path_lookupat+0x15c/0x500 fs/namei.c:2804
 filename_lookup+0x190/0x390 fs/namei.c:2833
 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+0x12c/0x370 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: 25851 Comm: udevd Tainted: G        W           syzkaller #0 PREEMPT(full) 
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
==================================================================

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/03/19 05:58 upstream 8a30aeb0d1b4 0199f9a1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / __dentry_kill
2026/03/07 00:28 upstream 651690480a96 5cb44a80 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / __dentry_kill
2026/02/22 08:38 upstream fa5c82f4d2bb 6e7b5511 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / __dentry_kill
2026/02/20 23:52 upstream a95f71ad3e2e 6e7b5511 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / __dentry_kill
2026/02/08 02:37 upstream e7aa57247700 4c131dc4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / __dentry_kill
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.