Skip to main content
VulnerabilityPublished

CVE-2026-139664: Linux kernel · RDMA/uverbs: Drop restrack ref on ib_init_ucontext() failure in GET_CONTEXT

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-139664

Not known to be exploited · fixed in e845dc5fa35d90c28861c6a21063f7c73360af75 : update Linux kernel when convenient.

Data as of 30 Nov 2026, 17:16 UTC

Severity
Unrated

Rated by Threat Radar · CVSS not yet scored by NVD

Thin evidence

One scorer or none
Patch
Available – fixed in e845dc5fa35d90c28861c6a21063f7c73360af75, e47ea092ab3cc9f0074f141f749165c86de42171, d1946ab6dbc31ac4fd87123c337fbabe4da539ef +5

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ a1123418ba1078037d9fecb72573ff7222dfe201, < e845dc5fa35d90c28861c6a21063f7c73360af75
Fixed in
  • e845dc5fa35d90c28861c6a21063f7c73360af75
LinuxLinuxAffected
  • ≥ a1123418ba1078037d9fecb72573ff7222dfe201, < e47ea092ab3cc9f0074f141f749165c86de42171
Fixed in
  • e47ea092ab3cc9f0074f141f749165c86de42171
LinuxLinuxAffected
  • ≥ a1123418ba1078037d9fecb72573ff7222dfe201, < d1946ab6dbc31ac4fd87123c337fbabe4da539ef
Fixed in
  • d1946ab6dbc31ac4fd87123c337fbabe4da539ef
LinuxLinuxAffected
  • ≥ a1123418ba1078037d9fecb72573ff7222dfe201, < c50f84dd10f2b6a0d8fa203b08a48d4bb333a07f
Fixed in
  • c50f84dd10f2b6a0d8fa203b08a48d4bb333a07f
LinuxLinuxAffected
  • ≥ a1123418ba1078037d9fecb72573ff7222dfe201, < 9dcacdc41083cccff74292851bf9fde999e0731a
Fixed in
  • 9dcacdc41083cccff74292851bf9fde999e0731a
LinuxLinuxAffected
  • ≥ a1123418ba1078037d9fecb72573ff7222dfe201, < 7f0bac5c52cb3a31a674ca61c25cd0be2151a05d
Fixed in
  • 7f0bac5c52cb3a31a674ca61c25cd0be2151a05d

Description

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.

References

Community reviews

Loading reviews…