syzbot


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

Status: auto-closed as invalid on 2020/12/05 11:21
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 652d, last: 652d
similar bugs (4):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in lookup_fast / shrink_dentry_list (4) 1 503d 503d 0/23 auto-closed as invalid on 2021/05/04 09:30
upstream KCSAN: data-race in lookup_fast / shrink_dentry_list (3) 2 559d 589d 0/23 auto-closed as invalid on 2021/03/08 10:39
upstream KCSAN: data-race in lookup_fast / shrink_dentry_list (5) 1 352d 352d 0/23 auto-closed as invalid on 2021/10/01 10:16
upstream KCSAN: data-race in lookup_fast / shrink_dentry_list 3 710d 736d 0/23 auto-closed as invalid on 2020/10/08 14:19

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

read-write to 0xffff88810d2b4f00 of 4 bytes by task 17520 on cpu 1:
 d_shrink_del fs/dcache.c:421 [inline]
 shrink_dentry_list+0x16f/0x590 fs/dcache.c:1137
 shrink_dcache_sb+0x10d/0x1c0 fs/dcache.c:1261
 reconfigure_super+0x267/0x4d0 fs/super.c:940
 do_remount fs/namespace.c:2612 [inline]
 path_mount+0x13b1/0x1c10 fs/namespace.c:3197
 do_mount fs/namespace.c:3218 [inline]
 __do_sys_mount fs/namespace.c:3426 [inline]
 __se_sys_mount+0x23d/0x2e0 fs/namespace.c:3403
 __x64_sys_mount+0x63/0x70 fs/namespace.c:3403
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff88810d2b4f00 of 4 bytes by task 8486 on cpu 0:
 d_revalidate fs/namei.c:767 [inline]
 lookup_fast+0x15f/0x370 fs/namei.c:1493
 open_last_lookups fs/namei.c:3144 [inline]
 path_openat+0x48e/0x20a0 fs/namei.c:3366
 do_filp_open+0xbd/0x1d0 fs/namei.c:3396
 do_sys_openat2+0xa3/0x240 fs/open.c:1168
 do_sys_open fs/open.c:1184 [inline]
 __do_sys_open fs/open.c:1192 [inline]
 __se_sys_open fs/open.c:1188 [inline]
 __x64_sys_open+0xe2/0x110 fs/open.c:1188
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 8486 Comm: syz-executor.4 Not tainted 5.10.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2020/10/31 11:17 upstream 5fc6b075e165 8bc4594f .config log report info