PT-2026-167014

CVE-2026-143156

·

تاريخ النشر

2026-12-03

·

تاريخ التحديث

2026-12-03

الوصف من

الدرجة
N/A
غير متوفر

لا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.

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():
  1. frwr unmap sync() samples r xprt->rx ep
  2. rpcrdma xprt disconnect() drains the QP
  3. frwr unmap sync() posts LOCAL INV WRs after the drain
  4. 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.
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾