syzbot


KCSAN: data-race in io_submit_sqes / prepare_creds

Status: moderation: reported on 2026/01/12 20:09
Subsystems: io-uring
[Documentation on labels]
Reported-by: syzbot+28bf9d76d89a9ce80187@syzkaller.appspotmail.com
First crash: 3d17h, last: 3d17h

Sample crash report:
==================================================================
BUG: KCSAN: data-race in io_submit_sqes / prepare_creds

write to 0xffff8881031a6b28 of 4 bytes by task 12447 on cpu 1:
 get_cred_many include/linux/cred.h:219 [inline]
 get_cred include/linux/cred.h:235 [inline]
 io_init_req io_uring/io_uring.c:2226 [inline]
 io_submit_sqe io_uring/io_uring.c:2282 [inline]
 io_submit_sqes+0x68b/0x11b0 io_uring/io_uring.c:2435
 __do_sys_io_uring_enter io_uring/io_uring.c:3285 [inline]
 __se_sys_io_uring_enter+0x1bd/0x1a30 io_uring/io_uring.c:3224
 __x64_sys_io_uring_enter+0x78/0x90 io_uring/io_uring.c:3224
 x64_sys_call+0x27e4/0x3000 arch/x86/include/generated/asm/syscalls_64.h:427
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xca/0x2b0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

read to 0xffff8881031a6a80 of 184 bytes by task 12448 on cpu 0:
 prepare_creds+0x6e/0x550 kernel/cred.c:192
 copy_creds+0x8f/0x340 kernel/cred.c:286
 copy_process+0x638/0x1ef0 kernel/fork.c:2086
 kernel_clone+0x16c/0x5c0 kernel/fork.c:2651
 __do_sys_clone kernel/fork.c:2792 [inline]
 __se_sys_clone kernel/fork.c:2776 [inline]
 __x64_sys_clone+0xe6/0x120 kernel/fork.c:2776
 x64_sys_call+0x12d0/0x3000 arch/x86/include/generated/asm/syscalls_64.h:57
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xca/0x2b0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 UID: 0 PID: 12448 Comm: syz.4.2930 Not tainted syzkaller #0 PREEMPT(voluntary) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/01/12 20:08 upstream 0f61b1860cc3 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_submit_sqes / prepare_creds
* Struck through repros no longer work on HEAD.