PT-2026-167014
CVE-2026-143156
·
Publicado
2026-12-03
·
Atualizado
2026-12-03
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:
xprtrdma: serialize unmap sync with xprt disconnect
frwr unmap sync() posts LOCAL INV Work Requests to the QP and waits
for the matching CQE. This can race with rpcrdma xprt disconnect():
- frwr unmap sync() samples r xprt->rx ep
- rpcrdma xprt disconnect() drains the QP
- frwr unmap sync() posts LOCAL INV WRs after the drain
- No CQE arrives, so wait for completion() blocks indefinitely
The hung task appears in the rpciod workqueue:
Workqueue: rpciod rpc async schedule [sunrpc]
wait for completion()
frwr unmap sync()
xprt rdma free()
xprt release()
Serialize synchronous MR invalidation against QP teardown with
rx unmap rwsem. frwr unmap sync() holds the read side while it builds
and submits the LOCAL INV chain. Disconnect holds the write side across
QP drain and resource teardown. Drop the read side before waiting so
disconnect can drain the submitted Work Requests and deliver their CQEs.
Disconnect can reset a request while frwr unmap sync() waits for the
read side. Recheck rl registered after acquiring the rwsem and return
without posting if the request has already been reset.
Move the synchronous invalidation completion from the final MR to the
request, whose lifetime covers xprt rdma free(). This allows disconnect
to destroy MRs after draining the QP while frwr unmap sync() is still
waiting. On a post failure, call rpcrdma force disconnect() before
dropping the read side so the endpoint is not dereferenced after
disconnect can run.
frwr unmap async() runs inline from Receive completion processing.
rpcrdma xprt drain() drains the Receive Queue before the Send Queue, so
asynchronous LOCAL INV Work Requests are submitted before Send Queue
drain. frwr unmap sync(), however, runs from xprt rdma free() after the
transport send lock has been released, so it is not ordered against
disconnect.
Tested on v7.4-rc1 under pNFS load with repeated data server restarts
to provoke rapid QP disconnect/reconnect cycling. Without the fix, a
hung task in frwr unmap sync() reproduced twice in six attempts. With
the fix, no hang occurred across 200 cycles.
Also observed on v6.8 and v6.18.34.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾