CVE-2025-38730
io_uring/net: commit partial buffers on retry
Reported by linux · Published September 4, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.12 | Amazon Linux | 1:6.12.46-66.121.amzn2023 |
| Linux | Linux | fe9da1812f8697a38f7e30991d568ec199e16059, 21a4ddb0f5e933f372808c10b9ac704505751bb1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | c56e022c0a27142b7b59ae6bdf45f86bf4b298a1, c56e022c0a27142b7b59ae6bdf45f86bf4b298a1, c56e022c0a27142b7b59ae6bdf45f86bf4b298a1 |
| Linux | Linux | 6.4, 0, 6.6.103 |
| amazon:2023 | kernel6.12 | 0 |
| Linux | Linux | *, 6.17, 6.16.2 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel-livepatch-6.12.46-66.121 | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| linux | linux_kernel | 6.4, 6.4, 6.4 |
| amazon:2023 | kernel6.12-libbpf-devel | 0 |
| amazon:2023 | kernel6.12-libbpf-static | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.12-libbpf | 0 |
Timeline
- Sep 4, 2025 Coalition ESS Score (11 in total, the first dated here)
- Sep 4, 2025 CVE Published
- Sep 5, 2025 EPSS Score (30 in total, the first dated here)
- Oct 12, 2025 PoC Published (9 in total, the first dated here)
- Dec 15, 2025 Security Advisory (161 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (148 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-38730
vulnetix vdb fixes CVE-2025-38730
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-38730/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart