# CVE-2026-139350: IB/rdmavt: Fix error unwind path for qp_priv_init() in rvt_create_qp()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2026-11-30T13:33:56.943Z
- Modified: 2026-11-30T14:19:00.343Z
- Assigned by: Linux

## 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().

(As written by CVE List.)

## Affected

- Linux Linux: from 5190f052a3654aa1120ea4f9ff3bfac430459893 before 5827c73a234d5a85f654abc77fd64a6dcf013a35; from 5190f052a3654aa1120ea4f9ff3bfac430459893 before 57b0e12815d05b9a0e14db601988010f2ba1d909; from 5190f052a3654aa1120ea4f9ff3bfac430459893 before 90d0bb03edf63dfb681fa53e2eca134e6ec13666; from 5190f052a3654aa1120ea4f9ff3bfac430459893 before 95250350cbed7aff63b3bf0eaed0fedd6a9cd9e7; from 5190f052a3654aa1120ea4f9ff3bfac430459893 before e217a699b7480ff87708240968a317ecb4074d04; from 5190f052a3654aa1120ea4f9ff3bfac430459893 before acbd2099dca018d891315fe9fe9ddebc1d2acc66; from 5190f052a3654aa1120ea4f9ff3bfac430459893 before dd36137b218ad6f18ed15e6279412d7fc160980c; 5.0 (not affected: before 5.0; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.119 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/5827c73a234d5a85f654abc77fd64a6dcf013a35>
- <https://git.kernel.org/stable/c/57b0e12815d05b9a0e14db601988010f2ba1d909>
- <https://git.kernel.org/stable/c/90d0bb03edf63dfb681fa53e2eca134e6ec13666>
- <https://git.kernel.org/stable/c/95250350cbed7aff63b3bf0eaed0fedd6a9cd9e7>
- <https://git.kernel.org/stable/c/e217a699b7480ff87708240968a317ecb4074d04>
- <https://git.kernel.org/stable/c/acbd2099dca018d891315fe9fe9ddebc1d2acc66>
- <https://git.kernel.org/stable/c/dd36137b218ad6f18ed15e6279412d7fc160980c>

## Sources

- CVE List: [CVE-2026-139350](https://www.cve.org/CVERecord?id=CVE-2026-139350), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139350](https://nvd.nist.gov/vuln/detail/CVE-2026-139350), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139350 · Whole record: https://cve.day/CVE-2026-139350.json · Rebuilt by cve.day 2026-11-30T14:33:03.546Z
