Skip to content
Heist/ feed
High

io_uring/kbuf: reallocate buf lists on upgrade

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: io_uring/kbuf: reallocate buf lists on upgrade IORING_REGISTER_PBUF_RING can reuse an old struct io_buffer_list if it was created for legacy selected buffer and has been emptied. It violates the requirement that most of the field should stay stable after publish. Always reallocate it instead.

Announced Group revision 1
Original source ↗

CVE-2025-21836

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-21836

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": "2fcabce2d7d34f69a888146dab15b36a917f09d4",
        "lessThan": "146a185f6c05ee263db715f860620606303c4633",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "2fcabce2d7d34f69a888146dab15b36a917f09d4",
        "lessThan": "7d0dc28dae836caf7645fef62a10befc624dd17b",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "2fcabce2d7d34f69a888146dab15b36a917f09d4",
        "lessThan": "2a5febbef40ce968e295a7aeaa5d5cbd9e3e5ad4",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "2fcabce2d7d34f69a888146dab15b36a917f09d4",
        "lessThan": "8802766324e1f5d414a81ac43365c20142e85603",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "io_uring/kbuf.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "5.19"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "5.19",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.6.79",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.16",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.13.4",
        "versionType": "semver",
        "lessThanOrEqual": "6.13.*"
      },
      {
        "status": "unaffected",
        "version": "6.14",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "io_uring/kbuf.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2025-21836

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

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