# CVE-2025-40267: io_uring/rw: ensure allocated iovec gets cleared for early failure

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 11% of CVEs (2026-11-30)
- Published: 2025-12-06T21:50:47.614Z
- Modified: 2026-10-15T20:10:00.197Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 9ac273ae3dc296905b4d61e4c8e7a25592f6d183 before 094c6467fe05e0de618c5a7fcff4d3ee20aeaef8; from 9ac273ae3dc296905b4d61e4c8e7a25592f6d183 before d3c9c213c0b86ac5dd8fe2c53c24db20f1f510bc; 6.14 (not affected: before 6.14; from 6.17.9 up to 6.17.*; from 6.18 up to *)

## References

- <https://git.kernel.org/stable/c/094c6467fe05e0de618c5a7fcff4d3ee20aeaef8>
- <https://git.kernel.org/stable/c/d3c9c213c0b86ac5dd8fe2c53c24db20f1f510bc>

## Sources

- CVE List: [CVE-2025-40267](https://www.cve.org/CVERecord?id=CVE-2025-40267), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-40267](https://nvd.nist.gov/vuln/detail/CVE-2025-40267), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2025-40267 · Whole record: https://cve.day/CVE-2025-40267.json · Rebuilt by cve.day 2026-11-25T22:59:08.371Z
