CVE-2026-64281 (GCVE-0-2026-64281)

Vulnerability from cvelistv5 – Published: 2026-07-25 08:49 – Updated: 2026-07-27 04:59
VLAI
Title
svcrdma: wake sq waiters when the transport closes
Summary
In the Linux kernel, the following vulnerability has been resolved: svcrdma: wake sq waiters when the transport closes Threads parked in svc_rdma_sq_wait() on sc_sq_ticket_wait or sc_send_wait can hang indefinitely in TASK_UNINTERRUPTIBLE state across transport teardown, pinning svc_xprt references and blocking svc_rdma_free(). The close path sets XPT_CLOSE before invoking xpo_detach and both wait_event predicates include an XPT_CLOSE term, but the predicates are re-evaluated only on wakeup. sc_sq_ticket_wait has no completion-driven wake path; it is advanced solely by the chained ticket handoff inside svc_rdma_sq_wait() itself. Without an explicit wake at close, parked threads never observe XPT_CLOSE, hold their svc_xprt_get reference forever, and svc_rdma_free() blocks on xpt_ref dropping to zero. Two close entry points reach this transport. Local teardown runs svc_rdma_detach() from svc_handle_xprt() -> svc_delete_xprt() -> xpo_detach() on a worker thread. A remote disconnect arrives at svc_rdma_cma_handler(), which calls svc_xprt_deferred_close(): that sets XPT_CLOSE and enqueues the transport but does not access either RDMA waitqueue, so a worker already parked in svc_rdma_sq_wait() never re-evaluates its predicate. With every worker parked on this transport, no thread is available to run the local teardown either, and the wake site there is unreachable. Introduce svc_rdma_xprt_deferred_close(), a thin svcrdma wrapper that calls svc_xprt_deferred_close() and then wakes both sc_sq_ticket_wait and sc_send_wait. Convert the svcrdma producers that called svc_xprt_deferred_close() directly: svc_rdma_cma_handler(), qp_event_handler(), svc_rdma_post_send_err(), svc_rdma_wc_send(), the sendto drop path, the rw completion error paths, and the recvfrom flush and read-list error paths. Wake both waitqueues from svc_rdma_detach() as well. The synchronous svc_xprt_close() path (backchannel ENOTCONN, device removal via svc_rdma_xprt_done) reaches detach without flowing through svc_xprt_deferred_close() and therefore does not invoke the new helper. [ cel: add svc_rdma_xprt_deferred_close() to complete the fix ]
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: ccc89b9d1ed233349cfe8d87b842e7351b74d8de , < 40eedc4253dbda0b29b7961200534dfcecb48ace (git)
Affected: ccc89b9d1ed233349cfe8d87b842e7351b74d8de , < e5248a7426030db1e126363f72afdb3b71339a5c (git)
Create a notification for this product.
Linux Linux Affected: 7.1
Unaffected: 0 , < 7.1 (semver)
Unaffected: 7.1.4 , ≤ 7.1.* (semver)
Unaffected: 7.2-rc1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "include/linux/sunrpc/svc_rdma.h",
            "net/sunrpc/xprtrdma/svc_rdma_recvfrom.c",
            "net/sunrpc/xprtrdma/svc_rdma_rw.c",
            "net/sunrpc/xprtrdma/svc_rdma_sendto.c",
            "net/sunrpc/xprtrdma/svc_rdma_transport.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "40eedc4253dbda0b29b7961200534dfcecb48ace",
              "status": "affected",
              "version": "ccc89b9d1ed233349cfe8d87b842e7351b74d8de",
              "versionType": "git"
            },
            {
              "lessThan": "e5248a7426030db1e126363f72afdb3b71339a5c",
              "status": "affected",
              "version": "ccc89b9d1ed233349cfe8d87b842e7351b74d8de",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "include/linux/sunrpc/svc_rdma.h",
            "net/sunrpc/xprtrdma/svc_rdma_recvfrom.c",
            "net/sunrpc/xprtrdma/svc_rdma_rw.c",
            "net/sunrpc/xprtrdma/svc_rdma_sendto.c",
            "net/sunrpc/xprtrdma/svc_rdma_transport.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "7.1"
            },
            {
              "lessThan": "7.1",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.4",
                  "versionStartIncluding": "7.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2-rc1",
                  "versionStartIncluding": "7.1",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsvcrdma: wake sq waiters when the transport closes\n\nThreads parked in svc_rdma_sq_wait() on sc_sq_ticket_wait or\nsc_send_wait can hang indefinitely in TASK_UNINTERRUPTIBLE state\nacross transport teardown, pinning svc_xprt references and\nblocking svc_rdma_free().\n\nThe close path sets XPT_CLOSE before invoking xpo_detach and both\nwait_event predicates include an XPT_CLOSE term, but the\npredicates are re-evaluated only on wakeup. sc_sq_ticket_wait has\nno completion-driven wake path; it is advanced solely by the\nchained ticket handoff inside svc_rdma_sq_wait() itself. Without\nan explicit wake at close, parked threads never observe\nXPT_CLOSE, hold their svc_xprt_get reference forever, and\nsvc_rdma_free() blocks on xpt_ref dropping to zero.\n\nTwo close entry points reach this transport. Local teardown runs\nsvc_rdma_detach() from svc_handle_xprt() -\u003e svc_delete_xprt() -\u003e\nxpo_detach() on a worker thread. A remote disconnect arrives at\nsvc_rdma_cma_handler(), which calls svc_xprt_deferred_close():\nthat sets XPT_CLOSE and enqueues the transport but does not\naccess either RDMA waitqueue, so a worker already parked in\nsvc_rdma_sq_wait() never re-evaluates its predicate. With every\nworker parked on this transport, no thread is available to run\nthe local teardown either, and the wake site there is\nunreachable.\n\nIntroduce svc_rdma_xprt_deferred_close(), a thin svcrdma wrapper\nthat calls svc_xprt_deferred_close() and then wakes both\nsc_sq_ticket_wait and sc_send_wait. Convert the svcrdma producers\nthat called svc_xprt_deferred_close() directly:\nsvc_rdma_cma_handler(), qp_event_handler(),\nsvc_rdma_post_send_err(), svc_rdma_wc_send(), the sendto drop\npath, the rw completion error paths, and the recvfrom flush and\nread-list error paths.\n\nWake both waitqueues from svc_rdma_detach() as well. The\nsynchronous svc_xprt_close() path (backchannel ENOTCONN, device\nremoval via svc_rdma_xprt_done) reaches detach without flowing\nthrough svc_xprt_deferred_close() and therefore does not invoke\nthe new helper.\n\n[ cel: add svc_rdma_xprt_deferred_close() to complete the fix ]"
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
          }
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-07-27T04:59:25.308Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/40eedc4253dbda0b29b7961200534dfcecb48ace"
        },
        {
          "url": "https://git.kernel.org/stable/c/e5248a7426030db1e126363f72afdb3b71339a5c"
        }
      ],
      "title": "svcrdma: wake sq waiters when the transport closes",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-64281",
    "datePublished": "2026-07-25T08:49:24.399Z",
    "dateReserved": "2026-07-19T15:36:31.777Z",
    "dateUpdated": "2026-07-27T04:59:25.308Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-64281",
      "date": "2026-07-26",
      "epss": "0.00189",
      "percentile": "0.08867"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-64281\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-07-25T10:17:08.667\",\"lastModified\":\"2026-07-27T05:16:39.533\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nsvcrdma: wake sq waiters when the transport closes\\n\\nThreads parked in svc_rdma_sq_wait() on sc_sq_ticket_wait or\\nsc_send_wait can hang indefinitely in TASK_UNINTERRUPTIBLE state\\nacross transport teardown, pinning svc_xprt references and\\nblocking svc_rdma_free().\\n\\nThe close path sets XPT_CLOSE before invoking xpo_detach and both\\nwait_event predicates include an XPT_CLOSE term, but the\\npredicates are re-evaluated only on wakeup. sc_sq_ticket_wait has\\nno completion-driven wake path; it is advanced solely by the\\nchained ticket handoff inside svc_rdma_sq_wait() itself. Without\\nan explicit wake at close, parked threads never observe\\nXPT_CLOSE, hold their svc_xprt_get reference forever, and\\nsvc_rdma_free() blocks on xpt_ref dropping to zero.\\n\\nTwo close entry points reach this transport. Local teardown runs\\nsvc_rdma_detach() from svc_handle_xprt() -\u003e svc_delete_xprt() -\u003e\\nxpo_detach() on a worker thread. A remote disconnect arrives at\\nsvc_rdma_cma_handler(), which calls svc_xprt_deferred_close():\\nthat sets XPT_CLOSE and enqueues the transport but does not\\naccess either RDMA waitqueue, so a worker already parked in\\nsvc_rdma_sq_wait() never re-evaluates its predicate. With every\\nworker parked on this transport, no thread is available to run\\nthe local teardown either, and the wake site there is\\nunreachable.\\n\\nIntroduce svc_rdma_xprt_deferred_close(), a thin svcrdma wrapper\\nthat calls svc_xprt_deferred_close() and then wakes both\\nsc_sq_ticket_wait and sc_send_wait. Convert the svcrdma producers\\nthat called svc_xprt_deferred_close() directly:\\nsvc_rdma_cma_handler(), qp_event_handler(),\\nsvc_rdma_post_send_err(), svc_rdma_wc_send(), the sendto drop\\npath, the rw completion error paths, and the recvfrom flush and\\nread-list error paths.\\n\\nWake both waitqueues from svc_rdma_detach() as well. The\\nsynchronous svc_xprt_close() path (backchannel ENOTCONN, device\\nremoval via svc_rdma_xprt_done) reaches detach without flowing\\nthrough svc_xprt_deferred_close() and therefore does not invoke\\nthe new helper.\\n\\n[ cel: add svc_rdma_xprt_deferred_close() to complete the fix ]\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"include/linux/sunrpc/svc_rdma.h\",\"net/sunrpc/xprtrdma/svc_rdma_recvfrom.c\",\"net/sunrpc/xprtrdma/svc_rdma_rw.c\",\"net/sunrpc/xprtrdma/svc_rdma_sendto.c\",\"net/sunrpc/xprtrdma/svc_rdma_transport.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"ccc89b9d1ed233349cfe8d87b842e7351b74d8de\",\"lessThan\":\"40eedc4253dbda0b29b7961200534dfcecb48ace\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"ccc89b9d1ed233349cfe8d87b842e7351b74d8de\",\"lessThan\":\"e5248a7426030db1e126363f72afdb3b71339a5c\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"include/linux/sunrpc/svc_rdma.h\",\"net/sunrpc/xprtrdma/svc_rdma_recvfrom.c\",\"net/sunrpc/xprtrdma/svc_rdma_rw.c\",\"net/sunrpc/xprtrdma/svc_rdma_sendto.c\",\"net/sunrpc/xprtrdma/svc_rdma_transport.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"7.1\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"7.1\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.4\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2-rc1\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":7.5,\"baseSeverity\":\"HIGH\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":3.9,\"impactScore\":3.6}]},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/40eedc4253dbda0b29b7961200534dfcecb48ace\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/e5248a7426030db1e126363f72afdb3b71339a5c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "suse_vex": {
      "aggregate_severity": "not set",
      "current_release_date": "2026-07-25T16:46:40Z",
      "cve": "CVE-2026-64281",
      "id": "CVE-2026-64281",
      "initial_release_date": "2026-07-25T16:46:40Z",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-64281",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-64281.json",
      "version": "2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…