Skip to main content
Network Thinking Solutions Logo

CVE-2026-139664

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.

All CVEs
CVE-2026-139664Published 11/30/2026

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.

Vendor advisory
CVSS—Unscored

Overview

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
11/30/2026
Last modified
11/30/2026
CVE assigner
Linux
NVD analysis
Received

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
Linux
Linux
≥ a1123418ba1078037d9fecb72573ff7222dfe201, < e845dc5fa35d90c28861c6a21063f7c73360af75

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
≥ a1123418ba1078037d9fecb72573ff7222dfe201, < 7f0bac5c52cb3a31a674ca61c25cd0be2151a05d

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
≥ a1123418ba1078037d9fecb72573ff7222dfe201, < c50f84dd10f2b6a0d8fa203b08a48d4bb333a07f

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
≥ a1123418ba1078037d9fecb72573ff7222dfe201, < 7b0cbff7c7e12586dbd55a8ac6a1133da0b7979d

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
≥ a1123418ba1078037d9fecb72573ff7222dfe201, < d1946ab6dbc31ac4fd87123c337fbabe4da539ef

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
≥ a1123418ba1078037d9fecb72573ff7222dfe201, < e47ea092ab3cc9f0074f141f749165c86de42171

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
≥ a1123418ba1078037d9fecb72573ff7222dfe201, < 02e31eea7c929384b5efe2e80fa22fb42601724a

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
≥ a1123418ba1078037d9fecb72573ff7222dfe201, < 9dcacdc41083cccff74292851bf9fde999e0731a

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
5.6

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

No CVSS score is published for this record yet. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.