# CVE-2025-38730: io_uring/net: commit partial buffers on retry

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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.20%, higher than 9% of CVEs (2026-12-01)
- Published: 2025-09-04T15:33:27.691Z
- Modified: 2026-10-19T21:10:00.160Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

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

io_uring/net: commit partial buffers on retry

Ring provided buffers are potentially only valid within the single
execution context in which they were acquired. io_uring deals with this
and invalidates them on retry. But on the networking side, if
MSG_WAITALL is set, or if the socket is of the streaming type and too
little was processed, then it will hang on to the buffer rather than
recycle or commit it. This is problematic for two reasons:

1) If someone unregisters the provided buffer ring before a later retry,
   then the req->buf_list will no longer be valid.

2) If multiple sockers are using the same buffer group, then multiple
   receives can consume the same memory. This can cause data corruption
   in the application, as either receive could land in the same
   userspace buffer.

Fix this by disallowing partial retries from pinning a provided buffer
across multiple executions, if ring provided buffers are used.

(As written by CVE List.)

## Affected

- Linux Linux: from c56e022c0a27142b7b59ae6bdf45f86bf4b298a1 before 3b53dc1c641f2884d4750fc25aaf6c36b90db606; from c56e022c0a27142b7b59ae6bdf45f86bf4b298a1 before fe9da1812f8697a38f7e30991d568ec199e16059; from c56e022c0a27142b7b59ae6bdf45f86bf4b298a1 before 21a4ddb0f5e933f372808c10b9ac704505751bb1; from c56e022c0a27142b7b59ae6bdf45f86bf4b298a1 before 2eb7937b5fc7fcd90eab7bebb0181214b61b9283; from c56e022c0a27142b7b59ae6bdf45f86bf4b298a1 before 41b70df5b38bc80967d2e0ed55cc3c3896bba781; 6.4 (not affected: before 6.4; from 6.6.103 up to 6.6.*; from 6.12.44 up to 6.12.*; from 6.15.11 up to 6.15.*; from 6.16.2 up to 6.16.*; from 6.17 up to *)
- linux linux_kernel: from 6.4 before 6.6.103; from 6.7 before 6.12.44; from 6.13 before 6.15.11; from 6.16 before 6.16.2; 6.17

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/3b53dc1c641f2884d4750fc25aaf6c36b90db606> (patch)
- <https://git.kernel.org/stable/c/fe9da1812f8697a38f7e30991d568ec199e16059> (patch)
- <https://git.kernel.org/stable/c/21a4ddb0f5e933f372808c10b9ac704505751bb1> (patch)
- <https://git.kernel.org/stable/c/2eb7937b5fc7fcd90eab7bebb0181214b61b9283> (patch)
- <https://git.kernel.org/stable/c/41b70df5b38bc80967d2e0ed55cc3c3896bba781> (patch)

## Sources

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

---

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