syzbot


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

Status: auto-closed as invalid on 2022/08/12 10:46
Subsystems: fs
[Documentation on labels]
First crash: 656d, last: 656d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in path_openat / shrink_dentry_list fs 1 722d 722d 0/26 auto-closed as invalid on 2022/06/06 20:05

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

read-write to 0xffff888135dec180 of 4 bytes by task 32362 on cpu 1:
 d_shrink_del fs/dcache.c:448 [inline]
 shrink_dentry_list+0x1cf/0x380 fs/dcache.c:1188
 shrink_dcache_sb+0x16d/0x2b0 fs/dcache.c:1321
 reconfigure_super+0x146/0x540 fs/super.c:888
 do_remount fs/namespace.c:2702 [inline]
 path_mount+0x984/0xb60 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+0x46/0xb0

read to 0xffff888135dec180 of 4 bytes by task 26199 on cpu 0:
 __d_entry_type include/linux/dcache.h:385 [inline]
 d_can_lookup include/linux/dcache.h:400 [inline]
 do_open fs/namei.c:3503 [inline]
 path_openat+0x1517/0x1b30 fs/namei.c:3653
 do_filp_open+0x105/0x220 fs/namei.c:3680
 do_sys_openat2+0xb5/0x2a0 fs/open.c:1278
 do_sys_open fs/open.c:1294 [inline]
 __do_sys_openat fs/open.c:1310 [inline]
 __se_sys_openat fs/open.c:1305 [inline]
 __x64_sys_openat+0xef/0x110 fs/open.c:1305
 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+0x46/0xb0

value changed: 0x00280440 -> 0x00200040

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 26199 Comm: syz-executor.3 Tainted: G        W         5.19.0-rc5-syzkaller-00187-ge8a4e1c1bb69-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/07/08 10:41 upstream e8a4e1c1bb69 8442e655 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in path_openat / shrink_dentry_list
* Struck through repros no longer work on HEAD.