CVE-2025-40267

Summary

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.

Affected Software

VendorProductVersion RangeStatus
LinuxLinux9ac273ae3dc296905b4d61e4c8e7a25592f6d183 < 094c6467fe05e0de618c5a7fcff4d3ee20aeaef8affected
LinuxLinux9ac273ae3dc296905b4d61e4c8e7a25592f6d183 < d3c9c213c0b86ac5dd8fe2c53c24db20f1f510bcaffected
LinuxLinux6.14affected
LinuxLinux0 < 6.14unaffected
LinuxLinux6.17.9 <= 6.17.*unaffected
LinuxLinux6.18 <= *unaffected

Weaknesses

References