syzbot


KCSAN: data-race in __dentry_kill / lookup_fast (15)

Status: moderation: reported on 2026/01/25 03:24
Subsystems: fs
Labels: race:benign
[Documentation on labels]
Reported-by: syzbot+a173cff1ec72cee3d0a2@syzkaller.appspotmail.com
First crash: 14d, last: 1d11h
Similar bugs (14)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __dentry_kill / lookup_fast (5) fs 6 12 1714d 1786d 0/29 auto-closed as invalid on 2021/07/05 09:49
upstream KCSAN: data-race in __dentry_kill / lookup_fast (8) fs 6 8 1025d 1088d 0/29 auto-obsoleted due to no activity on 2023/05/25 00:07
upstream KCSAN: data-race in __dentry_kill / lookup_fast (13) fs 6 5 300d 348d 0/29 auto-obsoleted due to no activity on 2025/06/08 21:40
upstream KCSAN: data-race in __dentry_kill / lookup_fast (2) fs 6 5 1995d 2055d 0/29 auto-closed as invalid on 2020/09/27 09:27
upstream KCSAN: data-race in __dentry_kill / lookup_fast fs 6 10 2077d 2171d 0/29 closed as invalid on 2020/06/18 14:24
upstream KCSAN: data-race in __dentry_kill / lookup_fast (11) fs 6 1 568d 568d 0/29 auto-obsoleted due to no activity on 2024/08/23 20:28
upstream KCSAN: data-race in __dentry_kill / lookup_fast (10) fs 6 3 679d 716d 0/29 auto-obsoleted due to no activity on 2024/05/05 12:07
upstream KCSAN: data-race in __dentry_kill / lookup_fast (12) fs 6 3 405d 458d 0/29 auto-obsoleted due to no activity on 2025/02/24 08:27
upstream KCSAN: data-race in __dentry_kill / lookup_fast (14) fs 6 1 169d 169d 0/29 auto-obsoleted due to no activity on 2025/10/18 05:13
upstream KCSAN: data-race in __dentry_kill / lookup_fast (7) fs 6 27 1135d 1396d 0/29 auto-obsoleted due to no activity on 2023/02/12 11:35
upstream KCSAN: data-race in __dentry_kill / lookup_fast (6) fs 6 1 1541d 1541d 0/29 auto-closed as invalid on 2021/12/25 02:52
upstream KCSAN: data-race in __dentry_kill / lookup_fast (4) fs 6 3 1834d 1859d 0/29 auto-closed as invalid on 2021/03/06 20:57
upstream KCSAN: data-race in __dentry_kill / lookup_fast (3) fs 6 3 1896d 1889d 0/29 auto-closed as invalid on 2021/01/03 16:37
upstream KCSAN: data-race in __dentry_kill / lookup_fast (9) fs 6 31 757d 792d 0/29 auto-obsoleted due to no activity on 2024/02/17 10:11

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

write to 0xffff88811ad02780 of 4 bytes by task 17776 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_dcache fs/namei.c:1719 [inline]
 lookup_one_qstr_excl+0x233/0x250 fs/namei.c:1742
 __start_dirop fs/namei.c:2875 [inline]
 start_dirop fs/namei.c:2884 [inline]
 filename_create+0x155/0x220 fs/namei.c:4888
 do_mknodat+0x139/0x4f0 fs/namei.c:5035
 __do_sys_mknodat fs/namei.c:5080 [inline]
 __se_sys_mknodat fs/namei.c:5077 [inline]
 __x64_sys_mknodat+0x5e/0x70 fs/namei.c:5077
 x64_sys_call+0x2b33/0x3000 arch/x86/include/generated/asm/syscalls_64.h:260
 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 0xffff88811ad02780 of 4 bytes by task 17787 on cpu 0:
 d_revalidate fs/namei.c:976 [inline]
 lookup_fast+0xf0/0x320 fs/namei.c:1814
 lookup_fast_for_open fs/namei.c:4486 [inline]
 open_last_lookups fs/namei.c:4520 [inline]
 path_openat+0x415/0x23c0 fs/namei.c:4793
 do_filp_open+0x15d/0x280 fs/namei.c:4823
 do_sys_openat2+0xa6/0x150 fs/open.c:1430
 do_sys_open fs/open.c:1436 [inline]
 __do_sys_openat fs/open.c:1452 [inline]
 __se_sys_openat fs/open.c:1447 [inline]
 __x64_sys_openat+0xf2/0x120 fs/open.c:1447
 x64_sys_call+0x2b07/0x3000 arch/x86/include/generated/asm/syscalls_64.h:258
 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: 0x00040007 -> 0x00004007

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 UID: 0 PID: 17787 Comm: syz.8.4568 Not tainted syzkaller #0 PREEMPT(voluntary) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/24/2026
==================================================================

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/02/07 01:45 upstream 2687c848e578 f20fc9f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2026/02/01 06:46 upstream ad9a728a3388 6b8752f2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2026/01/31 15:26 upstream ad9a728a3388 afc0c4d4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2026/01/31 15:26 upstream ad9a728a3388 afc0c4d4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2026/01/25 03:23 upstream 5dbeeb268b63 40acda8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
* Struck through repros no longer work on HEAD.