Description
In the Linux kernel, the following vulnerability has been resolved:

RDMA/counter: Fix num_counters leak on bind_qp failure in alloc_and_bind()

When __rdma_counter_bind_qp() fails in alloc_and_bind(), the error path
jumps to err_mode which frees the counter without decrementing
port_counter->num_counters. The only place that decrements is
rdma_counter_free(), which is unreachable since the counter was never
successfully bound.

This leak accumulates across repeated failures, permanently preventing
the port from switching to AUTO mode (-EBUSY in __counter_set_mode())
and blocking the MANUAL→NONE auto-revert in rdma_counter_free(). When
the mode was NONE before the call, the MANUAL mode set by
__counter_set_mode() also leaks since the revert logic is never
reached.

Add an err_bind label between the num_counters increment and the
existing err_mode label. It decrements num_counters and mirrors the
MANUAL→NONE revert from rdma_counter_free(), ensuring the port state
is fully restored on bind failure.
Published: 2026-09-24
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Immediate Patch
AI Analysis

Impact

The Linux kernel RDMA counter subsystem contains a resource management flaw. When __rdma_counter_bind_qp() fails during the alloc_and_bind() routine, the error path frees the counter without decrementing port_counter->num_counters. The only place that decrements this counter is in rdma_counter_free(), a path that is unreachable in this failure case. Repeated failures cause num_counters to grow, preventing the RDMA port from switching to AUTO mode, blocking normal manual‑to‑none mode reverts, and ultimately locking the port into a permanent busy state. This results in a denial of RDMA traffic for the affected port until the counter state is reset, for example by rebooting the system or applying the patch that restores the counter decrement.

Affected Systems

The flaw is present in the Linux kernel's RDMA implementation; any kernel that has the unpatched RDMA counter code is vulnerable. Systems that enable RDMA over InfiniBand, RoCE, or RDMA over TCP—often used in high‑performance compute, storage, or networking environments—are at risk if their RDMA stack is actively used. The specific kernel versions affected are not listed in the advisory, but the fix is contained in commits 4fbc823 and da95cb0, so kernels lacking those changes remain vulnerable.

Risk and Exploitability

The CVSS score of 5.5 indicates moderate severity, and the EPSS score is lower than 1 %, implying a low probability of exploitation in the wild. The exact attack vector is not explicitly stated in the description; it is inferred that triggering repeated bind failures would likely require local access or the ability to influence RDMA configuration, but no remote exploitation vector is described. There are currently no known public exploits, and the vulnerability is not listed in the CISA KEV catalog. The weakness corresponds to CWE‑911 (Improper Resource Management), which governs the leak of a resource leading to service interruption.

Generated by OpenCVE AI on October 1, 2026 at 17:26 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the kernel to a version that includes commits 4fbc823 and da95cb0, which restore the decrement of num_counters on bind failure and address the CWE‑911 resource‑management flaw.
  • If an update cannot be performed immediately, apply the provided patch to the rdma counter source code so that an err_bind label is inserted, mirroring the manual‑to‑none revert logic and ensuring counter restoration in the failure case. This corrects the CWE‑911 issue.
  • Monitor RDMA port status; if a port remains in EBUSY after repeated bind attempts, restart the RDMA service or reboot the host to clear the stale counter state. Consider reviewing RDMA configuration to limit undue bind failures and reduce the risk of accidental denial of service.

Generated by OpenCVE AI on October 1, 2026 at 17:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 21 Oct 2026 13:15:00 +0000


Thu, 01 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-775

Wed, 30 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-911
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

Low


Fri, 25 Sep 2026 07:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-775

Thu, 24 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: RDMA/counter: Fix num_counters leak on bind_qp failure in alloc_and_bind() When __rdma_counter_bind_qp() fails in alloc_and_bind(), the error path jumps to err_mode which frees the counter without decrementing port_counter->num_counters. The only place that decrements is rdma_counter_free(), which is unreachable since the counter was never successfully bound. This leak accumulates across repeated failures, permanently preventing the port from switching to AUTO mode (-EBUSY in __counter_set_mode()) and blocking the MANUAL→NONE auto-revert in rdma_counter_free(). When the mode was NONE before the call, the MANUAL mode set by __counter_set_mode() also leaks since the revert logic is never reached. Add an err_bind label between the num_counters increment and the existing err_mode label. It decrements num_counters and mirrors the MANUAL→NONE revert from rdma_counter_free(), ensuring the port state is fully restored on bind failure.
Title RDMA/counter: Fix num_counters leak on bind_qp failure in alloc_and_bind()
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-21T12:52:48.541Z

Reserved: 2026-09-24T16:01:01.149Z

Link: CVE-2026-97477

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-24T17:17:25.063

Modified: 2026-10-21T13:21:10.067

Link: CVE-2026-97477

cve-icon Redhat

Severity : Low

Publid Date: 2026-09-24T00:00:00Z

Links: CVE-2026-97477 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-01T17:30:10Z

Weaknesses
  • CWE-911

    Improper Update of Reference Count