KCSAN: data-race in shrink_dentry_list / step_into_slowpath

Status: moderation: reported on 2026/10/09 09:54
Subsystems: fs
Labels: race:benign
[Documentation on labels]
Reported-by: syzbot+f3378c02cb26f4c17c4a@syzkaller.appspotmail.com
First crash: 1h35m, last: 1h35m
▶ ▼ ✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision
191d86e2 assessment-kcsan Benign: ✅ ❓ KCSAN: data-race in shrink_dentry_list / step_into_slowpath 2026/10/09 09:54 2026/10/09 09:54 2026/10/09 10:59 b2734a59

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

read-write to 0xffff888109129e40 of 4 bytes by task 1074 on cpu 1:
 d_shrink_del fs/dcache.c:527 [inline]
 shrink_dentry_list+0x108/0x1d0 fs/dcache.c:1286
 shrink_dcache_sb+0x161/0x290 fs/dcache.c:1413
 reconfigure_super+0x478/0x5a0 fs/super.c:1106
 do_remount fs/namespace.c:3410 [inline]
 path_mount+0xabd/0xb90 fs/namespace.c:4160
 do_mount fs/namespace.c:4181 [inline]
 __do_sys_mount fs/namespace.c:4397 [inline]
 __se_sys_mount+0x28c/0x2e0 fs/namespace.c:4374
 __x64_sys_mount+0x67/0x80 fs/namespace.c:4374
 x64_sys_call+0xc3b/0x2550 arch/x86/include/generated/asm/syscalls_64.h:166
 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
 do_syscall_64+0x112/0x360 arch/x86/entry/syscall_64.c:84
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

read to 0xffff888109129e40 of 4 bytes by task 32205 on cpu 0:
 __d_entry_type include/linux/dcache.h:446 [inline]
 d_is_symlink include/linux/dcache.h:476 [inline]
 step_into_slowpath+0x139/0x4c0 fs/namei.c:2108
 step_into fs/namei.c:2152 [inline]
 open_last_lookups fs/namei.c:4780 [inline]
 path_openat+0x665/0x10d0 fs/namei.c:4997
 do_file_open+0x16c/0x290 fs/namei.c:5029
 do_sys_openat2+0xa0/0x130 fs/open.c:1417
 do_sys_open fs/open.c:1423 [inline]
 __do_sys_openat fs/open.c:1439 [inline]
 __se_sys_openat fs/open.c:1434 [inline]
 __x64_sys_openat+0xf2/0x120 fs/open.c:1434
 x64_sys_call+0x1f72/0x2550 arch/x86/include/generated/asm/syscalls_64.h:258
 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
 do_syscall_64+0x112/0x360 arch/x86/entry/syscall_64.c:84
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

value changed: 0x00240444 -> 0x00200044

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 UID: 0 PID: 32205 Comm: syz-executor Not tainted syzkaller #0 PREEMPT(lazy) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/10/09 09:53 upstream af32da41b032 b2734a59 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in shrink_dentry_list / step_into_slowpath
* Struck through repros no longer work on HEAD.