PT-2026-163705

CVE-2026-139664

·

Publicado

2026-11-30

·

Atualizado

2026-11-30

Descrição por

Pontuação
N/A
Não disponível

Não há classificações de severidade ou métricas disponíveis. Quando houver, atualizaremos as informações correspondentes na página.

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.
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾