CVE-2026-139359
7.8HighPublished Nov 30, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Local
- Complexity
- Low
- Privileges
- Low
- User action
- None
- Impact
- Full C/I/A compromise
- Weakness
- —
What an attacker gets
Local unprivileged users can trigger a use-after-free in the RDMA subsystem, leading to kernel memory corruption or privilege escalation. An attacker needs local access to the system to execute RDMA operations.
Root cause
The RDMA/rxe driver fails to track references for type 2 memory windows, allowing a queue pair to be destroyed while still referenced by a memory window.
Affected versions
Versions prior to 5.10.224, 5.15.165, 6.1.103, 6.6.43, and 6.10.2
CVSS v3.1 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Fix & remediation
Update the kernel to version 5.10.224, 5.15.165, 6.1.103, 6.6.43, 6.10.2 or later. If you cannot patch, unload the rdma_rxe kernel module if it is not required for your workload.
$ sudo apt-get update && sudo apt-get install --only-upgrade linux-image-genericAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD 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.
References
- https://git.kernel.org/stable/c/267e168ef9b4f9d7e4f172432567b1b754b477e2
- https://git.kernel.org/stable/c/3990e21523c0f203bc6d5d9fcf1ad1f3d11857da
- https://git.kernel.org/stable/c/695ec92952acc5dbe711f82e13ac24c2f1d808db
- https://git.kernel.org/stable/c/9e61a2ac6590e9c42d2eeef687749781334b300f
- https://git.kernel.org/stable/c/bc9f872d3285c240a4dc18d214d896418356812c
- https://git.kernel.org/stable/c/d6b13ad770812c1fe553a0c4f7b002cee87ba5ba
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-999907.8HighLocal attackers can trigger a use-after-free in the ALSA sound subsystem, potentially leading to privilege escalation or system crashes. This requires local access to the system and the ability to interact with the sound driver.
- CVE-2026-999967.8HighLocal attackers can trigger a use-after-free to cause a kernel panic or potentially execute code. This requires local access to a system using the NTFS filesystem driver.
- CVE-2026-999827.8HighLocal attackers can trigger a kernel crash or potentially escalate privileges by exploiting a race condition during GPU resets. This requires local access to the system and the ability to interact with the AMD GPU driver.
- CVE-2026-999837.8HighLocal attackers can gain elevated privileges or cause system instability by exploiting a race condition in the GPU memory management. This requires local access to the system to interact with the AMD GPU driver.
- CVE-2026-999867.8HighLocal attackers can gain elevated privileges or cause system instability by exploiting a race condition. This requires local access to the system to trigger the doorbell allocation race in the AMD KFD driver.
- CVE-2026-999797.8HighLocal attackers can trigger a use-after-free in the IPv6 stack, potentially leading to kernel memory corruption or privilege escalation. This requires local access to the system to trigger the race condition during interface teardown.