syzbot


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

Status: auto-closed as invalid on 2021/11/13 12:05
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 424d, last: 424d
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 (2) 2 500d 506d 0/24 auto-closed as invalid on 2021/08/29 07:31
upstream KCSAN: data-race in __do_sys_io_uring_register / io_sqe_files_register 1 586d 586d 0/24 auto-closed as invalid on 2021/06/04 13:22

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

write to 0xffff8881078b2898 of 4 bytes by task 7442 on cpu 1:
 io_sqe_files_register+0x386/0x8f0 fs/io_uring.c:8243
 __do_sys_io_uring_register+0x6f1/0x21a0 fs/io_uring.c:10915
 __se_sys_io_uring_register fs/io_uring.c:10895 [inline]
 __x64_sys_io_uring_register+0x4f/0x60 fs/io_uring.c:10895
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff8881078b2898 of 4 bytes by task 7452 on cpu 0:
 __do_sys_io_uring_register+0x21a/0x21a0 fs/io_uring.c:10917
 __se_sys_io_uring_register fs/io_uring.c:10895 [inline]
 __x64_sys_io_uring_register+0x4f/0x60 fs/io_uring.c:10895
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xa0 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: 7452 Comm: syz-executor.3 Not tainted 5.15.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2021/10/09 12:00 upstream 5d6ab0bb408f 838e7e2c .config log report info KCSAN: data-race in __do_sys_io_uring_register / io_sqe_files_register
* Struck through repros no longer work on HEAD.