syzbot


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

Status: auto-closed as invalid on 2021/06/27 19:17
Subsystems: fs
[Documentation on labels]
First crash: 1100d, last: 1066d
Similar bugs (9)
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 772d 772d 0/26 auto-closed as invalid on 2022/04/17 20:20
upstream KCSAN: data-race in link_path_walk / shrink_dentry_list (6) fs 1 711d 711d 0/26 auto-closed as invalid on 2022/06/18 02:44
upstream KCSAN: data-race in link_path_walk / shrink_dentry_list (8) fs 1 436d 436d 0/26 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 808d 944d 0/26 auto-closed as invalid on 2022/03/12 22:14
upstream KCSAN: data-race in link_path_walk / shrink_dentry_list (7) fs 1 634d 634d 0/26 auto-closed as invalid on 2022/09/03 00:29
upstream KCSAN: data-race in link_path_walk / shrink_dentry_list (3) fs 2 979d 984d 0/26 auto-closed as invalid on 2021/09/22 09:34
upstream KCSAN: data-race in link_path_walk / shrink_dentry_list (9) fs 1 203d 203d 0/26 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 112d 135d 0/26 auto-obsoleted due to no activity on 2024/02/06 05:32
upstream KCSAN: data-race in link_path_walk / shrink_dentry_list fs 1 1374d 1374d 0/26 auto-closed as invalid on 2020/08/23 06:27

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

write to 0xffff888101375a80 of 4 bytes by task 22993 on cpu 1:
 d_shrink_add fs/dcache.c:431 [inline]
 __dput_to_list fs/dcache.c:903 [inline]
 shrink_dentry_list+0x489/0x580 fs/dcache.c:1175
 shrink_dcache_sb+0x188/0x2d0 fs/dcache.c:1296
 reconfigure_super+0x2aa/0x4f0 fs/super.c:889
 do_remount fs/namespace.c:2639 [inline]
 path_mount+0x1442/0x1ce0 fs/namespace.c:3227
 do_mount fs/namespace.c:3248 [inline]
 __do_sys_mount fs/namespace.c:3456 [inline]
 __se_sys_mount+0x23d/0x2e0 fs/namespace.c:3433
 __x64_sys_mount+0x63/0x70 fs/namespace.c:3433
 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff888101375a80 of 4 bytes by task 1 on cpu 0:
 __d_entry_type include/linux/dcache.h:395 [inline]
 d_can_lookup include/linux/dcache.h:410 [inline]
 link_path_walk+0x4d7/0x780 fs/namei.c:2279
 path_openat+0x1a0/0x20b0 fs/namei.c:3490
 do_filp_open+0xd9/0x1f0 fs/namei.c:3521
 do_sys_openat2+0xa3/0x250 fs/open.c:1187
 do_sys_open fs/open.c:1203 [inline]
 __do_sys_open fs/open.c:1211 [inline]
 __se_sys_open fs/open.c:1207 [inline]
 __x64_sys_open+0xe2/0x110 fs/open.c:1207
 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 1 Comm: systemd Tainted: G        W         5.13.0-rc2-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/05/23 19:08 upstream 4d7620341eda 3c7fef33 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in link_path_walk / shrink_dentry_list
2021/04/27 20:31 upstream 4a0225c3d208 805b5003 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in link_path_walk / shrink_dentry_list
2021/04/19 10:35 upstream bf05bf16c76b 50f523d7 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in link_path_walk / shrink_dentry_list
* Struck through repros no longer work on HEAD.