syzbot


KCSAN: data-race in link_path_walk / shrink_dentry_list

Status: auto-closed as invalid on 2020/08/23 06:27
Subsystems: fs
[Documentation on labels]
First crash: 1653d, last: 1653d
Similar bugs (10)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in link_path_walk / shrink_dentry_list (5) fs 1 1051d 1051d 0/28 auto-closed as invalid on 2022/04/17 20:20
upstream KCSAN: data-race in link_path_walk / shrink_dentry_list (6) fs 1 989d 989d 0/28 auto-closed as invalid on 2022/06/18 02:44
upstream KCSAN: data-race in link_path_walk / shrink_dentry_list (8) fs 1 715d 715d 0/28 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 10 1087d 1223d 0/28 auto-closed as invalid on 2022/03/12 22:14
upstream KCSAN: data-race in link_path_walk / shrink_dentry_list (2) fs 3 1345d 1379d 0/28 auto-closed as invalid on 2021/06/27 19:17
upstream KCSAN: data-race in link_path_walk / shrink_dentry_list (7) fs 1 913d 913d 0/28 auto-closed as invalid on 2022/09/03 00:29
upstream KCSAN: data-race in link_path_walk / shrink_dentry_list (11) fs 1 231d 231d 0/28 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 2 1258d 1263d 0/28 auto-closed as invalid on 2021/09/22 09:34
upstream KCSAN: data-race in link_path_walk / shrink_dentry_list (9) fs 1 482d 482d 0/28 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 3 391d 414d 0/28 auto-obsoleted due to no activity on 2024/02/06 05:32

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

write to 0xffff8881263d9f00 of 4 bytes by task 18699 on cpu 1:
 d_shrink_add fs/dcache.c:429 [inline]
 __dput_to_list fs/dcache.c:893 [inline]
 shrink_dentry_list+0x45c/0x530 fs/dcache.c:1140
 shrink_dcache_sb+0x10d/0x1c0 fs/dcache.c:1261
 reconfigure_super+0x267/0x4d0 fs/super.c:940
 do_remount fs/namespace.c:2612 [inline]
 do_mount+0x1384/0x1c00 fs/namespace.c:3191
 __do_sys_mount fs/namespace.c:3410 [inline]
 __se_sys_mount+0xd3/0x100 fs/namespace.c:3387
 __x64_sys_mount+0x63/0x70 fs/namespace.c:3387
 do_syscall_64+0x51/0xb0 arch/x86/entry/common.c:384
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff8881263d9f00 of 4 bytes by task 18708 on cpu 0:
 link_path_walk+0x334/0x730 fs/namei.c:2145
 path_openat+0x199/0x20e0 fs/namei.c:3356
 do_filp_open+0xbd/0x1d0 fs/namei.c:3387
 do_sys_openat2+0x33c/0x4a0 fs/open.c:1179
 do_sys_open fs/open.c:1195 [inline]
 ksys_open include/linux/syscalls.h:1388 [inline]
 __do_sys_open fs/open.c:1201 [inline]
 __se_sys_open fs/open.c:1199 [inline]
 __x64_sys_open+0xe2/0x110 fs/open.c:1199
 do_syscall_64+0x51/0xb0 arch/x86/entry/common.c:384
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 18708 Comm: modprobe Not tainted 5.8.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/07/19 06:26 upstream 6cf7ccba29dc 9c812472 .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.