CVE-2025-40267

io_uring/rw: ensure allocated iovec gets cleared for early failure

State
Published
Severity
Not scored
Published
Dec 6, 2025
Updated
May 11, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

io_uring/rw: ensure allocated iovec gets cleared for early failure

A previous commit reused the recyling infrastructure for early cleanup, but this is not enough for the case where our internal caches have overflowed. If this happens, then the allocated iovec can get leaked if the request is also aborted early.

Reinstate the previous forced free of the iovec for that situation.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 9ac273ae3dc296905b4d61e4c8e7a25592f6d183 to before 094c6467fe05e0de618c5a7fcff4d3ee20aeaef8Affected
  • 9ac273ae3dc296905b4d61e4c8e7a25592f6d183 to before d3c9c213c0b86ac5dd8fe2c53c24db20f1f510bcAffected
LinuxLinux
  • 6.14Affected
  • before 6.14Not affected
  • 6.17.9 through 6.17.*Not affected
  • 6.18 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.