CVE-2026-139664

Not scored yetLast modified Nov 30, 2026

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-139665In the Linux kernel, the following vulnerability has been resolved: RDMA/core: Fix swapped list_add_tail() arguments in ib_add_sub_device()CVE-2026-139666In the Linux kernel, the following vulnerability has been resolved: interconnect: exynos: Remove the PM QoS request on unbind The Exynos iCVE-2026-139667In the Linux kernel, the following vulnerability has been resolved: crypto: atmel-sha - reject initialization without a device A transformCVE-2026-139668In the Linux kernel, the following vulnerability has been resolved: crypto: qat - fix active_devs leak on crypto alg registration failure CVE-2026-139669In the Linux kernel, the following vulnerability has been resolved: cxl/region: Unregister the pmem region when the bridge is unbound RemoCVE-2026-139678.8Heap buffer overflow in V8 in Google Chrome prior to 150.0.7871.47 allowed a remote attacker to execute arbitrary code inside a sandbox via CVE-2026-139670In the Linux kernel, the following vulnerability has been resolved: cxl/port: Fix uninitialized coordinates reported for RCDs cxl_endpointCVE-2026-139671In the Linux kernel, the following vulnerability has been resolved: accel/amdxdna: do not warn when a sync request is rejected amdxdna_drmCVE-2026-139672In the Linux kernel, the following vulnerability has been resolved: media: ivsc: Fix csi_dev use-after-free in mei_ace_setup_dev_link() deCVE-2026-139673In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu/atom: bound the VBIOS date, part number, version and build gCVE-2026-139674In the Linux kernel, the following vulnerability has been resolved: drm/amd/pm: bound SCLK FCW range entries to the table size atomctrl_geCVE-2026-139675In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: reserve eviction-fence slot at WPTR caller Root cause anal
CVE-2026-139664: Unscored | Vulnix