syzbot


KCSAN: data-race in __se_sys_io_uring_register / io_sqe_buffers_register

Status: auto-obsoleted due to no activity on 2024/02/17 19:36
Subsystems: io-uring
[Documentation on labels]
Reported-by: syzbot+08e2774bc70dd101c90c@syzkaller.appspotmail.com
First crash: 433d, last: 433d

Sample crash report:
==================================================================
BUG: KCSAN: data-race in __se_sys_io_uring_register / io_sqe_buffers_register

read-write to 0xffff888160c7b0a4 of 4 bytes by task 32395 on cpu 1:
 io_sqe_buffers_register+0x29d/0x390 io_uring/rsrc.c:1028
 io_register_rsrc+0x1b5/0x1e0 io_uring/rsrc.c:548
 __do_sys_io_uring_register io_uring/register.c:598 [inline]
 __se_sys_io_uring_register+0x956/0x10e0 io_uring/register.c:559
 __x64_sys_io_uring_register+0x55/0x60 io_uring/register.c:559
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x59/0x120 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

read to 0xffff888160c7b0a4 of 4 bytes by task 32396 on cpu 0:
 __do_sys_io_uring_register io_uring/register.c:600 [inline]
 __se_sys_io_uring_register+0xa06/0x10e0 io_uring/register.c:559
 __x64_sys_io_uring_register+0x55/0x60 io_uring/register.c:559
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x59/0x120 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

value changed: 0x00000000 -> 0x00000001

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 32396 Comm: syz-executor.2 Tainted: G        W          6.7.0-syzkaller-09928-g052d534373b7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/13 19:36 upstream 052d534373b7 551587c1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __se_sys_io_uring_register / io_sqe_buffers_register
* Struck through repros no longer work on HEAD.