syzbot


KCSAN: data-race in fuse_abort_conn / fuse_get_req (2)

Status: auto-closed as invalid on 2020/04/09 06:28
Subsystems: fuse
[Documentation on labels]
First crash: 2031d, last: 2031d
Similar bugs (4)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in fuse_abort_conn / fuse_get_req (5) fuse 6 5 1590d 1641d 0/29 auto-closed as invalid on 2021/05/19 23:44
upstream KCSAN: data-race in fuse_abort_conn / fuse_get_req (4) fuse 6 1 1764d 1764d 0/29 auto-closed as invalid on 2020/11/26 12:35
upstream KCSAN: data-race in fuse_abort_conn / fuse_get_req (3) fuse 6 1 1901d 1901d 0/29 closed as invalid on 2020/06/18 14:13
upstream KCSAN: data-race in fuse_abort_conn / fuse_get_req fuse 6 1 2114d 2114d 0/29 closed as invalid on 2019/11/19 14:04

Sample crash report:
==================================================================
BUG: KCSAN: data-race in fuse_abort_conn / fuse_get_req

read to 0xffff888121548504 of 4 bytes by task 10098 on cpu 1:
 fuse_block_alloc fs/fuse/dev.c:86 [inline]
 fuse_get_req+0xb6/0x450 fs/fuse/dev.c:113
 fuse_simple_request+0x7f/0x6d0 fs/fuse/dev.c:492
 fuse_do_getattr+0x1e5/0x860 fs/fuse/dir.c:952
 fuse_update_get_attr+0x15e/0x1b0 fs/fuse/dir.c:988
 fuse_getattr+0x8f/0xc0 fs/fuse/dir.c:1695
 vfs_getattr_nosec+0x12e/0x170 fs/stat.c:81
 vfs_getattr+0x54/0x70 fs/stat.c:118
 vfs_statx+0x102/0x190 fs/stat.c:191
 vfs_stat include/linux/fs.h:3249 [inline]
 __do_sys_newstat+0x51/0xb0 fs/stat.c:341
 __se_sys_newstat fs/stat.c:337 [inline]
 __x64_sys_newstat+0x3a/0x50 fs/stat.c:337
 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

write to 0xffff888121548504 of 4 bytes by task 10096 on cpu 0:
 fuse_set_initialized fs/fuse/dev.c:81 [inline]
 fuse_abort_conn+0xcf/0x7d0 fs/fuse/dev.c:2109
 fuse_dev_release+0x26b/0x290 fs/fuse/dev.c:2186
 __fput+0x1e1/0x520 fs/file_table.c:280
 ____fput+0x1f/0x30 fs/file_table.c:313
 task_work_run+0xf6/0x130 kernel/task_work.c:113
 tracehook_notify_resume include/linux/tracehook.h:188 [inline]
 exit_to_usermode_loop+0x2b4/0x2c0 arch/x86/entry/common.c:164
 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:278 [inline]
 do_syscall_64+0x384/0x3a0 arch/x86/entry/common.c:304
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 10096 Comm: syz-executor.0 Not tainted 5.5.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/01/30 06:25 https://github.com/google/ktsan.git kcsan 245a43005292 5ed23f9a .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.