syzbot


KCSAN: data-race in __d_instantiate / lookup_fast (5)

Status: auto-obsoleted due to no activity on 2022/12/11 12:03
Subsystems: ext4
[Documentation on labels]
First crash: 582d, last: 530d
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 51 1d14h 132d 0/26 moderation: reported on 2023/12/09 00:04
upstream KCSAN: data-race in __d_instantiate / lookup_fast ext4 6 1454d 1578d 0/26 auto-closed as invalid on 2020/06/18 13:33
upstream KCSAN: data-race in __d_instantiate / lookup_fast (4) ext4 16 621d 737d 0/26 auto-closed as invalid on 2022/09/10 18:37
upstream KCSAN: data-race in __d_instantiate / lookup_fast (2) fs 1 1163d 1163d 0/26 auto-closed as invalid on 2021/03/18 02:49
upstream KCSAN: data-race in __d_instantiate / lookup_fast (3) ext4 1 1010d 1010d 0/26 auto-closed as invalid on 2021/08/17 22:04

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

read-write to 0xffff88810b2aa900 of 4 bytes by task 3939 on cpu 1:
 __d_instantiate+0x2cd/0x3b0 fs/dcache.c:2011
 d_instantiate_new+0x58/0xe0 fs/dcache.c:2055
 ext4_mkdir+0x5ff/0x760 fs/ext4/namei.c:3018
 vfs_mkdir+0x27a/0x380 fs/namei.c:4035
 do_mkdirat+0x101/0x270 fs/namei.c:4060
 __do_sys_mkdir fs/namei.c:4080 [inline]
 __se_sys_mkdir fs/namei.c:4078 [inline]
 __x64_sys_mkdir+0x40/0x50 fs/namei.c:4078
 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+0x63/0xcd

read to 0xffff88810b2aa900 of 4 bytes by task 3940 on cpu 0:
 d_revalidate fs/namei.c:855 [inline]
 lookup_fast+0xca/0x270 fs/namei.c:1634
 walk_component+0x3f/0x230 fs/namei.c:1989
 lookup_last fs/namei.c:2450 [inline]
 path_lookupat+0x11d/0x2b0 fs/namei.c:2474
 filename_lookup+0x133/0x310 fs/namei.c:2503
 user_path_at_empty+0x3e/0x110 fs/namei.c:2876
 user_path_at include/linux/namei.h:57 [inline]
 do_mount fs/namespace.c:3380 [inline]
 __do_sys_mount fs/namespace.c:3591 [inline]
 __se_sys_mount+0x24d/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+0x63/0xcd

value changed: 0x00000000 -> 0x00280000

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 3940 Comm: syz-executor.2 Not tainted 6.1.0-rc3-syzkaller-00299-g2f5065a0bc9d-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
==================================================================

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/11/06 11:54 upstream 2f5065a0bc9d 6d752409 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __d_instantiate / lookup_fast
2022/10/20 10:44 upstream aae703b02f92 b31320fc .config console log report info [disk image] [vmlinux] ci2-upstream-kcsan-gce KCSAN: data-race in __d_instantiate / lookup_fast
2022/10/05 13:10 upstream 0326074ff465 267e3bb1 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __d_instantiate / lookup_fast
2022/10/04 02:15 upstream 4fe89d07dcc2 feb56351 .config console log report info [disk image] [vmlinux] ci2-upstream-kcsan-gce KCSAN: data-race in __d_instantiate / lookup_fast
2022/10/01 22:25 upstream ffb4d94b4314 feb56351 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __d_instantiate / lookup_fast
2022/09/27 16:35 upstream 3800a713b607 10323ddf .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __d_instantiate / lookup_fast
2022/09/14 17:01 upstream 3245cb65fd91 b884348d .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __d_instantiate / lookup_fast
* Struck through repros no longer work on HEAD.