Skip to content
Heist/ feed
Critical

xprtrdma: Fix bcall rep leak and unbounded peek

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: xprtrdma: Fix bcall rep leak and unbounded peek rpcrdma_is_bcall() decodes a reply's first words to decide whether the frame is a backchannel call. Two issues in that decode path let a short or malformed reply leak the receive buffer and drain the Receive queue. First, the speculative peek p = xdr_inline_decode(xdr, 0); /* five p++ reads follow */ asks xdr_inline_decode() for zero bytes, which returns xdr->p without consulting xdr->end. The five subsequent __be32 reads can then walk up to 20 bytes past the wire payload into stale regbuf contents and misclassify the reply as a backchannel call. Second, after the post-peek p = xdr_inline_decode(xdr, 3 * sizeof(*p)); if (unlikely(!p)) return true; the short-header arm returns true without calling rpcrdma_bc_receive_call(). The contract with the caller is that a true return transfers ownership of rep to the backchannel path: rpcrdma_reply_handler() if (rpcrdma_is_bcall(r_xprt, rep)) return; /* bare return, skips out_post */ ... out_post: rpcrdma_post_recvs(r_xprt, credits + ...); Because rpcrdma_bc_receive_call() never ran, no one took rep, but rpcrdma_reply_handler still bare-returns past rpcrdma_rep_put() and rpcrdma_post_recvs(). The rep, with its persistently DMA-mapped receive buffer, is orphaned on rb_all_reps and freed only at transport teardown. This completion reposts nothing, so its slot is reclaimed only when a later forward-channel reply reaches out_p

Announced Source revision 1
Original source ↗

CVE-2026-72466

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

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": "41c8f70f5a3db7e06179186b6525fd9ee1d7d314",
        "lessThan": "0cee8f9c3b14bd6dee9c4310090a7f45b89b834f",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "41c8f70f5a3db7e06179186b6525fd9ee1d7d314",
        "lessThan": "7afc2f8d2fd9394724df9eaf22ce7a71029a5fba",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "41c8f70f5a3db7e06179186b6525fd9ee1d7d314",
        "lessThan": "88b5346284a184a6b7d019912232a571d672d3e3",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "41c8f70f5a3db7e06179186b6525fd9ee1d7d314",
        "lessThan": "07aa506436be7634e381e1e1f6d0efa9efc81ecc",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "41c8f70f5a3db7e06179186b6525fd9ee1d7d314",
        "lessThan": "d7a2870dde3bb09d51d6b9c877642996ad6b92dd",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "41c8f70f5a3db7e06179186b6525fd9ee1d7d314",
        "lessThan": "118a16a18c59f7ad8084b2d13988839b669fca10",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "41c8f70f5a3db7e06179186b6525fd9ee1d7d314",
        "lessThan": "c7653d5cebc8492c77ec0415b5e9c0fb3e644bc6",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "net/sunrpc/xprtrdma/rpc_rdma.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "4.14"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "4.14",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.15.212",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.178",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.145",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.97",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.40",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.1.5",
        "versionType": "semver",
        "lessThanOrEqual": "7.1.*"
      },
      {
        "status": "unaffected",
        "version": "7.2",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "net/sunrpc/xprtrdma/rpc_rdma.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-72466

Source reference: /cveMetadata/cveId

Publisher severity

critical

Source reference: /containers/cna/metrics

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