syzbot


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

Status: auto-obsoleted due to no activity on 2024/03/23 00:07
Subsystems: io-uring
[Documentation on labels]
Reported-by: syzbot+0e87f2c54097b58ed4e3@syzkaller.appspotmail.com
First crash: 67d, last: 67d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __se_sys_io_uring_register / io_sqe_files_register io-uring 1 328d 328d 0/26 auto-obsoleted due to no activity on 2023/07/05 15:17

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

read-write to 0xffff8881085870a0 of 4 bytes by task 6449 on cpu 1:
 io_sqe_files_register+0x2bf/0x3b0 io_uring/rsrc.c:727
 __io_uring_register io_uring/register.c:429 [inline]
 __do_sys_io_uring_register io_uring/register.c:600 [inline]
 __se_sys_io_uring_register+0x471/0x10e0 io_uring/register.c:561
 __x64_sys_io_uring_register+0x55/0x60 io_uring/register.c:561
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

read to 0xffff8881085870a0 of 4 bytes by task 6450 on cpu 0:
 __do_sys_io_uring_register io_uring/register.c:602 [inline]
 __se_sys_io_uring_register+0x9f0/0x10e0 io_uring/register.c:561
 __x64_sys_io_uring_register+0x55/0x60 io_uring/register.c:561
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x1d0 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: 6450 Comm: syz-executor.3 Not tainted 6.8.0-rc4-syzkaller-00267-g0f1dd5e91e2b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/02/17 00:06 upstream 0f1dd5e91e2b 578f7538 .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_files_register
* Struck through repros no longer work on HEAD.