Skip to content
Heist/ feed
High

xprtrdma: Fix ep kref imbalance on ADDR_CHANGE

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: xprtrdma: Fix ep kref imbalance on ADDR_CHANGE rpcrdma_cm_event_handler() falls through to the disconnected: label on RDMA_CM_EVENT_ADDR_CHANGE and calls rpcrdma_ep_put() with no matching get when the event arrives before RDMA_CM_EVENT_ESTABLISHED. The kref then underflows during connect teardown and rpcrdma_xprt_disconnect() operates on a freed ep. Reference counts across a normal connection lifecycle: rpcrdma_ep_create() kref_init ->1 rpcrdma_xprt_connect() ep_get ->2 (before post_recvs) RDMA_CM_EVENT_ESTABLISHED ep_get ->3 RDMA_CM_EVENT_DISCONNECTED ep_put ->2 rpcrdma_xprt_drain() ep_put ->1 rpcrdma_xprt_disconnect() tail ep_put ->0 (ep_destroy) The connect-time get in rpcrdma_xprt_connect(), taken just before rpcrdma_post_recvs() "while there are outstanding Receives," is balanced by rpcrdma_xprt_drain. ADDR_CHANGE before ESTABLISHED has no get to consume, so its put drops the count to 1 and the drain put then frees the ep while rpcrdma_xprt_disconnect() still holds a pointer to it. Fix by dispatching on the prior re_connect_status via xchg(): for prev == 0 (pre-ESTABLISHED) wake the connect waiter and return with no put; for prev == 1 call rpcrdma_force_disconnect() and return. The case-1 arm relies on the subsequent RDMA_CM_EVENT_DISCONNECTED event -- reliably delivered when rdma_disconnect() is called on a still-connected cm_id -- to balance the ESTABLISHED get; rpcrdma_xprt_drain() continues to balanc

Announced Source revision 1
Original source ↗

CVE-2026-72469

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

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": "2acc5cae292355f5f18ad377a2a966e7f03c8fec",
        "lessThan": "a562485c359d0b20a99d466b042af9c2f7ff3326",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "2acc5cae292355f5f18ad377a2a966e7f03c8fec",
        "lessThan": "cfd1bab66b042da7a778786685125656c695931b",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "2acc5cae292355f5f18ad377a2a966e7f03c8fec",
        "lessThan": "d0479c2b12974aa188b10d221a5770126b118b6d",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "2acc5cae292355f5f18ad377a2a966e7f03c8fec",
        "lessThan": "ffc07790539736a5d029f6a3c966b46c529f93a8",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "2acc5cae292355f5f18ad377a2a966e7f03c8fec",
        "lessThan": "af9b65b29af341932625c4283dc7a23cdb62688a",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "2fcbf07a4f23174a45e015b62a8e42ddbc2e53ef",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "5.7.9",
        "lessThan": "5.8",
        "versionType": "semver"
      }
    ],
    "programFiles": [
      "net/sunrpc/xprtrdma/verbs.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.8"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "5.8",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.6.160",
        "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/verbs.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-72469

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

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