PT-2026-163706
CVE-2026-139665
·
Publicado
2026-11-30
·
Atualizado
2026-11-30
Descrição por
Pontuação
N/A
Não disponívelNã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/core: Fix swapped list add tail() arguments in ib add sub device()
ib add sub device() links a new sub-device into its parent's sub-device
list with:
list add tail(&parent->subdev list head, &sub->subdev list);list add tail(new, head) expects the node to insert as the first
argument and the list head as the second, so the call above does the
opposite of what was intended: it treats the parent's list head as the
new node and the sub-device's node as the list head.
Because ib alloc device() initialises subdev list to a self-referencing
empty head, the misplaced insertion does not crash, but it corrupts the
parent->subdev list head list. After adding two or more sub-devices,
only the last one is reachable through the parent's head, and
ib del sub device and put()'s list del() on &sub->subdev list rewrites
the head pointers, potentially severing earlier sub-devices from the
chain. During parent teardown, the reverse iteration over
subdev list head then skips the orphaned sub-devices, so their
del sub dev() callbacks are never invoked and ib device put() on the
parent is never paired, leaking both the HW sub-devices and a refcount.
Swap the arguments to match the documented intent: insert the
sub-device node into the parent's list head.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾