CVE-2026-139664
CVE-2026-139664 — RDMA/uverbs: Drop restrack ref on ib_init_ucontext() failure in GET_CONTEXT
In the Linux kernel, the following vulnerability has been resolved: RDMA/uverbs: Drop restrack ref on ib_init_ucontext() failure in GET_CONTEXT The UVERBS_METHOD_GET_CONTEXT handler allocates the ucontext via ib_alloc_ucontext(), which calls rdma_restrack_new() (initialising the kref to 1) and rdma_restrack_set_name(NULL), the latter attaching the current task and taking a task_struct reference. When ib_init_ucontext() subsequently fails, the error path only does: kfree(attrs->context); attrs->context = NULL; without first calling rdma_restrack_put() on &attrs->context->res. The kref therefore never reaches zero, restrack_release() is never invoked, and put_task_struct() is never called, so the task_struct reference taken during set_name is leaked permanently. A local user with access to an RDMA device can repeat this path (e.g. by hitting an RDMA cgroup limit or supplying invalid ucaps) and leak one task_struct reference per attempt, eventually preventing those processes from being reaped or exhausting memory. The legacy ib_uverbs_get_context() path already handles this correctly at its err_ucontext label, where rdma_restrack_put() precedes kfree(). Mirror that ordering here.
Published Updated Sources: NVD, Linux (CNA), GitHub, GitHub Security Advisory
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
n/a
FIRST has not published a score
CVSS base
Unscored
no source published a base score
Remediation
The vendor's own words where we have them.
Upgrade Linux to a fixed release (0 to < 5.6). Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Prioritize based on EPSS, PoC availability, and external exposure.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Linux | Linux | a1123418ba1078037d9fecb72573ff7222dfe201 | Vulnerable |
| Linux | Linux | a1123418ba1078037d9fecb72573ff7222dfe201 to < 7f0bac5c52cb3a31a674ca61c25cd0be2151a05d | Vulnerable |
| Linux | Linux | a1123418ba1078037d9fecb72573ff7222dfe201 | Vulnerable |
| Linux | Linux | a1123418ba1078037d9fecb72573ff7222dfe201 to < 7b0cbff7c7e12586dbd55a8ac6a1133da0b7979d | Vulnerable |
| Linux | Linux | a1123418ba1078037d9fecb72573ff7222dfe201 | Vulnerable |
| Linux | Linux | a1123418ba1078037d9fecb72573ff7222dfe201 | Vulnerable |
| Linux | Linux | a1123418ba1078037d9fecb72573ff7222dfe201 to < 02e31eea7c929384b5efe2e80fa22fb42601724a | Vulnerable |
| Linux | Linux | a1123418ba1078037d9fecb72573ff7222dfe201 to < 9dcacdc41083cccff74292851bf9fde999e0731a | Vulnerable |
| Linux | Linux | 5.6 | Vulnerable |
| Linux | Linux | 0 to < 5.6 | Patched |
| Linux | Linux | 5.10.275 to <= 5.10.* | Patched |
| Linux | Linux | 5.15.226 to <= 5.15.* | Patched |
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /uverbs.
Timeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Initial · CVE published
Nov 30, 2026 · NVD
Added · GHSA-v739-p7x4-wqp2 published (unknown)
Nov 30, 2026 · GitHub Security Advisory
References
10 on the record
- git.kernel.org/stable/c/02e31eea7c929384b5efe2e80fa22fb42601724a
Vendor Advisory
- git.kernel.org/stable/c/7b0cbff7c7e12586dbd55a8ac6a1133da0b7979d
Vendor Advisory
- git.kernel.org/stable/c/7f0bac5c52cb3a31a674ca61c25cd0be2151a05d
Vendor Advisory
- git.kernel.org/stable/c/9dcacdc41083cccff74292851bf9fde999e0731a
Vendor Advisory
- git.kernel.org/stable/c/c50f84dd10f2b6a0d8fa203b08a48d4bb333a07f
Vendor Advisory
- git.kernel.org/stable/c/d1946ab6dbc31ac4fd87123c337fbabe4da539ef
Vendor Advisory
- git.kernel.org/stable/c/e47ea092ab3cc9f0074f141f749165c86de42171
Vendor Advisory
- git.kernel.org/stable/c/e845dc5fa35d90c28861c6a21063f7c73360af75
Vendor Advisory
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-39682 tls: fix handling of zero-length records on the rx_listCVSS 9.8 · CISA KEV
- CVE-2016-3427 Oracle Java SE and JRockit Unspecified VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2026-53266 netfilter: bridge: make ebt_snat ARP rewrite writableCVSS 8.8 · CISA KEV
- CVE-2026-46300 net: skbuff: preserve shared-frag marker during coalescingCVSS 7.8 · CISA KEV
- CVE-2026-31431 crypto: algif_aead - Revert to operating out-of-placeCVSS 7.8 · CISA KEV
- CVE-2014-3153 Linux Kernel Privilege Escalation VulnerabilityCVSS 7.8 · CISA KEV
Elsewhere on this site
- Linuxevery CVE for this vendor
- Unclassifiedsame class
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2026-139664 is RDMA/uverbs: Drop restrack ref on ib_init_ucontext() failure in GET_CONTEXT, a unscored vulnerability affecting Linux from Linux. The current evidence does not list it in CISA KEV, and the exploit status is: Active exploitation is not confirmed from current sources for CVE-2026-139664. Public exploit evidence is: A public PoC is not confirmed from current sources for CVE-2026-139664. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS null describes technical severity, while EPSS 0% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.