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: 10d, last: 3d14h
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 1018d 1018d 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 1326d 1326d 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 1797d 1797d 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 770d 772d 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 1947d 1947d 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 677d 681d 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 1854d 1883d 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 1081d 1081d 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 118d 118d 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 1288d 1288d 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 1647d 1647d 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 2005d 2030d 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.