===================================================== BUG: KMSAN: uninit-value in io_req_cqe_overflow io_uring/io_uring.c:809 [inline] BUG: KMSAN: uninit-value in __io_submit_flush_completions io_uring/io_uring.c:1520 [inline] BUG: KMSAN: uninit-value in io_submit_flush_completions+0x880/0xcd0 io_uring/io_uring.c:173 io_req_cqe_overflow io_uring/io_uring.c:809 [inline] __io_submit_flush_completions io_uring/io_uring.c:1520 [inline] io_submit_flush_completions+0x880/0xcd0 io_uring/io_uring.c:173 ctx_flush_and_put+0x126/0x320 io_uring/io_uring.c:1156 handle_tw_list io_uring/io_uring.c:1188 [inline] tctx_task_work+0x6e7/0xbb0 io_uring/io_uring.c:1246 task_work_run+0x263/0x300 kernel/task_work.c:179 get_signal+0x156/0x2be0 kernel/signal.c:2635 arch_do_signal_or_restart+0x5a/0x9f0 arch/x86/kernel/signal.c:306 exit_to_user_mode_loop+0xea/0x320 kernel/entry/common.c:168 exit_to_user_mode_prepare+0x16c/0x230 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x2a/0x140 kernel/entry/common.c:297 do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd Uninit was stored to memory at: io_req_set_res io_uring/io_uring.h:182 [inline] io_recv_finish io_uring/net.c:623 [inline] io_recvmsg+0x309d/0x3890 io_uring/net.c:827 io_issue_sqe+0x321/0x1050 io_uring/io_uring.c:1907 io_queue_sqe io_uring/io_uring.c:2079 [inline] io_req_task_submit+0x195/0x310 io_uring/io_uring.c:1425 io_poll_task_func+0x1451/0x1590 handle_tw_list io_uring/io_uring.c:1184 [inline] tctx_task_work+0x498/0xbb0 io_uring/io_uring.c:1246 task_work_run+0x263/0x300 kernel/task_work.c:179 get_signal+0x156/0x2be0 kernel/signal.c:2635 arch_do_signal_or_restart+0x5a/0x9f0 arch/x86/kernel/signal.c:306 exit_to_user_mode_loop+0xea/0x320 kernel/entry/common.c:168 exit_to_user_mode_prepare+0x16c/0x230 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x2a/0x140 kernel/entry/common.c:297 do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd Uninit was stored to memory at: io_setup_async_msg+0x4e4/0x7c0 io_uring/net.c:182 io_recvmsg+0x2909/0x3890 io_uring/net.c:797 io_issue_sqe+0x321/0x1050 io_uring/io_uring.c:1907 io_queue_sqe io_uring/io_uring.c:2079 [inline] io_submit_sqe io_uring/io_uring.c:2340 [inline] io_submit_sqes+0x11e2/0x2e10 io_uring/io_uring.c:2450 __do_sys_io_uring_enter io_uring/io_uring.c:3458 [inline] __se_sys_io_uring_enter+0x4ed/0x4300 io_uring/io_uring.c:3392 __x64_sys_io_uring_enter+0x11b/0x1a0 io_uring/io_uring.c:3392 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 Local variable iomsg created at: io_recvmsg+0x50/0x3890 io_uring/net.c:733 io_issue_sqe+0x321/0x1050 io_uring/io_uring.c:1907 CPU: 1 PID: 27873 Comm: syz-executor.2 Not tainted 6.3.0-syzkaller-g81af97bdef5e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 =====================================================