syzbot


KCSAN: data-race in __do_sys_io_uring_register / io_sqe_buffers_register

Status: auto-closed as invalid on 2021/09/03 10:33
Subsystems: fs
[Documentation on labels]
First crash: 1404d, last: 1404d
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_buffers_register (3) io-uring 1 991d 991d 0/28 auto-closed as invalid on 2022/09/28 05:57
upstream KCSAN: data-race in __do_sys_io_uring_register / io_sqe_buffers_register (2) fs 1 1291d 1291d 0/28 auto-closed as invalid on 2021/12/02 04:45

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

write to 0xffff8881464b409c of 4 bytes by task 10457 on cpu 1:
 io_sqe_buffers_register+0x373/0x8f0 fs/io_uring.c:8496
 __io_uring_register fs/io_uring.c:10129 [inline]
 __do_sys_io_uring_register+0x474/0x1ea0 fs/io_uring.c:10254
 __se_sys_io_uring_register fs/io_uring.c:10234 [inline]
 __x64_sys_io_uring_register+0x4f/0x60 fs/io_uring.c:10234
 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 0xffff8881464b409c of 4 bytes by task 10451 on cpu 0:
 __do_sys_io_uring_register+0x1d2/0x1ea0 fs/io_uring.c:10256
 __se_sys_io_uring_register fs/io_uring.c:10234 [inline]
 __x64_sys_io_uring_register+0x4f/0x60 fs/io_uring.c:10234
 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: 10451 Comm: syz-executor.4 Not tainted 5.13.0-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
2021/07/07 15:40 upstream 3dbdb38e2869 4846d5c1 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __do_sys_io_uring_register / io_sqe_buffers_register
* Struck through repros no longer work on HEAD.