syzbot


KCSAN: data-race in __do_sys_io_uring_register / io_sqe_files_register

Status: auto-closed as invalid on 2021/06/04 13:22
Subsystems: fs
[Documentation on labels]
First crash: 1103d, last: 1103d
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_files_register (2) fs 2 1017d 1022d 0/26 auto-closed as invalid on 2021/08/29 07:31
upstream KCSAN: data-race in __do_sys_io_uring_register / io_sqe_files_register (3) fs 1 941d 941d 0/26 auto-closed as invalid on 2021/11/13 12:05

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

write to 0xffff888107be6bd8 of 4 bytes by task 20405 on cpu 0:
 io_sqe_files_register+0x64d/0xa80 fs/io_uring.c:7645
 __io_uring_register fs/io_uring.c:9995 [inline]
 __do_sys_io_uring_register+0x60d/0x1920 fs/io_uring.c:10091
 __se_sys_io_uring_register fs/io_uring.c:10071 [inline]
 __x64_sys_io_uring_register+0x4f/0x60 fs/io_uring.c:10071
 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff888107be6bd8 of 4 bytes by task 20365 on cpu 1:
 __do_sys_io_uring_register+0x1eb/0x1920 fs/io_uring.c:10093
 __se_sys_io_uring_register fs/io_uring.c:10071 [inline]
 __x64_sys_io_uring_register+0x4f/0x60 fs/io_uring.c:10071
 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 20365 Comm: syz-executor.3 Tainted: G        W         5.12.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/04/30 13:14 upstream 8ca5297e7e38 77e2b668 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __do_sys_io_uring_register / io_sqe_files_register
* Struck through repros no longer work on HEAD.