CVE-2025-38730 Details
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.
A vulnerability in the Linux kernel's io_uring implementation for networking can lead to data corruption. This issue arises because buffers provided by the io_uring ring are only valid within the execution context in which they were acquired. If a buffer is not fully processed, especially in streaming sockets with MSG_WAITALL set, it can be left hanging, causing two main problems: first, if the buffer ring is unregistered before a retry, the buffer list becomes invalid; second, if multiple sockets share the same buffer group, it can lead to simultaneous receives consuming the same memory, potentially overwriting data in the user space.
Users can update to the latest version of the Linux kernel where this vulnerability has been addressed. Instructions for downloading the patched version are available on the official Linux kernel website.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/21a4ddb0f5e933f372808c10b9ac704505751bb1 | kernel.org | Patch |
| https://git.kernel.org/stable/c/2eb7937b5fc7fcd90eab7bebb0181214b61b9283 | kernel.org | Patch |
| https://git.kernel.org/stable/c/3b53dc1c641f2884d4750fc25aaf6c36b90db606 | kernel.org | Patch |
| https://git.kernel.org/stable/c/41b70df5b38bc80967d2e0ed55cc3c3896bba781 | kernel.org | Patch |
| https://git.kernel.org/stable/c/fe9da1812f8697a38f7e30991d568ec199e16059 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.4, < 6.6.103 >= 6.7, < 6.12.44 >= 6.13, < 6.15.11 >= 6.16, < 6.16.2 6.17 rc1 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Oct 15, 2026 | CVE Modified | kernel.org |
| Oct 15, 2026 | CVE Modified | CISA-ADP |
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 25, 2025 | Initial Analysis | [email protected] |
| Sep 4, 2025 | New CVE Received | kernel.org |