CVE-2025-38730
published high CVSS 3.1 · 7.8io_uring/net: commit partial buffers on retry
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxc56e022c0a27142b7b59ae6bdf45f86bf4b298a1 to < 3b53dc1c641f2884d4750fc25aaf6c36b90db606 · c56e022c0a27142b7b59ae6bdf45f86bf4b298a1 to < fe9da1812f8697a38f7e30991d568ec199e16059 · c56e022c0a27142b7b59ae6bdf45f86bf4b298a1 to < 21a4ddb0f5e933f372808c10b9ac704505751bb1 · c56e022c0a27142b7b59ae6bdf45f86bf4b298a1 to < 2eb7937b5fc7fcd90eab7bebb0181214b61b9283 · c56e022c0a27142b7b59ae6bdf45f86bf4b298a1 to < 41b70df5b38bc80967d2e0ed55cc3c3896bba781 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.4 (affected) · 0 to < 6.4 (unaffected · semver) · 6.6.103 through 6.6.* (unaffected · semver) · 6.12.44 through 6.12.* (unaffected · semver) · 6.15.11 through 6.15.* (unaffected · semver) · 6.16.2 through 6.16.* (unaffected · semver) · 6.17 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1208 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | kernel-abi-stablelists | Advisory build | 6.12.0-124.35.1.el10_1 | ALSA-2026:2282 |
| Debian | trixie | linux | Advisory build | 6.12.48-1 | DSA-6008-1 |
| Oracle Linux | 10 | kernelx86_64 | Advisory build | 0:6.12.0-124.35.1.el10_1 | ELSA-2026-2282 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 10 | kernel-doc | Advisory build | 6.12.0-124.35.1.el10_1 | ALSA-2026:2282 |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-64k | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-64k-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-64k-debug | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-64k-debug-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-64k-debug-devel | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-extra | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-64k-devel | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-64k-modules | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-64k-modules-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-64k-modules-extra | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-uki-virt-addons | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-zfcpdump-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-zfcpdump-devel | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-zfcpdump-devel-matched | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-zfcpdump-modules | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-extra | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | libperf | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | perf | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | python3-perf | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | rtla | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | rv | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| Oracle Linux | 10 | kernel-abi-stablelistsx86_64 | Advisory build | 0:6.12.0-124.35.1.el10_1 | ELSA-2026-2282 |
| Oracle Linux | 10 | kernel-corex86_64 | Advisory build | 0:6.12.0-124.35.1.el10_1 | ELSA-2026-2282 |
| Oracle Linux | 10 | kernel-cross-headersaarch64 | Advisory build | 0:6.12.0-124.35.1.el10_1 | ELSA-2026-2282 |
| Oracle Linux | 10 | kernel-cross-headersx86_64 | Advisory build | 0:6.12.0-124.35.1.el10_1 | ELSA-2026-2282 |
| Oracle Linux | 10 | kernel-debugx86_64 | Advisory build | 0:6.12.0-124.35.1.el10_1 | ELSA-2026-2282 |
| Oracle Linux | 10 | kernel-debug-corex86_64 | Advisory build | 0:6.12.0-124.35.1.el10_1 | ELSA-2026-2282 |
| Oracle Linux | 10 | kernel-debug-develx86_64 | Advisory build | 0:6.12.0-124.35.1.el10_1 | ELSA-2026-2282 |
| Oracle Linux | 10 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:6.12.0-124.35.1.el10_1 | ELSA-2026-2282 |
| Oracle Linux | 10 | kernel-debug-modulesx86_64 | Advisory build | 0:6.12.0-124.35.1.el10_1 | ELSA-2026-2282 |
| Oracle Linux | 10 | kernel-debug-modules-corex86_64 | Advisory build | 0:6.12.0-124.35.1.el10_1 | ELSA-2026-2282 |
| Oracle Linux | 10 | kernel-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-124.35.1.el10_1 | ELSA-2026-2282 |
| Oracle Linux | 10 | kernel-debug-uki-virtx86_64 | Advisory build | 0:6.12.0-124.35.1.el10_1 | ELSA-2026-2282 |
| Oracle Linux | 10 | kernel-develx86_64 | Advisory build | 0:6.12.0-124.35.1.el10_1 | ELSA-2026-2282 |
| Oracle Linux | 10 | kernel-devel-matchedx86_64 | Advisory build | 0:6.12.0-124.35.1.el10_1 | ELSA-2026-2282 |
| Oracle Linux | 10 | kernel-docx86_64 | Advisory build | 0:6.12.0-124.35.1.el10_1 | ELSA-2026-2282 |
| Oracle Linux | 10 | kernel-headersaarch64 | Advisory build | 0:6.12.0-124.35.1.el10_1 | ELSA-2026-2282 |
| Oracle Linux | 10 | kernel-headersx86_64 | Advisory build | 0:6.12.0-124.35.1.el10_1 | ELSA-2026-2282 |
| Oracle Linux | 10 | kernel-modulesx86_64 | Advisory build | 0:6.12.0-124.35.1.el10_1 | ELSA-2026-2282 |
| Oracle Linux | 10 | kernel-modules-corex86_64 | Advisory build | 0:6.12.0-124.35.1.el10_1 | ELSA-2026-2282 |
| Oracle Linux | 10 | kernel-modules-extrax86_64 | Advisory build | 0:6.12.0-124.35.1.el10_1 | ELSA-2026-2282 |
| Oracle Linux | 10 | kernel-modules-extra-matchedx86_64 | Advisory build | 0:6.12.0-124.35.1.el10_1 | ELSA-2026-2282 |
| Oracle Linux | 10 | kernel-toolsaarch64 | Advisory build | 0:6.12.0-124.35.1.el10_1 | ELSA-2026-2282 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerability is reached through the io_uring submission/registration syscall interface (`io_uring_setup`, `IORING_REGISTER_PBUF_RING`/`IORING_UNREGISTER_PBUF_RING`, SQE submission), which requires local access to the machine. Per kernel scoring guidance io_uring is a local attack surface, even though the socket data that triggers the partial-transfer state can come from a peer. AC:L - The attacker controls every element of the sequence — it owns both ends of the socket (socketpair or loopback TCP), so it decides exactly when a short `MSG_WAITALL` read occurs and when the remainder is delivered, and it issues the `IORING_UNREGISTER_PBUF_RING` in between. This is deterministic ordering rather than a race, and heap grooming of the freed `io_buffer_list` slot is standard and attacker-influenced. PR:L - Only an ordinary unprivileged local user account is needed; creating an io_uring instance, registering/unregistering a provided buffer ring, and creating sockets require no capabilities and no user-namespace tricks. No `CAP_*` check exists anywhere on the path. UI:N - The attacking process performs all steps itself within its own io_uring instance and sockets. No victim action or interaction is required. S:U - The corruption is of kernel heap memory belonging to the same kernel security authority, giving a classic local privilege escalation. No VM, IOMMU, or other security-authority boundary is crossed. C:H - The stale `req->buf_list` is dereferenced after `kfree()`, and in the `IOBL_INC` path `bl->buf_ring`, `bl->head` and `bl->mask` are all read from the reclaimed object and used to dereference an attacker-chosen address, yielding an arbitrary kernel read primitive. Additionally the buffer-aliasing half of the bug leaks one socket's received data into a buffer owned by another connection. I:H - `io_kbuf_commit()` writes `bl->head += nr` into freed memory, and `io_kbuf_inc_commit()` performs `buf->len -= this_len; buf->addr += this_len` through a fully attacker-controlled pointer, giving an arbitrary read-modify-write that is readily leveraged into control-flow hijack and root escalation. The bug also silently corrupts application data across sockets sharing a buffer group. A:H - Using a freed `struct io_buffer_list` and dereferencing its stale `buf_ring` pointer reliably produces an oops/panic (KASAN use-after-free, wild pointer write), and the attacker can repeat it at will to bring the system down.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | c56e022c0a27142b7b59ae6bdf45f86bf4b298a1 to < 3b53dc1c641f2884d4750fc25aaf6c36b90db606 (affected · git)c56e022c0a27142b7b59ae6bdf45f86bf4b298a1 to < fe9da1812f8697a38f7e30991d568ec199e16059 (affected · git)c56e022c0a27142b7b59ae6bdf45f86bf4b298a1 to < 21a4ddb0f5e933f372808c10b9ac704505751bb1 (affected · git)c56e022c0a27142b7b59ae6bdf45f86bf4b298a1 to < 2eb7937b5fc7fcd90eab7bebb0181214b61b9283 (affected · git)c56e022c0a27142b7b59ae6bdf45f86bf4b298a1 to < 41b70df5b38bc80967d2e0ed55cc3c3896bba781 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.4 (affected)0 to < 6.4 (unaffected · semver)6.6.103 through 6.6.* (unaffected · semver)6.12.44 through 6.12.* (unaffected · semver)6.15.11 through 6.15.* (unaffected · semver)6.16.2 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
5- https://git.kernel.org/stable/c/21a4ddb0f5e933f372808c10b9ac704505751bb1
- https://git.kernel.org/stable/c/2eb7937b5fc7fcd90eab7bebb0181214b61b9283
- https://git.kernel.org/stable/c/3b53dc1c641f2884d4750fc25aaf6c36b90db606
- https://git.kernel.org/stable/c/41b70df5b38bc80967d2e0ed55cc3c3896bba781
- https://git.kernel.org/stable/c/fe9da1812f8697a38f7e30991d568ec199e16059
Provider assertions
2Linux · cna
io_uring/net: commit partial buffers on retry
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 901479082ca0ca64682f8ea9a24750c90a0d4b54253c2fcd88949c45ba7b847f
- Ingested
- 15 Oct 2026, 23:26:24 UTC
- Source record
- Official CVE record