Skip to content
Heist/ feed
Critical

svcrdma: Fix offset arithmetic in read_chunk_range

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: svcrdma: Fix offset arithmetic in read_chunk_range svc_rdma_read_chunk_range() walks a Read chunk's segment list to build a sub-range starting at byte offset and spanning length bytes for a Position-Zero or Call chunk. Two arithmetic defects in the per-segment loop produce wrong DMA lengths and a u32 underflow: pcl_for_each_segment(segment, chunk) { if (offset > segment->rs_length) { offset -= segment->rs_length; continue; } dummy.rs_handle = segment->rs_handle; dummy.rs_length = min_t(u32, length, segment->rs_length) - offset; dummy.rs_offset = segment->rs_offset + offset; First, the skip predicate uses '>' instead of '>='. When offset equals the segment's full rs_length, the segment is fully consumed and should be skipped, but the loop falls through into the body. The resulting dummy.rs_length is min_t(u32, length, rs_length) - rs_length, which underflows to a near-UINT_MAX u32 when length is smaller than rs_length, or is zero otherwise. Second, the length formula subtracts offset from the min_t() result rather than from segment->rs_length before the cap. For offset > 0 the segment's residual is rs_length - offset, not rs_length, so the cap must be applied to the residual. With the current bracketing, whenever length is smaller than rs_length - offset the per-segment length becomes length - offset instead of length, silently dropping offset bytes from the rebuilt chunk. Combined with the boundary case above

Announced Group revision 1
Original source ↗

CVE-2026-89533

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

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": "d7cc73972661be4a02a1b09f1d9b3283c6c05154",
        "lessThan": "10873311f91db9454e2fadbf9866bc819e0646d9",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "d7cc73972661be4a02a1b09f1d9b3283c6c05154",
        "lessThan": "addbf02dfe3b25e7e38e03bbd4e2a6ed86a14be7",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "d7cc73972661be4a02a1b09f1d9b3283c6c05154",
        "lessThan": "cba8543c18cf42fd80fd63effb6df6ff4f7e73ce",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "d7cc73972661be4a02a1b09f1d9b3283c6c05154",
        "lessThan": "6ee4dc7476b3abc92ec1d444533a559f33f59561",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "d7cc73972661be4a02a1b09f1d9b3283c6c05154",
        "lessThan": "a46b35f213c2426f5d6a0458a8f7e873fc59cdfd",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "d7cc73972661be4a02a1b09f1d9b3283c6c05154",
        "lessThan": "4493c96bbd0068fadf69cbae8d13426202e34cdc",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "d7cc73972661be4a02a1b09f1d9b3283c6c05154",
        "lessThan": "4a44c140cc2f3643a39e258bb0c0ab9d0f494f5e",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "net/sunrpc/xprtrdma/svc_rdma_rw.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.11"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "5.11",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.15.221",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.188",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.157",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.109",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.50",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.4",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "net/sunrpc/xprtrdma/svc_rdma_rw.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-89533

Source reference: /cveMetadata/cveId

Publisher severity

critical

Source reference: /containers/cna/metrics

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