syzbot


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

Status: auto-closed as invalid on 2021/10/29 05:04
Subsystems: fs
[Documentation on labels]
First crash: 952d, last: 944d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in fast_dput / shrink_dentry_list fs 1 993d 993d 0/26 auto-closed as invalid on 2021/09/11 02:47

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

write to 0xffff8881369df3c0 of 4 bytes by task 28203 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:2650 [inline]
 path_mount+0x145a/0x1d20 fs/namespace.c:3310
 do_mount fs/namespace.c:3331 [inline]
 __do_sys_mount fs/namespace.c:3539 [inline]
 __se_sys_mount+0x24b/0x2f0 fs/namespace.c:3516
 __x64_sys_mount+0x63/0x70 fs/namespace.c:3516
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff8881369df3c0 of 4 bytes by task 1122 on cpu 1:
 fast_dput+0x14/0x1c0 fs/dcache.c:749
 dput+0x26/0x360 fs/dcache.c:875
 path_put+0x1b/0x30 fs/namei.c:557
 vfs_statx+0x20d/0x2a0 fs/stat.c:231
 vfs_fstatat fs/stat.c:243 [inline]
 vfs_lstat include/linux/fs.h:3356 [inline]
 __do_sys_newlstat fs/stat.c:398 [inline]
 __se_sys_newlstat+0x5d/0x250 fs/stat.c:392
 __x64_sys_newlstat+0x2d/0x40 fs/stat.c:392
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x00680440 -> 0x00600040

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 1122 Comm: syz-executor.1 Not tainted 5.15.0-rc2-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/09/24 04:55 upstream f10f0481a5b5 8cac236e .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in fast_dput / shrink_dentry_list
2021/09/16 18:42 upstream ff1ffd71d5f0 aae492f2 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in fast_dput / shrink_dentry_list
* Struck through repros no longer work on HEAD.