7.8
HIGH CVSS 3.1
CVE-2025-38730
io_uring/net: commit partial buffers on retry
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.

INFO

Published Date :

Sept. 4, 2025, 4:15 p.m.

Last Modified :

Oct. 19, 2026, 9:10 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2025-38730 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS 3.1 HIGH [email protected]
CVSS 3.1 HIGH 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
Apply kernel updates to prevent partial buffer issues with io_uring and networking.
  • Update the Linux kernel to the latest stable version.
  • Apply the specific patch for io_uring/net buffer handling.
  • Recompile the kernel if necessary.
  • Restart affected systems.
References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-38730 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2025-38730 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-38730 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-38730 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Translated by [email protected]

    Oct. 19, 2026

    Action Type Old Value New Value
    Added Translation Title: Linux, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: io_uring/net: confirmar búferes parciales al reintentar Los búferes proporcionados por el anillo son potencialmente válidos solo dentro del único contexto de ejecución en el que fueron adquiridos. io_uring maneja esto y los invalida al reintentar. Pero en el lado de la red, si MSG_WAITALL está configurado, o si el socket es de tipo streaming y se procesó muy poco, entonces se aferrará al búfer en lugar de reciclarlo o confirmarlo. Esto es problemático por dos razones: 1) Si alguien anula el registro del anillo de búferes proporcionado antes de un reintento posterior, entonces req->buf_list ya no será válido. 2) Si múltiples sockets están usando el mismo grupo de búferes, entonces múltiples recepciones pueden consumir la misma memoria. Esto puede causar corrupción de datos en la aplicación, ya que cualquiera de las recepciones podría terminar en el mismo búfer de espacio de usuario. Solucione esto impidiendo que los reintentos parciales fijen un búfer proporcionado a través de múltiples ejecuciones, si se utilizan búferes proporcionados por el anillo.
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Oct. 15, 2026

    Action Type Old Value New Value
    Added Reference https://git.kernel.org/stable/c/21a4ddb0f5e933f372808c10b9ac704505751bb1
    Added Reference https://git.kernel.org/stable/c/2eb7937b5fc7fcd90eab7bebb0181214b61b9283
    Added Reference https://git.kernel.org/stable/c/3b53dc1c641f2884d4750fc25aaf6c36b90db606
    Added Reference https://git.kernel.org/stable/c/41b70df5b38bc80967d2e0ed55cc3c3896bba781
    Added Reference https://git.kernel.org/stable/c/fe9da1812f8697a38f7e30991d568ec199e16059
    Removed Reference https://git.kernel.org/stable/c/21a4ddb0f5e933f372808c10b9ac704505751bb1
    Removed Reference https://git.kernel.org/stable/c/2eb7937b5fc7fcd90eab7bebb0181214b61b9283
    Removed Reference https://git.kernel.org/stable/c/3b53dc1c641f2884d4750fc25aaf6c36b90db606
    Removed Reference https://git.kernel.org/stable/c/41b70df5b38bc80967d2e0ed55cc3c3896bba781
    Removed Reference https://git.kernel.org/stable/c/fe9da1812f8697a38f7e30991d568ec199e16059
    Removed Reference Type https://git.kernel.org/stable/c/21a4ddb0f5e933f372808c10b9ac704505751bb1 Types: Patch
    Removed Reference Type https://git.kernel.org/stable/c/2eb7937b5fc7fcd90eab7bebb0181214b61b9283 Types: Patch
    Removed Reference Type https://git.kernel.org/stable/c/3b53dc1c641f2884d4750fc25aaf6c36b90db606 Types: Patch
    Removed Reference Type https://git.kernel.org/stable/c/41b70df5b38bc80967d2e0ed55cc3c3896bba781 Types: Patch
    Removed Reference Type https://git.kernel.org/stable/c/fe9da1812f8697a38f7e30991d568ec199e16059 Types: Patch
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Oct. 15, 2026

    Action Type Old Value New Value
    Added SSVC {'id': 'CVE-2025-38730', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-10-15T21:52:58.598362Z'}
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jul. 30, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 17, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'c56e022c0a27142b7b59ae6bdf45f86bf4b298a1', 'lessThan': '3b53dc1c641f2884d4750fc25aaf6c36b90db606', 'versionType': 'git'}, {'status': 'affected', 'version': 'c56e022c0a27142b7b59ae6bdf45f86bf4b298a1', 'lessThan': 'fe9da1812f8697a38f7e30991d568ec199e16059', 'versionType': 'git'}, {'status': 'affected', 'version': 'c56e022c0a27142b7b59ae6bdf45f86bf4b298a1', 'lessThan': '21a4ddb0f5e933f372808c10b9ac704505751bb1', 'versionType': 'git'}, {'status': 'affected', 'version': 'c56e022c0a27142b7b59ae6bdf45f86bf4b298a1', 'lessThan': '2eb7937b5fc7fcd90eab7bebb0181214b61b9283', 'versionType': 'git'}, {'status': 'affected', 'version': 'c56e022c0a27142b7b59ae6bdf45f86bf4b298a1', 'lessThan': '41b70df5b38bc80967d2e0ed55cc3c3896bba781', 'versionType': 'git'}], 'programFiles': ['io_uring/net.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.4'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.4', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.103', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.44', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.15.11', 'versionType': 'semver', 'lessThanOrEqual': '6.15.*'}, {'status': 'unaffected', 'version': '6.16.2', 'versionType': 'semver', 'lessThanOrEqual': '6.16.*'}, {'status': 'unaffected', 'version': '6.17', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['io_uring/net.c'], 'defaultStatus': 'affected'}]
  • Initial Analysis by [email protected]

    Nov. 25, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CWE CWE-787
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.15.11 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.16 up to (excluding) 6.16.2 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.4 up to (excluding) 6.6.103 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.44
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/21a4ddb0f5e933f372808c10b9ac704505751bb1 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/2eb7937b5fc7fcd90eab7bebb0181214b61b9283 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/3b53dc1c641f2884d4750fc25aaf6c36b90db606 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/41b70df5b38bc80967d2e0ed55cc3c3896bba781 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/fe9da1812f8697a38f7e30991d568ec199e16059 Types: Patch
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Sep. 04, 2025

    Action Type Old Value New Value
    Added 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.
    Added Reference https://git.kernel.org/stable/c/21a4ddb0f5e933f372808c10b9ac704505751bb1
    Added Reference https://git.kernel.org/stable/c/2eb7937b5fc7fcd90eab7bebb0181214b61b9283
    Added Reference https://git.kernel.org/stable/c/3b53dc1c641f2884d4750fc25aaf6c36b90db606
    Added Reference https://git.kernel.org/stable/c/41b70df5b38bc80967d2e0ed55cc3c3896bba781
    Added Reference https://git.kernel.org/stable/c/fe9da1812f8697a38f7e30991d568ec199e16059
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.