syzbot


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

Status: auto-obsoleted due to no activity on 2022/11/29 05:37
Subsystems: fs
[Documentation on labels]
First crash: 747d, last: 747d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in shrink_dentry_list / step_into (6) fs 1 287d 287d 0/28 auto-obsoleted due to no activity on 2024/03/03 06:03
upstream KCSAN: data-race in shrink_dentry_list / step_into fs 1 1110d 1110d 0/28 auto-closed as invalid on 2021/12/01 04:11
upstream KCSAN: data-race in shrink_dentry_list / step_into (7) fs 4 131d 230d 0/28 auto-obsoleted due to no activity on 2024/08/06 04:07
upstream KCSAN: data-race in shrink_dentry_list / step_into (5) fs 3 404d 444d 0/28 auto-obsoleted due to no activity on 2023/11/06 20:19
upstream KCSAN: data-race in shrink_dentry_list / step_into (2) fs 3 789d 815d 0/28 auto-obsoleted due to no activity on 2022/10/17 16:38
upstream KCSAN: data-race in shrink_dentry_list / step_into (4) fs 1 684d 684d 0/28 auto-obsoleted due to no activity on 2023/02/06 16:11

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

read-write to 0xffff888122a4ed80 of 4 bytes by task 19290 on cpu 1:
 d_shrink_del fs/dcache.c:448 [inline]
 shrink_dentry_list+0x16f/0x380 fs/dcache.c:1197
 shrink_dcache_sb+0x16d/0x2b0 fs/dcache.c:1321
 reconfigure_super+0x444/0x540 fs/super.c:917
 do_remount fs/namespace.c:2702 [inline]
 path_mount+0xa8d/0xb70 fs/namespace.c:3362
 do_mount fs/namespace.c:3383 [inline]
 __do_sys_mount fs/namespace.c:3591 [inline]
 __se_sys_mount+0x281/0x2d0 fs/namespace.c:3568
 __x64_sys_mount+0x63/0x70 fs/namespace.c:3568
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

read to 0xffff888122a4ed80 of 4 bytes by task 19293 on cpu 0:
 __d_entry_type include/linux/dcache.h:385 [inline]
 d_is_symlink include/linux/dcache.h:415 [inline]
 step_into+0x121/0x7d0 fs/namei.c:1836
 walk_component fs/namei.c:1999 [inline]
 link_path_walk+0x53e/0x8a0 fs/namei.c:2320
 path_openat+0x19c/0x1b00 fs/namei.c:3709
 do_filp_open+0x105/0x220 fs/namei.c:3740
 do_sys_openat2+0xb5/0x2a0 fs/open.c:1310
 do_sys_open fs/open.c:1326 [inline]
 __do_sys_openat fs/open.c:1342 [inline]
 __se_sys_openat fs/open.c:1337 [inline]
 __x64_sys_openat+0xef/0x110 fs/open.c:1337
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x00680400 -> 0x00008000

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 19293 Comm: modprobe Not tainted 6.1.0-rc2-syzkaller-00061-g337a0a0b63f1-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/10/25 05:32 upstream 337a0a0b63f1 45645420 .config console log report info [disk image] [vmlinux] ci2-upstream-kcsan-gce KCSAN: data-race in shrink_dentry_list / step_into
* Struck through repros no longer work on HEAD.