{
  "id": "CVE-2025-38730",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38730",
  "published_at": "2025-09-04T15:33:27.691Z",
  "title": "io_uring/net: commit partial buffers on retry",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring/net: commit partial buffers on retry\n\nRing provided buffers are potentially only valid within the single\nexecution context in which they were acquired. io_uring deals with this\nand invalidates them on retry. But on the networking side, if\nMSG_WAITALL is set, or if the socket is of the streaming type and too\nlittle was processed, then it will hang on to the buffer rather than\nrecycle or commit it. This is problematic for two reasons:\n\n1) If someone unregisters the provided buffer ring before a later retry,\n   then the req-\u003ebuf_list will no longer be valid.\n\n2) If multiple sockers are using the same buffer group, then multiple\n   receives can consume the same memory. This can cause data corruption\n   in the application, as either receive could land in the same\n   userspace buffer.\n\nFix this by disallowing partial retries from pinning a provided buffer\nacross multiple executions, if ring provided buffers are used.",
  "cwe": "CWE-787",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= c56e022c0a27142b7b59ae6bdf45f86bf4b298a1, \u003c 3b53dc1c641f2884d4750fc25aaf6c36b90db606",
          "\u003e= c56e022c0a27142b7b59ae6bdf45f86bf4b298a1, \u003c fe9da1812f8697a38f7e30991d568ec199e16059",
          "\u003e= c56e022c0a27142b7b59ae6bdf45f86bf4b298a1, \u003c 21a4ddb0f5e933f372808c10b9ac704505751bb1",
          "\u003e= c56e022c0a27142b7b59ae6bdf45f86bf4b298a1, \u003c 2eb7937b5fc7fcd90eab7bebb0181214b61b9283",
          "\u003e= c56e022c0a27142b7b59ae6bdf45f86bf4b298a1, \u003c 41b70df5b38bc80967d2e0ed55cc3c3896bba781"
        ],
        "fixed_in": [
          "3b53dc1c641f2884d4750fc25aaf6c36b90db606",
          "fe9da1812f8697a38f7e30991d568ec199e16059",
          "21a4ddb0f5e933f372808c10b9ac704505751bb1",
          "2eb7937b5fc7fcd90eab7bebb0181214b61b9283",
          "41b70df5b38bc80967d2e0ed55cc3c3896bba781"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.4"
        ],
        "fixed_in": [
          "0",
          "6.6.103",
          "6.12.44",
          "6.15.11",
          "6.16.2",
          "6.17"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 3b53dc1c641f2884d4750fc25aaf6c36b90db606 or fe9da1812f8697a38f7e30991d568ec199e16059 or 21a4ddb0f5e933f372808c10b9ac704505751bb1 or 2eb7937b5fc7fcd90eab7bebb0181214b61b9283 or 41b70df5b38bc80967d2e0ed55cc3c3896bba781 or later.",
      "Upgrade Linux to 0 or 6.6.103 or 6.12.44 or 6.15.11 or 6.16.2 or 6.17 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
