syzbot


KCSAN: data-race in fuse_change_entry_timeout / path_openat

Status: auto-closed as invalid on 2021/03/19 12:44
Subsystems: fuse
[Documentation on labels]
First crash: 1169d, last: 1169d

Sample crash report:
==================================================================
BUG: KCSAN: data-race in fuse_change_entry_timeout / path_openat

write to 0xffff888010e68900 of 4 bytes by task 29615 on cpu 0:
 fuse_dentry_settime fs/fuse/dir.c:67 [inline]
 fuse_change_entry_timeout+0x188/0x1d0 fs/fuse/dir.c:105
 fuse_lookup+0x20f/0x2b0 fs/fuse/dir.c:490
 __lookup_slow+0x181/0x250 fs/namei.c:1544
 lookup_slow fs/namei.c:1561 [inline]
 walk_component+0x2a5/0x350 fs/namei.c:1861
 lookup_last fs/namei.c:2312 [inline]
 path_lookupat+0x12d/0x560 fs/namei.c:2336
 filename_lookup+0xf2/0x380 fs/namei.c:2369
 user_path_at_empty+0x3b/0x50 fs/namei.c:2649
 user_path_at include/linux/namei.h:59 [inline]
 path_setxattr+0x4c/0x170 fs/xattr.c:567
 __do_sys_setxattr fs/xattr.c:587 [inline]
 __se_sys_setxattr fs/xattr.c:583 [inline]
 __x64_sys_setxattr+0x69/0x80 fs/xattr.c:583
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff888010e68900 of 4 bytes by task 29629 on cpu 1:
 d_in_lookup include/linux/dcache.h:363 [inline]
 lookup_open fs/namei.c:3037 [inline]
 open_last_lookups fs/namei.c:3180 [inline]
 path_openat+0x66c/0x20a0 fs/namei.c:3368
 do_filp_open+0xbd/0x1d0 fs/namei.c:3398
 do_sys_openat2+0xa3/0x250 fs/open.c:1172
 do_sys_open fs/open.c:1188 [inline]
 __do_sys_openat fs/open.c:1204 [inline]
 __se_sys_openat fs/open.c:1199 [inline]
 __x64_sys_openat+0xef/0x110 fs/open.c:1199
 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: 1 PID: 29629 Comm: syz-executor.1 Not tainted 5.11.0-rc7-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
2021/02/12 12:25 upstream dcc0b49040c7 a5f86b15 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in fuse_change_entry_timeout / path_openat
* Struck through repros no longer work on HEAD.