syzbot


KCSAN: data-race in __d_instantiate / lookup_fast

Status: auto-closed as invalid on 2020/06/18 13:33
Subsystems: ext4
[Documentation on labels]
First crash: 1556d, last: 1432d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __d_instantiate / lookup_fast (6) ext4 49 9d09h 110d 0/26 moderation: reported on 2023/12/09 00:04
upstream KCSAN: data-race in __d_instantiate / lookup_fast (4) ext4 16 599d 715d 0/26 auto-closed as invalid on 2022/09/10 18:37
upstream KCSAN: data-race in __d_instantiate / lookup_fast (5) ext4 7 508d 560d 0/26 auto-obsoleted due to no activity on 2022/12/11 12:03
upstream KCSAN: data-race in __d_instantiate / lookup_fast (2) fs 1 1141d 1141d 0/26 auto-closed as invalid on 2021/03/18 02:49
upstream KCSAN: data-race in __d_instantiate / lookup_fast (3) ext4 1 988d 988d 0/26 auto-closed as invalid on 2021/08/17 22:04

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

write to 0xffff8880b332c300 of 4 bytes by task 23507 on cpu 0:
 fsnotify_update_flags include/linux/fsnotify_backend.h:417 [inline]
 __d_instantiate+0x2b0/0x310 fs/dcache.c:1931
 d_instantiate_new+0x76/0x100 fs/dcache.c:1975
 ext4_mkdir+0x5c8/0x850 fs/ext4/namei.c:2821
 vfs_mkdir+0x281/0x3b0 fs/namei.c:3625
 do_mkdirat+0x1b5/0x200 fs/namei.c:3648
 __do_sys_mkdir fs/namei.c:3664 [inline]
 __se_sys_mkdir fs/namei.c:3662 [inline]
 __x64_sys_mkdir+0x3d/0x50 fs/namei.c:3662
 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff8880b332c300 of 4 bytes by task 23510 on cpu 1:
 d_revalidate fs/namei.c:753 [inline]
 lookup_fast+0x176/0x3a0 fs/namei.c:1479
 open_last_lookups fs/namei.c:3121 [inline]
 path_openat+0x2ba/0x23d0 fs/namei.c:3343
 do_filp_open+0x11e/0x1b0 fs/namei.c:3373
 do_sys_openat2+0x52e/0x680 fs/open.c:1148
 do_sys_open+0xa2/0x110 fs/open.c:1164
 ksys_open include/linux/syscalls.h:1386 [inline]
 __do_sys_open fs/open.c:1170 [inline]
 __se_sys_open fs/open.c:1168 [inline]
 __x64_sys_open+0x50/0x60 fs/open.c:1168
 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

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

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/04/26 11:18 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 0ce7569e .config console log report ci2-upstream-kcsan-gce
2020/03/06 18:24 https://github.com/google/ktsan.git kcsan 941e0d917bbf 7fb694ef .config console log report ci2-upstream-kcsan-gce
2020/03/02 22:59 https://github.com/google/ktsan.git kcsan 766d004d1b85 4a4e0509 .config console log report ci2-upstream-kcsan-gce
2020/01/11 06:17 https://github.com/google/ktsan.git kcsan 245a43005292 4c04afaa .config console log report ci2-upstream-kcsan-gce
2020/01/08 19:20 https://github.com/google/ktsan.git kcsan 245a43005292 ddc3e859 .config console log report ci2-upstream-kcsan-gce
2019/12/23 21:27 https://github.com/google/ktsan.git kcsan 245a43005292 be5c2c81 .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.