PT-2026-151775
CVE-2026-99564
·
Publicado
2026-11-19
·
Atualizado
2026-11-19
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:
smb: smbdirect: don't wait for RDMA CM EVENT DISCONNECTED in smbdirect socket destroy sync()
smbdirect socket destroy sync() waited for RDMA CM EVENT DISCONNECTED
after smbdirect socket cleanup work() called rdma disconnect(). That
can take very long, e.g. if the peer just disappeared, until the
rdma cm gives up, or forever if the event already happened, but the
status was overwritten afterwards.
This is not needed: smbdirect socket destroy() drains the qp under
rdma lock handler(), destroys it and calls rdma destroy id(), which
only waits for a currently running event handler and makes sure no
further events are delivered. The rest of the disconnect protocol
(DREQ/DREP and timewait for IB, abrupt close for iWarp) is handled
by the rdma core asynchronously. drivers/nvme/host/rdma.c also just
calls rdma disconnect() and ib drain qp() before rdma destroy id().
So smbdirect socket destroy() now also accepts
SMBDIRECT SOCKET DISCONNECTING and changes the status to
SMBDIRECT SOCKET DISCONNECTED itself under rdma lock handler().
We could still get RDMA CM EVENT DISCONNECTED in the small
windows between rdma unlock handler() and rdma destroy id(),
but in that case smbdirect connection rdma event handler()
is basically a no-op.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾