{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "5190f052a3654aa1120ea4f9ff3bfac430459893"
            },
            {
              "fixed": "5827c73a234d5a85f654abc77fd64a6dcf013a35"
            },
            {
              "fixed": "57b0e12815d05b9a0e14db601988010f2ba1d909"
            },
            {
              "fixed": "90d0bb03edf63dfb681fa53e2eca134e6ec13666"
            },
            {
              "fixed": "95250350cbed7aff63b3bf0eaed0fedd6a9cd9e7"
            },
            {
              "fixed": "e217a699b7480ff87708240968a317ecb4074d04"
            },
            {
              "fixed": "acbd2099dca018d891315fe9fe9ddebc1d2acc66"
            },
            {
              "fixed": "dd36137b218ad6f18ed15e6279412d7fc160980c"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.0.0"
            },
            {
              "fixed": "5.15.226"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.119"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.65"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139350.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nIB/rdmavt: Fix error unwind path for qp_priv_init() in rvt_create_qp()\n\nIf driver_f.qp_priv_init() fails, execution jumps to bail_rq_wq, which\nbypasses bail_qpn. Because alloc_qpn() has already succeeded at this point,\nthe allocated QP number is left unreleased.\n\nJump to bail_qpn instead to ensure the QPN is properly freed via\nrvt_free_qpn().",
  "id": "CVE-2026-139350",
  "modified": "2026-11-30T14:45:27.133750819Z",
  "published": "2026-11-30T13:33:56.943Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/57b0e12815d05b9a0e14db601988010f2ba1d909"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5827c73a234d5a85f654abc77fd64a6dcf013a35"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/90d0bb03edf63dfb681fa53e2eca134e6ec13666"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/95250350cbed7aff63b3bf0eaed0fedd6a9cd9e7"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/acbd2099dca018d891315fe9fe9ddebc1d2acc66"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/dd36137b218ad6f18ed15e6279412d7fc160980c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e217a699b7480ff87708240968a317ecb4074d04"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139350.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139350"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "IB/rdmavt: Fix error unwind path for qp_priv_init() in rvt_create_qp()"
}