{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "ae98dbf43d755b4e111fcd086e53939bef3e9a1a"
            },
            {
              "fixed": "927d96f91c582b319d104ecf50ec935a8dc29193"
            },
            {
              "fixed": "2e70ea75c7bb38a6dc212975f887310f14f7c043"
            },
            {
              "fixed": "6028b543884f8735e057ec9eea4908cd61cab230"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.12.0"
            },
            {
              "fixed": "6.18.53"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97618.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring/net: don't overconsume buffers when using MSG_TRUNC\n\nWhen a recv/recvmsg is issued with MSG_TRUNC and the incoming packet is\nlarger than the provided buffer, the net layer returns the full length\nof the packet rather than the number of bytes actually copied into the\nbuffer.  As a result, io_uring advances more of the provided buffer ring\nthan was actually filled.  Use the actual filled region size to consume\nthe buffer, but still return the full size to preserve MSG_TRUNC\nsemantics.\n\nTake care with multishot, because that seems to already truncate the\nconsumption based on the available payload size.\n\nThis was reported in https://github.com/axboe/liburing/issues/1619.\n\n[axboe: fold in size_t unsigned fix]",
  "id": "CVE-2026-97618",
  "modified": "2026-09-27T03:30:23.899486841Z",
  "published": "2026-09-25T10:22:25.049Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2e70ea75c7bb38a6dc212975f887310f14f7c043"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6028b543884f8735e057ec9eea4908cd61cab230"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/927d96f91c582b319d104ecf50ec935a8dc29193"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97618.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-97618"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "io_uring/net: don't overconsume buffers when using MSG_TRUNC"
}