CVE-2026-139350

IB/rdmavt: Fix error unwind path for qp_priv_init() in rvt_create_qp()

Published Nov 30, 2026 CVSS 3.1 · 3.3 Low EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

IB/rdmavt: Fix error unwind path for qp_priv_init() in rvt_create_qp()

If driver_f.qp_priv_init() fails, execution jumps to bail_rq_wq, which
bypasses bail_qpn. Because alloc_qpn() has already succeeded at this point,
the allocated QP number is left unreleased.

Jump to bail_qpn instead to ensure the QPN is properly freed via
rvt_free_qpn().

Analysis

AI-generated

Technical impact

In the Linux kernel RDMAVT driver, when qp_priv_init fails, the intended cleanup path is bypassed, leaving an allocated Queue Pair number unreleased. This resource leak allows a failure path to consume QP numbers without freeing them, potentially exhausting the pool of available QPs and preventing new queue pair creation, which can disrupt network communication. The vulnerability is a classic memory/resource leak that can be leveraged to cause a denial of service.

Affected Systems

All Linux kernel releases that include the IB/rdmavt driver before the applied fix are affected. This affects every distribution’s kernel image that contains this driver, regardless of specific version numbers, because the impacted code was present in all kernels prior to the commit that corrected the unwind path.

Risk and Exploitability

Although the CVSS score is not disclosed, the leak poses a severe risk because it can drain a critical kernel resource. The EPSS score is unavailable and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires an attacker to invoke the qp_priv_init failure path, typically via applications that create QPs or by an administrator manipulating the driver. While no public exploit is known, the local nature and the potential for resource exhaustion make this vulnerability a significant concern.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel patch that fixes the RDMAVT backlog
  • If a kernel update is not possible, disable the IB/rdmavt driver module or remove it from the system
  • Monitor QP allocation counters or kernel logs for repeated failures or resource exhaustion patterns

Generated by OpenCVE AI on December 1, 2026 at 06:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-772
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Low

Type Values Removed Values Added
Weaknesses CWE-401
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: IB/rdmavt: Fix error unwind path for qp_priv_init() in rvt_create_qp() If driver_f.qp_priv_init() fails, execution jumps to bail_rq_wq, which bypasses bail_qpn. Because alloc_qpn() has already succeeded at this point, the allocated QP number is left unreleased. Jump to bail_qpn instead to ensure the QPN is properly freed via rvt_free_qpn().
Title IB/rdmavt: Fix error unwind path for qp_priv_init() in rvt_create_qp()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime

  • CWE-772

    Missing Release of Resource after Effective Lifetime

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:33 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM
Severity
Low
Public date
Nov 30, 2026, 1:33 PM