CVE-2026-139359

HighCVSS 7.8/10Last modified Dec 1, 2026

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.

Metrics

CVSS 3.1 7.8/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Dec 1, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-139366.5Inappropriate implementation in Passwords in Google Chrome on Android prior to 150.0.7871.47 allowed a remote attacker to obtain potentiallyCVE-2026-139360In the Linux kernel, the following vulnerability has been resolved: spi: omap2-mcspi: handle DMA setup failures The DMA paths ignore failuCVE-2026-1393617.8In the Linux kernel, the following vulnerability has been resolved: ALSA: pcm: Add refcount for races between drain and unlink We added a CVE-2026-139362In the Linux kernel, the following vulnerability has been resolved: irqchip/mips-gic: Fix recursive acquisition of gic_lock in gic_set_affiCVE-2026-139363In the Linux kernel, the following vulnerability has been resolved: irqchip/gic-v3: Don't register a redistributor that was never counted CVE-2026-139364In the Linux kernel, the following vulnerability has been resolved: irqchip/mst-intc: Validate the DT interrupt range The driver takes an CVE-2026-1393657.0In the Linux kernel, the following vulnerability has been resolved: irqchip/gic-v3-its: Clear vpt_page after freeing the pending table itsCVE-2026-139366In the Linux kernel, the following vulnerability has been resolved: IB/IPoIB: Cancel normal flush work on device stop ipoib_ib_dev_flush_nCVE-2026-139367In the Linux kernel, the following vulnerability has been resolved: net: axienet: free outstanding TX buffers in axienet_dma_bd_release() CVE-2026-139368In the Linux kernel, the following vulnerability has been resolved: scsi: libsas: Fix out-of-bounds memcpy() in sas_ssp_task_response() ThCVE-2026-139369In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: use skb_share_check() in the loopback selftest hook The looCVE-2026-139376.5Insufficient policy enforcement in Passwords in Google Chrome prior to 150.0.7871.47 allowed a remote attacker who had compromised the rende
CVE-2026-139359: High severity, CVSS 7.8 | Vulnix