syzbot


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

Status: auto-closed as invalid on 2020/12/05 11:21
Subsystems: fs
[Documentation on labels]
First crash: 1272d, last: 1272d
Similar bugs (10)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in lookup_fast / shrink_dentry_list (9) fs 1 343d 343d 0/26 auto-obsoleted due to no activity on 2023/06/21 20:05
upstream KCSAN: data-race in lookup_fast / shrink_dentry_list (6) fs 1 651d 651d 0/26 auto-closed as invalid on 2022/08/18 12:57
upstream KCSAN: data-race in lookup_fast / shrink_dentry_list (4) fs 1 1122d 1122d 0/26 auto-closed as invalid on 2021/05/04 09:30
upstream KCSAN: data-race in lookup_fast / shrink_dentry_list (10) fs 2 95d 97d 0/26 auto-obsoleted due to no activity on 2024/02/25 15:26
upstream KCSAN: data-race in lookup_fast / shrink_dentry_list (11) fs 2 2d21h 6d21h 0/26 moderation: reported on 2024/04/18 20:34
upstream KCSAN: data-race in lookup_fast / shrink_dentry_list (3) fs 2 1179d 1208d 0/26 auto-closed as invalid on 2021/03/08 10:39
upstream KCSAN: data-race in lookup_fast / shrink_dentry_list (8) fs 1 406d 406d 0/26 auto-obsoleted due to no activity on 2023/04/27 01:35
upstream KCSAN: data-race in lookup_fast / shrink_dentry_list (7) fs 1 613d 613d 0/26 auto-closed as invalid on 2022/09/24 23:48
upstream KCSAN: data-race in lookup_fast / shrink_dentry_list (5) fs 1 972d 972d 0/26 auto-closed as invalid on 2021/10/01 10:16
upstream KCSAN: data-race in lookup_fast / shrink_dentry_list fs 3 1330d 1355d 0/26 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):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/10/31 11:17 upstream 5fc6b075e165 8bc4594f .config console log report info ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.