syzbot


KCSAN: data-race in link_path_walk / shrink_dentry_list (12)

Status: moderation: reported on 2026/02/27 11:27
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+85fa04fae089c34a542d@syzkaller.appspotmail.com
First crash: 16h51m, last: 16h51m
✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision Error
c9ebce26-1849-4c3f-98ee-25a433b5d482 assessment-kcsan Benign: ✅  Confident: ✅  KCSAN: data-race in link_path_walk / shrink_dentry_list (12) 2026/02/27 11:26 2026/02/27 11:26 2026/02/27 11:36 305c0ec5cd886e2d13738e28e1b2df9b0ec20fc9
Similar bugs (11)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in link_path_walk / shrink_dentry_list (5) fs 6 1 1447d 1447d 0/29 auto-closed as invalid on 2022/04/17 20:20
upstream KCSAN: data-race in link_path_walk / shrink_dentry_list (6) fs 6 1 1386d 1386d 0/29 auto-closed as invalid on 2022/06/18 02:44
upstream KCSAN: data-race in link_path_walk / shrink_dentry_list (8) fs 6 1 1111d 1111d 0/29 auto-obsoleted due to no activity on 2023/04/09 05:58
upstream KCSAN: data-race in link_path_walk / shrink_dentry_list (4) fs 6 10 1483d 1619d 0/29 auto-closed as invalid on 2022/03/12 22:14
upstream KCSAN: data-race in link_path_walk / shrink_dentry_list (2) fs 6 3 1741d 1775d 0/29 auto-closed as invalid on 2021/06/27 19:17
upstream KCSAN: data-race in link_path_walk / shrink_dentry_list (7) fs 6 1 1309d 1309d 0/29 auto-closed as invalid on 2022/09/03 00:29
upstream KCSAN: data-race in link_path_walk / shrink_dentry_list (11) fs 6 1 628d 628d 0/29 auto-obsoleted due to no activity on 2024/07/15 02:37
upstream KCSAN: data-race in link_path_walk / shrink_dentry_list (3) fs 6 2 1654d 1659d 0/29 auto-closed as invalid on 2021/09/22 09:34
upstream KCSAN: data-race in link_path_walk / shrink_dentry_list (9) fs 6 1 878d 878d 0/29 auto-obsoleted due to no activity on 2023/11/07 05:43
upstream KCSAN: data-race in link_path_walk / shrink_dentry_list (10) fs 6 3 787d 810d 0/29 auto-obsoleted due to no activity on 2024/02/06 05:32
upstream KCSAN: data-race in link_path_walk / shrink_dentry_list fs 6 1 2049d 2049d 0/29 auto-closed as invalid on 2020/08/23 06:27

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

read-write to 0xffff88817f689300 of 4 bytes by task 17528 on cpu 0:
 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 0xffff88817f689300 of 4 bytes by task 17121 on cpu 1:
 __d_entry_type include/linux/dcache.h:416 [inline]
 d_can_lookup include/linux/dcache.h:431 [inline]
 link_path_walk+0x71f/0xe30 fs/namei.c:2657
 path_lookupat+0x8c/0x500 fs/namei.c:2803
 filename_lookup+0x190/0x390 fs/namei.c:2833
 user_path_at+0x3e/0x100 fs/namei.c:3612
 ksys_umount fs/namespace.c:2062 [inline]
 __do_sys_umount fs/namespace.c:2070 [inline]
 __se_sys_umount fs/namespace.c:2068 [inline]
 __x64_sys_umount+0x85/0xe0 fs/namespace.c:2068
 x64_sys_call+0x103b/0x3020 arch/x86/include/generated/asm/syscalls_64.h:167
 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: 1 UID: 0 PID: 17121 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 (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/02/27 11:26 upstream 3f4a08e64442 a2f13f71 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in link_path_walk / shrink_dentry_list
* Struck through repros no longer work on HEAD.