In the Linux kernel, the following vulnerability has been resolved: io_uring/waitid: clear waitid info before copying it to userspace IORING_OP_WAITID stores its result fields in struct io_waitid::info and later copies them to userspace siginfo. The prep path initializes the request arguments, but it does not initialize info itself. If the wait operation completes without reporting a child event, the common wait code can return without writing wo_info. In that case io_waitid_finish() still copies iw->info to userspace, exposing stale bytes from the reused io_kiocb command storage. Clear the result storage during prep so the io_uring path matches the regular waitid syscall, which uses a zero-initialized struct waitid_info.
| Product | Vendor | Version |
|---|---|---|
| Linux | Linux | 14.1.0-14.1.0.5 |
| Linux | Linux | 14.0.0-14.0.0.4 |
| Linux | Linux | 8.57 |
| Linux | Linux | 1.3.1 |