Description
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.
Published: 2026-10-06
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Resource Exhaustion / Denial of Service
Action: Apply Patch
AI Analysis

Impact

The Linux kernel’s RDMA rtrs-clt client module contains a race condition that allows a connection handler to acquire Completion Queue credits before the remote peer is fully connected. If the connection attempt is interrupted, the client may skip properly freeing those credits, causing a leak in the CQ pool. Over time the leaked credits could accumulate, triggering a WARN_ON during cleanup and potentially exhausting kernel resources, which degrades performance or leads to a denial of service.

Affected Systems

All Linux systems running a kernel that includes the unpatched RDMA rtrs-clt client module are affected. The vulnerability is tied to the general Linux kernel, not a particular distribution, so any kernel version prior to the patch can be impacted.

Risk and Exploitability

The CVSS score of 5.5 indicates moderate severity, while the EPSS score of < 1% reflects a low likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog, suggesting no public exploitation. Based on the description, it is inferred that an attacker could exploit this race condition by repeatedly initiating and aborting RDMA connections to trigger the leak; the attack could be local if the attacker controls a process that uses the RDMA client, or remote if the RDMA service is exposed to untrusted clients. Successful exploitation would lead to resource exhaustion and possible denial of service.

Generated by OpenCVE AI on October 11, 2026 at 04:29 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that includes the patch that serializes the CQ credit acquisition and teardown sequence to eliminate the race condition.
  • If RDMA functionality is not required, unload or blacklist the rtrs-clt module permanently, removing the code path that could trigger the CQ pool leak.
  • After updating the kernel or removing the module, restart the system to ensure the changes take effect and monitor the kernel logs for any "WARN_ON(cq->cqe_used)" messages to confirm that no further leaks occur.

Generated by OpenCVE AI on October 11, 2026 at 04:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4841-1 linux security update
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6568-1 linux security update
Ubuntu USN Ubuntu USN USN-8961-1 Linux kernel vulnerabilities
History

Sun, 11 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-772
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Tue, 06 Oct 2026 19:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362
CWE-400

Tue, 06 Oct 2026 14:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362
CWE-400

Tue, 06 Oct 2026 09:00:00 +0000

Type Values Removed Values Added
Description 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.
Title RDMA/rtrs-clt: Fix CQ pool leak when connect is interrupted
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-19T09:18:03.073Z

Reserved: 2026-09-25T10:25:14.343Z

Link: CVE-2026-98352

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-06T09:18:28.587

Modified: 2026-10-19T10:18:37.897

Link: CVE-2026-98352

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-06T00:00:00Z

Links: CVE-2026-98352 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-11T04:30:17Z

Weaknesses
  • CWE-772

    Missing Release of Resource after Effective Lifetime