syzbot


KCSAN: data-race in __do_sys_io_uring_register / io_sqe_files_register (2)

Status: auto-closed as invalid on 2021/08/29 07:31
Subsystems: fs
[Documentation on labels]
First crash: 1010d, last: 1004d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __do_sys_io_uring_register / io_sqe_files_register fs 1 1090d 1090d 0/26 auto-closed as invalid on 2021/06/04 13:22
upstream KCSAN: data-race in __do_sys_io_uring_register / io_sqe_files_register (3) fs 1 928d 928d 0/26 auto-closed as invalid on 2021/11/13 12:05

Sample crash report:
==================================================================
BUG: KCSAN: data-race in __do_sys_io_uring_register / io_sqe_files_register

write to 0xffff88816e1c3098 of 4 bytes by task 20546 on cpu 1:
 io_sqe_files_register+0x4c0/0xa70 fs/io_uring.c:7712
 __io_uring_register fs/io_uring.c:10108 [inline]
 __do_sys_io_uring_register+0x630/0x1ea0 fs/io_uring.c:10224
 __se_sys_io_uring_register fs/io_uring.c:10204 [inline]
 __x64_sys_io_uring_register+0x4f/0x60 fs/io_uring.c:10204
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0x90 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff88816e1c3098 of 4 bytes by task 20557 on cpu 0:
 __do_sys_io_uring_register+0x1bf/0x1ea0 fs/io_uring.c:10226
 __se_sys_io_uring_register fs/io_uring.c:10204 [inline]
 __x64_sys_io_uring_register+0x4f/0x60 fs/io_uring.c:10204
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0x90 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x00000000 -> 0x00000001

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 20557 Comm: syz-executor.2 Tainted: G        W         5.14.0-rc2-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/07/25 07:30 upstream 7ffca2bb9d8b 4d1b57d4 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __do_sys_io_uring_register / io_sqe_files_register
2021/07/19 18:49 upstream 2734d6c1b1a0 e6a17580 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __do_sys_io_uring_register / io_sqe_files_register
* Struck through repros no longer work on HEAD.