Skip to content
Heist/ feed
High

io_uring/net: commit partial buffers on retry

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2025-38730

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2025-38730

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "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"
  }
]
Related CVEs
CVE-2025-38730

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#30613 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement