syzbot


KCSAN: data-race in __io_uring_show_fdinfo / io_submit_sqes

Status: auto-obsoleted due to no activity on 2023/09/28 20:43
Subsystems: io-uring
[Documentation on labels]
Reported-by: syzbot+ea81befdb933895e29c7@syzkaller.appspotmail.com
First crash: 474d, last: 474d

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

read-write to 0xffff888138a79870 of 4 bytes by task 15030 on cpu 1:
 io_get_sqe io_uring/io_uring.c:2365 [inline]
 io_submit_sqes+0x23d/0xfb0 io_uring/io_uring.c:2411
 __do_sys_io_uring_enter io_uring/io_uring.c:3628 [inline]
 __se_sys_io_uring_enter+0x1f8/0x1c10 io_uring/io_uring.c:3562
 __x64_sys_io_uring_enter+0x78/0x90 io_uring/io_uring.c:3562
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

read to 0xffff888138a79870 of 4 bytes by task 15029 on cpu 0:
 __io_uring_show_fdinfo+0x12d/0xd50 io_uring/fdinfo.c:80
 io_uring_show_fdinfo+0x73/0x1c0 io_uring/fdinfo.c:212
 seq_show+0x316/0x360 fs/proc/fd.c:70
 seq_read_iter+0x2bc/0x8f0 fs/seq_file.c:230
 seq_read+0xd8/0x120 fs/seq_file.c:162
 vfs_read+0x19f/0x5c0 fs/read_write.c:468
 ksys_read+0xeb/0x1a0 fs/read_write.c:613
 __do_sys_read fs/read_write.c:623 [inline]
 __se_sys_read fs/read_write.c:621 [inline]
 __x64_sys_read+0x42/0x50 fs/read_write.c:621
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x00002ba0 -> 0x00002bad

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 15029 Comm: syz-executor.3 Not tainted 6.5.0-rc7-syzkaller-00024-g93f5de5f648d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/08/24 20:43 upstream 93f5de5f648d 49be837e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __io_uring_show_fdinfo / io_submit_sqes
* Struck through repros no longer work on HEAD.