In the Linux kernel, the following vulnerability has been resolved: RDMA/uverbs: Drop restrack ref on ibinitucontext() failure in…
CVE-2026-139664
In the Linux kernel, the following vulnerability has been resolved: RDMA/uverbs: Drop restrack ref on ibinitucontext() failure in GETCONTEXT The UVERBSMETHODGETCONTEXT handler allocates the ucontext via iballocucontext(), which calls rdmarestracknew() (initialising the kref to 1) and rdmarestracksetname(NULL), the latter attaching the current task and taking a taskstruct reference. When ibinitucontext() subsequently fails, the error path only does: kfree(attrs->context); attrs->context = NULL; without first calling rdmarestrackput() on &attrs->context->res. The kref therefore never reaches zero, restrackrelease() is never invoked, and puttaskstruct() is never called, so the taskstruct reference taken during setname 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 taskstruct reference per attempt, eventually preventing those processes from being reaped or exhausting memory. The legacy ibuverbsgetcontext() path already handles this correctly at its errucontext label, where rdmarestrackput() precedes kfree(). Mirror that ordering here.
Assessment
- CVSS
- Not yet scored
- Severity
- Unscored
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 30 November 2026
- Last updated
- 30 November 2026
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
At the source
References
- https://git.kernel.org/stable/c/02e31eea7c929384b5efe2e80fa22fb42601724a
- https://git.kernel.org/stable/c/7b0cbff7c7e12586dbd55a8ac6a1133da0b7979d
- https://git.kernel.org/stable/c/7f0bac5c52cb3a31a674ca61c25cd0be2151a05d
- https://git.kernel.org/stable/c/9dcacdc41083cccff74292851bf9fde999e0731a
- https://git.kernel.org/stable/c/c50f84dd10f2b6a0d8fa203b08a48d4bb333a07f
- https://git.kernel.org/stable/c/d1946ab6dbc31ac4fd87123c337fbabe4da539ef
- https://git.kernel.org/stable/c/e47ea092ab3cc9f0074f141f749165c86de42171
- https://git.kernel.org/stable/c/e845dc5fa35d90c28861c6a21063f7c73360af75
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-139664