CVE-2026-46315

io_uring/waitid: clear waitid info before copying it to userspace

State
Published
Severity
Not scored
Published
Jun 9, 2026
Updated
Jun 14, 2026
Reserved
May 13, 2026

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • f31ecf671ddc498f20219453395794ff2383e06b to before 954518e5a4a5efc5033253f6e36fc7b9f98363a3Affected
  • f31ecf671ddc498f20219453395794ff2383e06b to before b737c6612c60c23b40a9f31749b99e6f61943847Affected
  • f31ecf671ddc498f20219453395794ff2383e06b to before 4d2a0de611ab60d02fc768ae0cd5918b16bd5474Affected
  • f31ecf671ddc498f20219453395794ff2383e06b to before 93d93f5f8da791e98159795c6ef683f45bd95d13Affected
LinuxLinux
  • 6.7Affected
  • before 6.7Not affected
  • 6.12.92 through 6.12.*Not affected
  • 6.18.34 through 6.18.*Not affected
  • 7.0.11 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.