Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLocal access to RDMA uverbs device
-
DeliveryCreate QP and bind type 2 MW
-
ExploitDestroy QP while binding still live
-
ExecutionQP freed with mw->qp left dangling
-
PersistInvalidate or dealloc MW triggers UAF write
-
ImpactKernel memory corruption / privilege escalation
Vulnerability Assessment
| Exploitation Conditions | Requires the RDMA/rxe (Soft-RoCE) kernel driver to be loaded and the local attacker to have access to the RDMA userspace verbs interface (e.g. /dev/infiniband/uverbs*), through which an unprivileged user can create a QP and issue IB_WR_BIND_MW for a type 2 memory window. Because IB_WR_BIND_MW is a local operation, no remote peer or network path is needed. The limiting factors are: local access only (AV:L), the rxe module being non-default and uncommon in production, and the requirement that the user can reach the uverbs device; there is no user-interaction or authentication-of-a-peer requirement, and PR:L reflects an ordinary unprivileged local account with device access. |
| Impact | Multiple signals point to a genuine but not emergency-grade local privilege issue. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N) describes a local, low-complexity, low-privilege use-after-free with full C:H/I:H/A:H impact, consistent with the description: an unprivileged local user can trigger a use-after-free write (refcount_dec plus complete()/list work) on a freed struct rxe_qp, a classic kernel LPE/memory-corruption primitive. Counter-signals temper urgency: EPSS is only 0.18% (8th percentile), there is NO CISA KEV listing, and no public exploit is referenced (the only links are the fix commits). Exploitation status is therefore 'no public exploit identified at time of analysis.' The vuln.today decision label is 'this_week,' which aligns with a patch-available local-escalation bug rather than drop-everything. A key limiting factor NOT captured by the CVSS score is that the vulnerable code lives in the RDMA/rxe (Soft-RoCE) software driver, which is not loaded in most production systems and requires the user to have access to the RDMA uverbs interface - so the real-world reachable population is far narrower than the ubiquity of the Linux kernel implies. Note also the input Tag 'Information Disclosure' conflicts with the description, which is a use-after-free WRITE / memory corruption, not a disclosure flaw; treat the tag as mislabeled. |
| Exploit ScenarioDerived | An unprivileged local user with access to the RDMA uverbs device on a host where the rxe (Soft-RoCE) driver is loaded creates a queue pair, binds a type 2 memory window to it (IB_WR_BIND_MW, a purely local operation needing no peer), then destroys the QP while the binding is still live. The kernel frees the QP despite the outstanding MW reference, leaving mw->qp dangling; later invalidating or deallocating the MW performs a use-after-free write on the freed structure, which can be leveraged for memory corruption and privilege escalation. No public exploit code is referenced at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Use-after-free write in the Linux kernel's RDMA/rxe (Soft-RoCE) driver lets a low-privileged local user with access to the uverbs device bind a type 2 memory window to a queue pair and then destroy that queue pair while the binding is still live, leaving the window's mw->qp pointer referencing freed memory. When the window is later invalidated or deallocated, the driver calls rxe_put() on the freed struct rxe_qp, performing a refcount decrement and, if it reaches zero, completion/list operations on freed kernel memory. Exploitation requires the rdma_rxe module to be loaded and local access to /dev/infiniband/uverbs* (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H); no remote peer is involved, EPSS is low at 0.18% (8th percentile), and no public exploit code was identified at time of analysis.
RemediationAI
Vendor-released patch: Linux 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6 and 7.4-rc1, delivered through the stable commits d6b13ad770812c1fe553a0c4f7b002cee87ba5ba, 9e61a2ac6590e9c42d2eeef687749781334b300f, 695ec92952acc5dbe711f82e13ac24c2f1d808db, 267e168ef9b4f9d7e4f172432567b1b754b477e2, bc9f872d3285c240a4dc18d214d896418356812c and 3990e21523c0f203bc6d5d9fcf1ad1f3d11857da (see https://git.kernel.org/stable/c/267e168ef9b4f9d7e4f172432567b1b754b477e2 and the sibling links); because the flaw is local and rxe is uncommon in production, the vendor-intended fix can be scheduled within the current patch cycle rather than as an emergency. Where Soft-RoCE is not in use, the practical workaround is to stop the rdma_rxe module from loading (module blacklist or an install rule), accepting that software RoCE functionality is lost; alternatively restrict /dev/infiniband/uverbs* to trusted users/groups via udev or device-cgroup policy, which shrinks the local attack surface but breaks unprivileged RDMA workloads. Updating to a fixed kernel remains the only complete fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
rxe is the software RoCE implementation inside the Linux RDMA subsystem. A type 2 memory window (MW) is bound to a queue pair (QP) with the local work request IB_WR_BIND_MW; rxe_do_bind_mw() takes a reference on the QP via rxe_get(qp) and caches it in mw->qp. That reference is only dropped when the window is invalidated (rxe_do_invalidate_mw() on IB_WR_LOCAL_INV) or destroyed (rxe_mw_cleanup()). The destroy-path guard rxe_qp_chk_destroy() only rejected teardown when qp->mcg_num was non-zero and ignored these MW-held references, so a QP could be destroyed while a binding was still live: __rxe_cleanup() could not drive the QP refcount to zero, took its -ETIMEDOUT path and freed the QP anyway, leaving mw->qp dangling. The later invalidate or deallocate then writes to the freed struct rxe_qp (refcount_dec, plus complete()/list work at zero) from userspace-reachable code. The root cause is an object-lifetime/refcount accounting defect in the use-after-free class (the feed left CWE unpopulated); the fix adds a counter for type 2 MWs bound to a QP and makes rxe_qp_chk_destroy() return -EBUSY while that counter is non-zero, mirroring the existing multicast-attachment check, so the window must be invalidated or deallocated first.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Local unprivileged user with RDMA uverbs access (AV:L/PR:L) triggers a deterministic use-after-free write (AC:L) yielding kernel memory corruption, so C/I/A all High.
Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).
CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Lifecycle Timeline
4DescriptionCVE.org
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.
Executive ViewAI
CVE-2026-139359 is a high-severity use-after-free vulnerability in the Linux kernel's Soft-RoCE driver, affecting organizations that use this software-based RDMA functionality. A local user with low privileges could exploit this flaw to gain kernel-level code execution, potentially leading to full system compromise. Leadership should care because this vulnerability could allow an insider or compromised account to escalate privileges and disrupt critical services, emphasizing the need for prompt patching.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
EUVD-2026-139064
GHSA-q838-64c5-x3gf
NVD
CVE.org
EPSS
Exploit-DB