CVE-2026-143156
Received Received - Intake

Race Condition in Linux Kernel xprtrdma Leads to Denial of Service

Vulnerability report for CVE-2026-143156, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-03

Last updated on: 2026-12-03

Assigner: kernel.org

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-03
Last Modified
2026-12-03
Generated
2026-12-03
AI Q&A
2026-12-03
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 3 associated CPEs
Vendor Product Version / Range
linux linux_kernel 7.4-rc1
linux linux_kernel 6.8
linux linux_kernel 6.18.34

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel involves a race condition between frwr_unmap_sync() and rpcrdma_xprt_disconnect(). frwr_unmap_sync() waits indefinitely for a completion event that never arrives because the QP is drained before the LOCAL_INV Work Requests are posted. This causes a hung task in the rpciod workqueue.

Detection Guidance

This vulnerability may manifest as a hung task in the rpciod workqueue, specifically in frwr_unmap_sync() waiting for completion. Monitor system logs for hung tasks in rpciod or sunrpc. Check for blocked processes in the rpciod workqueue using commands like 'ps aux | grep rpciod' or 'dmesg | grep -i hung'.

Impact Analysis

The vulnerability can cause system hangs or crashes during operations involving RPC over RDMA, particularly when data servers restart frequently. This disrupts network file system operations and may lead to data unavailability or service interruptions.

Mitigation Strategies

Apply the Linux kernel patch that resolves this issue by serializing unmap_sync with xprt_disconnect using rx_unmap_rwsem. Update to a kernel version that includes the fix (tested on v7.4-rc1 and later). Monitor for hung tasks and ensure proper QP teardown during disconnections.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-143156. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...