CVE-2026-98352 (GCVE-0-2026-98352)
Vulnerability from cvelistv5
Published
2026-10-06 08:46
Modified
2026-10-19 09:18
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: RDMA/rtrs-clt: Fix CQ pool leak when connect is interrupted The client borrows shared CQ credits in the ADDR_RESOLVED handler via ib_cq_pool_get(), before the peer is connected. create_cm() can return -ERESTARTSYS from wait_event_interruptible_timeout() without destroying the CM ID. The init_conns() and stop-and-destroy paths then call destroy_con_cq_qp() while cq is still NULL (no PUT) and only afterwards rdma_destroy_id(). CMA serializes the handler against rdma_destroy_id() with handler_mutex, but that does not order the GET against destroy_con_cq_qp(). If ADDR_RESOLVED has already passed the DESTROYING check, it can take con_mutex, GET credits, and then lose the con to kfree. Device unregister later hits WARN_ON(cq->cqe_used) in ib_cq_pool_cleanup(). Set a per-connection flag under con_mutex before CQ/QP teardown so a racing ADDR_RESOLVED cannot borrow credits after teardown has begun.
Impacted products
Vendor Product Version
Linux Linux Version: 3b89e92c2a95a39c38a3808f4528e502a39bd94d
Version: 3b89e92c2a95a39c38a3808f4528e502a39bd94d
Version: 3b89e92c2a95a39c38a3808f4528e502a39bd94d
Version: 3b89e92c2a95a39c38a3808f4528e502a39bd94d
Version: 3b89e92c2a95a39c38a3808f4528e502a39bd94d
Version: 3b89e92c2a95a39c38a3808f4528e502a39bd94d
Version: 3b89e92c2a95a39c38a3808f4528e502a39bd94d
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/infiniband/ulp/rtrs/rtrs-clt.c",
            "drivers/infiniband/ulp/rtrs/rtrs-clt.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "a82cca40139d9fcae8208901856bd5bb4051f097",
              "status": "affected",
              "version": "3b89e92c2a95a39c38a3808f4528e502a39bd94d",
              "versionType": "git"
            },
            {
              "lessThan": "74c4ed55e61f1b65ddbebc5b635d136461a1c3da",
              "status": "affected",
              "version": "3b89e92c2a95a39c38a3808f4528e502a39bd94d",
              "versionType": "git"
            },
            {
              "lessThan": "6f8020fe7465f49e234a576c04e415e9d08c7878",
              "status": "affected",
              "version": "3b89e92c2a95a39c38a3808f4528e502a39bd94d",
              "versionType": "git"
            },
            {
              "lessThan": "31024e158b45358370a0a14ed96589e6aa62d6cb",
              "status": "affected",
              "version": "3b89e92c2a95a39c38a3808f4528e502a39bd94d",
              "versionType": "git"
            },
            {
              "lessThan": "8f253d5893f991742464b9e7203c43fc08d0aa11",
              "status": "affected",
              "version": "3b89e92c2a95a39c38a3808f4528e502a39bd94d",
              "versionType": "git"
            },
            {
              "lessThan": "bf88ac4867050112a6c819c8d1a7209bf48ef427",
              "status": "affected",
              "version": "3b89e92c2a95a39c38a3808f4528e502a39bd94d",
              "versionType": "git"
            },
            {
              "lessThan": "2ae16aaa78b5edc6e6d0904c84fd9cdfb762bcda",
              "status": "affected",
              "version": "3b89e92c2a95a39c38a3808f4528e502a39bd94d",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/infiniband/ulp/rtrs/rtrs-clt.c",
            "drivers/infiniband/ulp/rtrs/rtrs-clt.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.13"
            },
            {
              "lessThan": "5.13",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.222",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.189",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.158",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.112",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.54",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.8",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.222",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.189",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.158",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.112",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.54",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.8",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/rtrs-clt: Fix CQ pool leak when connect is interrupted\n\nThe client borrows shared CQ credits in the ADDR_RESOLVED handler via\nib_cq_pool_get(), before the peer is connected. create_cm() can return\n-ERESTARTSYS from wait_event_interruptible_timeout() without destroying\nthe CM ID. The init_conns() and stop-and-destroy paths then call\ndestroy_con_cq_qp() while cq is still NULL (no PUT) and only afterwards\nrdma_destroy_id().\n\nCMA serializes the handler against rdma_destroy_id() with handler_mutex,\nbut that does not order the GET against destroy_con_cq_qp(). If\nADDR_RESOLVED has already passed the DESTROYING check, it can take\ncon_mutex, GET credits, and then lose the con to kfree. Device\nunregister later hits WARN_ON(cq-\u003ecqe_used) in ib_cq_pool_cleanup().\n\nSet a per-connection flag under con_mutex before CQ/QP teardown so a\nracing ADDR_RESOLVED cannot borrow credits after teardown has begun."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T09:18:03.073Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/a82cca40139d9fcae8208901856bd5bb4051f097"
        },
        {
          "url": "https://git.kernel.org/stable/c/74c4ed55e61f1b65ddbebc5b635d136461a1c3da"
        },
        {
          "url": "https://git.kernel.org/stable/c/6f8020fe7465f49e234a576c04e415e9d08c7878"
        },
        {
          "url": "https://git.kernel.org/stable/c/31024e158b45358370a0a14ed96589e6aa62d6cb"
        },
        {
          "url": "https://git.kernel.org/stable/c/8f253d5893f991742464b9e7203c43fc08d0aa11"
        },
        {
          "url": "https://git.kernel.org/stable/c/bf88ac4867050112a6c819c8d1a7209bf48ef427"
        },
        {
          "url": "https://git.kernel.org/stable/c/2ae16aaa78b5edc6e6d0904c84fd9cdfb762bcda"
        }
      ],
      "title": "RDMA/rtrs-clt: Fix CQ pool leak when connect is interrupted",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98352",
    "datePublished": "2026-10-06T08:46:40.151Z",
    "dateReserved": "2026-09-25T10:25:14.343Z",
    "dateUpdated": "2026-10-19T09:18:03.073Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…