syzbot


KCSAN: data-race in lookup_fast / shrink_dentry_list (13)

Status: moderation: reported on 2026/02/18 23:39
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+21eda88da7eb80523311@syzkaller.appspotmail.com
First crash: 8d21h, last: 1d18h
✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision Error
8ace2ce4-2722-47d3-8bc2-c98bc288a04a assessment-kcsan Benign: ✅  Confident: ✅  KCSAN: data-race in lookup_fast / shrink_dentry_list (13) 2026/02/23 15:16 2026/02/23 15:16 2026/02/23 15:19 305c0ec5cd886e2d13738e28e1b2df9b0ec20fc9
Similar bugs (12)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in lookup_fast / shrink_dentry_list (9) fs 6 1 1017d 1017d 0/29 auto-obsoleted due to no activity on 2023/06/21 20:05
upstream KCSAN: data-race in lookup_fast / shrink_dentry_list (6) fs 6 1 1324d 1324d 0/29 auto-closed as invalid on 2022/08/18 12:57
upstream KCSAN: data-race in lookup_fast / shrink_dentry_list (4) fs 6 1 1795d 1795d 0/29 auto-closed as invalid on 2021/05/04 09:30
upstream KCSAN: data-race in lookup_fast / shrink_dentry_list (10) fs 6 2 768d 770d 0/29 auto-obsoleted due to no activity on 2024/02/25 15:26
upstream KCSAN: data-race in lookup_fast / shrink_dentry_list (2) fs 6 1 1945d 1945d 0/29 auto-closed as invalid on 2020/12/05 11:21
upstream KCSAN: data-race in lookup_fast / shrink_dentry_list (11) fs 6 2 676d 680d 0/29 auto-obsoleted due to no activity on 2024/05/27 20:04
upstream KCSAN: data-race in lookup_fast / shrink_dentry_list (3) fs 6 2 1852d 1881d 0/29 auto-closed as invalid on 2021/03/08 10:39
upstream KCSAN: data-race in lookup_fast / shrink_dentry_list (8) fs 6 1 1079d 1079d 0/29 auto-obsoleted due to no activity on 2023/04/27 01:35
upstream KCSAN: data-race in lookup_fast / shrink_dentry_list (12) fs 6 1 116d 116d 0/29 auto-obsoleted due to no activity on 2025/12/29 01:39
upstream KCSAN: data-race in lookup_fast / shrink_dentry_list (7) fs 6 1 1286d 1286d 0/29 auto-closed as invalid on 2022/09/24 23:48
upstream KCSAN: data-race in lookup_fast / shrink_dentry_list (5) fs 6 1 1645d 1645d 0/29 auto-closed as invalid on 2021/10/01 10:16
upstream KCSAN: data-race in lookup_fast / shrink_dentry_list fs 6 3 2003d 2028d 0/29 auto-closed as invalid on 2020/10/08 14:19

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

read-write to 0xffff8881069449c0 of 4 bytes by task 5346 on cpu 1:
 d_shrink_del fs/dcache.c:516 [inline]
 shrink_dentry_list+0x22d/0x3c0 fs/dcache.c:1166
 shrink_dcache_sb+0x15d/0x290 fs/dcache.c:1295
 reconfigure_super+0x142/0x590 fs/super.c:1058
 do_remount fs/namespace.c:3391 [inline]
 path_mount+0xaf7/0xbc0 fs/namespace.c:4151
 do_mount fs/namespace.c:4172 [inline]
 __do_sys_mount fs/namespace.c:4361 [inline]
 __se_sys_mount+0x28c/0x2e0 fs/namespace.c:4338
 __x64_sys_mount+0x67/0x80 fs/namespace.c:4338
 x64_sys_call+0x2d61/0x3020 arch/x86/include/generated/asm/syscalls_64.h:166
 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 0xffff8881069449c0 of 4 bytes by task 5023 on cpu 0:
 d_revalidate fs/namei.c:1029 [inline]
 lookup_fast+0x72/0x320 fs/namei.c:1877
 walk_component fs/namei.c:2275 [inline]
 link_path_walk+0x51c/0xe30 fs/namei.c:2647
 path_lookupat+0x8c/0x500 fs/namei.c:2803
 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: 0x00140444 -> 0x00100044

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 UID: 0 PID: 5023 Comm: syz-executor 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 (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/02/26 02:16 upstream d9d32e5bd5a4 e0f78d93 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in lookup_fast / shrink_dentry_list
2026/02/18 23:39 upstream 23b0f90ba871 77d4d919 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in lookup_fast / shrink_dentry_list
* Struck through repros no longer work on HEAD.