Skip to content
Heist/ feed
Unrated

io_uring/net: don't overconsume buffers when using MSG_TRUNC

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: io_uring/net: don't overconsume buffers when using MSG_TRUNC When a recv/recvmsg is issued with MSG_TRUNC and the incoming packet is larger than the provided buffer, the net layer returns the full length of the packet rather than the number of bytes actually copied into the buffer. As a result, io_uring advances more of the provided buffer ring than was actually filled. Use the actual filled region size to consume the buffer, but still return the full size to preserve MSG_TRUNC semantics. Take care with multishot, because that seems to already truncate the consumption based on the available payload size. This was reported in https://github.com/axboe/liburing/issues/1619. [axboe: fold in size_t unsigned fix]

Announced Group revision 1
Original source ↗

CVE-2026-97618

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-2026-97618

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": "ae98dbf43d755b4e111fcd086e53939bef3e9a1a",
        "lessThan": "41d24d2fb168fa05fcaf9ec4e55478411dbbf8e1",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "ae98dbf43d755b4e111fcd086e53939bef3e9a1a",
        "lessThan": "927d96f91c582b319d104ecf50ec935a8dc29193",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "ae98dbf43d755b4e111fcd086e53939bef3e9a1a",
        "lessThan": "2e70ea75c7bb38a6dc212975f887310f14f7c043",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "ae98dbf43d755b4e111fcd086e53939bef3e9a1a",
        "lessThan": "6028b543884f8735e057ec9eea4908cd61cab230",
        "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.12"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.12",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.12.112",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.53",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.7",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "io_uring/net.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-97618

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

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