Skip to main content
No exploitation reportedFix availableAwaiting NVD analysis

CVE-2026-139359

RDMA/rxe: refuse to destroy a QP with type 2 MWs still bound

No exploitation reported by the sources we read.

  • Published2026-11-30
  • Fixed in7.3.6 · 6.18.65 · 6.12.119 · 6.6.163 · 6.1.193

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

In the Linux kernel, the following vulnerability has been resolved: RDMA/rxe: refuse to destroy a QP with type 2 MWs still bound Binding a type 2 memory window takes a reference on the QP: rxe_do_bind_mw() does rxe_get(qp) and stores it in mw->qp. That reference is released only when the window is invalidated (rxe_do_invalidate_mw() on IB_WR_LOCAL_INV) or the window itself is destroyed (rxe_mw_cleanup()). rxe_qp_chk_destroy() does not account for those references -- it only refuses when qp->mcg_num is non-zero. So an unprivileged user can bind a type 2 MW to a QP and then destroy the QP while the binding is still live. __rxe_cleanup() cannot drop the QP refcount to zero (the MW still holds a reference), hits its -ETIMEDOUT path, and frees the QP anyway; mw->qp is left dangling. When the MW is later invalidated or deallocated, rxe_mw_cleanup()/rxe_do_invalidate_mw() do rxe_put(mw->qp) on the freed struct rxe_qp -- a use-after-free write (refcount_dec, and complete()/list work if it reaches zero) reachable from userspace. IB_WR_BIND_MW is a local operation, so no peer is required. Track the number of type 2 MWs bound to a QP and refuse to destroy the QP while that count is non-zero, returning -EBUSY exactly as the existing multicast-attachment check does. The window must be invalidated or deallocated, which drops the reference and the count, before the QP can be destroyed.

Timeline

dates in UTC
  1. 2026-11-3013:34CVE publishedCNA

Versions per branch

OSV
Linux kernel
BranchAffectedFixed in
7.3≥ 6.19.0, < 7.3.67.3.6
6.x≥ 6.13.0, < 6.18.656.18.65
6.x≥ 6.7.0, < 6.12.1196.12.119
6.x≥ 6.2.0, < 6.6.1636.6.163
6.1≥ 4.8.0, < 6.1.1936.1.193

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA2 products

As Linux, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • Linuxother versions: not affected

    https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

    Affected
    • ≥ 8700e3e7c4857d28ebaa824509934556da0b3e76, < 695ec92952acc5dbe711f82e13ac24c2f1d808dbfixed in 695ec92952acc5dbe711f82e13ac24c2f1d808dbgit
    • ≥ 8700e3e7c4857d28ebaa824509934556da0b3e76, < 267e168ef9b4f9d7e4f172432567b1b754b477e2fixed in 267e168ef9b4f9d7e4f172432567b1b754b477e2git
    • ≥ 8700e3e7c4857d28ebaa824509934556da0b3e76, < bc9f872d3285c240a4dc18d214d896418356812cfixed in bc9f872d3285c240a4dc18d214d896418356812cgit
    • ≥ 8700e3e7c4857d28ebaa824509934556da0b3e76, < 3990e21523c0f203bc6d5d9fcf1ad1f3d11857dafixed in 3990e21523c0f203bc6d5d9fcf1ad1f3d11857dagit
    • ≥ 8700e3e7c4857d28ebaa824509934556da0b3e76, < d6b13ad770812c1fe553a0c4f7b002cee87ba5bafixed in d6b13ad770812c1fe553a0c4f7b002cee87ba5bagit
    • ≥ 8700e3e7c4857d28ebaa824509934556da0b3e76, < 9e61a2ac6590e9c42d2eeef687749781334b300ffixed in 9e61a2ac6590e9c42d2eeef687749781334b300fgit
  • Linuxother versions: affected

    https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

    Affected
    • = 4.8no fix stated

    Not affected < 4.8 · ≥ 6.1.193, ≤ 6.1.* · ≥ 6.6.163, ≤ 6.6.* · ≥ 6.12.119, ≤ 6.12.* · ≥ 6.18.65, ≤ 6.18.* · ≥ 7.3.6, ≤ 7.3.* · ≥ 7.4-rc1

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-11-30

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • linuxDebian:14all versions · fixed in 7.3.6-1
  • linuxDebian:13all versions · no fixed version listed
  • linuxDebian:12all versions · no fixed version listed

Full record on NVD

Fix

  1. Update Linux kernel to 7.3.6 · 6.18.65 · 6.12.119 · 6.6.163 · 6.1.193

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
2026-11-30
Last modified
2026-11-30
NVD status
Received
GitHub advisory
GHSA-q838-64c5-x3gf

Frequently asked questions

What is CVE-2026-139359?

In the Linux kernel, the following vulnerability has been resolved: RDMA/rxe: refuse to destroy a QP with type 2 MWs still bound Binding a type 2 memory window takes a reference on the QP: rxe_do_bind_mw() does rxe_get(qp) and stores it in mw->qp. That reference is released only when the window is invalidated (rxe_do_invalidate_mw() on IB_WR_LOCAL_INV) or the window itself is destroyed (rxe_mw_cleanup()). rxe_qp_chk_destroy() does not account for those references -- it only refuses when qp->mcg_num is non-zero. So an unprivileged user can bind a type 2 MW to a QP and then destroy the QP while the binding is still live. __rxe_cleanup() cannot drop the QP refcount to zero (the MW still holds a reference), hits its -ETIMEDOUT path, and frees the QP anyway; mw->qp is left dangling. When the MW is later invalidated or deallocated, rxe_mw_cleanup()/rxe_do_invalidate_mw() do rxe_put(mw->qp) on the freed struct rxe_qp -- a use-after-free write (refcount_dec, and complete()/list work if it reaches zero) reachable from userspace. IB_WR_BIND_MW is a local operation, so no peer is required. Track the number of type 2 MWs bound to a QP and refuse to destroy the QP while that count is non-zero, returning -EBUSY exactly as the existing multicast-attachment check does. The window must be invalidated or deallocated, which drops the reference and the count, before the QP can be destroyed.

Is CVE-2026-139359 actively exploited?

Active exploitation of CVE-2026-139359 has not been confirmed.

What is the CVSS score for CVE-2026-139359?

CVE-2026-139359 has a CVSS v3 base score of 7.8 (High severity), with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Running Linux kernel? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record