CVE-2026-143156

Not scored yetLast modified Dec 3, 2026

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-143157In the Linux kernel, the following vulnerability has been resolved: net: netns: fix INT_MAX nsid cleanup A syzkaller reproducer assigning CVE-2026-143158In the Linux kernel, the following vulnerability has been resolved: net: bridge: use one headroom snapshot for ND replies br_nd_send() calCVE-2026-143159In the Linux kernel, the following vulnerability has been resolved: net/smc: fix link group ownership in handshake abort An aborted first-CVE-2026-143168.1The revoked-key error path builds a human-readable failure reason using sprintf() into a heap buffer. The allocated buffer is too small for CVE-2026-143160In the Linux kernel, the following vulnerability has been resolved: net/smc: fix lgr/lnk lifetime vs diag reader race The diag dump walks CVE-2026-143161In the Linux kernel, the following vulnerability has been resolved: net/rds: Do not unpin a page after a failed atomic pin rds_cmsg_atomicCVE-2026-143162In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: SHAMPO, Disable end padding when relaxed ordering is supportCVE-2026-143163In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: Fix queue stats access to queues without stats I am seeing CVE-2026-143164In the Linux kernel, the following vulnerability has been resolved: macsec: reject frames that decapsulate into runt Ethernet frames When CVE-2026-143165In the Linux kernel, the following vulnerability has been resolved: net: dst_metadata: fix memcmp overread in skb_metadata_dst_cmp Commit CVE-2026-143166In the Linux kernel, the following vulnerability has been resolved: btrfs: fix bio counter and bioc leak when async checksumming fails A sCVE-2026-143167In the Linux kernel, the following vulnerability has been resolved: mm/page_alloc: clear ->private of deferred free pages free_pages_noloc
CVE-2026-143156: Unscored | Vulnix