syzbot


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

Status: auto-closed as invalid on 2021/09/22 09:34
Subsystems: fs
[Documentation on labels]
First crash: 986d, last: 982d
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 774d 774d 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 713d 713d 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 439d 439d 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 810d 947d 0/26 auto-closed as invalid on 2022/03/12 22:14
upstream KCSAN: data-race in link_path_walk / shrink_dentry_list (2) fs 3 1068d 1103d 0/26 auto-closed as invalid on 2021/06/27 19:17
upstream KCSAN: data-race in link_path_walk / shrink_dentry_list (7) fs 1 636d 636d 0/26 auto-closed as invalid on 2022/09/03 00:29
upstream KCSAN: data-race in link_path_walk / shrink_dentry_list (9) fs 1 206d 206d 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 115d 137d 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 1377d 1377d 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 0xffff888132966cc0 of 4 bytes by task 15987 on cpu 0:
 shrink_dentry_list+0x127/0x340 fs/dcache.c:423
 shrink_dcache_sb+0x188/0x2d0 fs/dcache.c:1296
 reconfigure_super+0x2aa/0x4f0 fs/super.c:889
 do_remount fs/namespace.c:2653 [inline]
 path_mount+0x1442/0x1ce0 fs/namespace.c:3241
 do_mount fs/namespace.c:3262 [inline]
 __do_sys_mount fs/namespace.c:3470 [inline]
 __se_sys_mount+0x23d/0x2e0 fs/namespace.c:3447
 __x64_sys_mount+0x63/0x70 fs/namespace.c:3447
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0x90 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff888132966cc0 of 4 bytes by task 15992 on cpu 1:
 link_path_walk+0x384/0x770 fs/namei.c:2248
 path_lookupat+0x8b/0x3d0 fs/namei.c:2437
 filename_lookup+0x118/0x3b0 fs/namei.c:2467
 kern_path+0x2e/0x40 fs/namei.c:2554
 do_loopback fs/namespace.c:2381 [inline]
 path_mount+0x468/0x1ce0 fs/namespace.c:3243
 do_mount fs/namespace.c:3262 [inline]
 __do_sys_mount fs/namespace.c:3470 [inline]
 __se_sys_mount+0x23d/0x2e0 fs/namespace.c:3447
 __x64_sys_mount+0x63/0x70 fs/namespace.c:3447
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0x90 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x00280400 -> 0x00200000

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 15992 Comm: syz-executor.0 Not tainted 5.14.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/08/18 09:27 upstream 614cb2751d31 a2fe1cb5 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in link_path_walk / shrink_dentry_list
2021/08/13 17:08 upstream f8e6dfc64f61 3fd2ea69 .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.