syzbot


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

Status: auto-closed as invalid on 2021/12/02 04:45
Subsystems: fs
[Documentation on labels]
First crash: 1292d, last: 1292d
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 fs 1 1404d 1404d 0/28 auto-closed as invalid on 2021/09/03 10:33

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

write to 0xffff88813d67a09c of 4 bytes by task 12041 on cpu 1:
 io_sqe_buffers_register+0x3ab/0x920 fs/io_uring.c:9086
 __do_sys_io_uring_register+0x511/0x2330 fs/io_uring.c:10945
 __se_sys_io_uring_register fs/io_uring.c:10925 [inline]
 __x64_sys_io_uring_register+0x4f/0x60 fs/io_uring.c:10925
 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 0xffff88813d67a09c of 4 bytes by task 12053 on cpu 0:
 __do_sys_io_uring_register+0x224/0x2330 fs/io_uring.c:10947
 __se_sys_io_uring_register fs/io_uring.c:10925 [inline]
 __x64_sys_io_uring_register+0x4f/0x60 fs/io_uring.c:10925
 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: 12053 Comm: syz-executor.5 Not tainted 5.15.0-rc7-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/10/28 04:40 upstream 1fc596a56b33 be531bb4 .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.