AZL-118220: CVE-2026-143156 affecting package kernel 6.6.161.1-1

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

xprtrdma: serialize unmapsync with xprtdisconnect

frwrunmapsync() posts LOCALINV Work Requests to the QP and waits for the matching CQE. This can race with rpcrdmaxprtdisconnect():

1. frwrunmapsync() samples rxprt->rxep 2. rpcrdmaxprtdisconnect() drains the QP 3. frwrunmapsync() posts LOCALINV WRs after the drain 4. No CQE arrives, so waitforcompletion() blocks indefinitely

The hung task appears in the rpciod workqueue:

Workqueue: rpciod rpcasyncschedule [sunrpc] waitforcompletion() frwrunmapsync() xprtrdmafree() xprtrelease()

Serialize synchronous MR invalidation against QP teardown with rxunmaprwsem. frwrunmapsync() holds the read side while it builds and submits the LOCALINV 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 frwrunmapsync() waits for the read side. Recheck rlregistered 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 xprtrdmafree(). This allows disconnect to destroy MRs after draining the QP while frwrunmapsync() is still waiting. On a post failure, call rpcrdmaforcedisconnect() before dropping the read side so the endpoint is not dereferenced after disconnect can run.

frwrunmapasync() runs inline from Receive completion processing. rpcrdmaxprtdrain() drains the Receive Queue before the Send Queue, so asynchronous LOCALINV Work Requests are submitted before Send Queue drain. frwrunmapsync(), however, runs from xprtrdmafree() 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 frwrunmapsync() reproduced twice in six attempts. With the fix, no hang occurred across 200 cycles.

Also observed on v6.8 and v6.18.34.

Affected Software

1 affected component
azure-linux/kernel<=6.6.161.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In the Linux kernel RPC-over-RDMA path, serialize synchronous MR invalidation with QP teardown using rx_unmap_rwsem; after acquiring the rwsem, recheck rl_registered and return without posting if the request was reset.

Event History

Dec 3, 2026
Advisory Published
via OSV·10:17 AM
Data Sourced
via OSV·10:17 AM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What conditions are required for this issue to occur?

The race requires synchronous RDMA memory-region invalidation in frwr_unmap_sync() to run concurrently with an RDMA transport disconnect that drains and tears down the Queue Pair. If LOCAL_INV work requests are posted after the Queue Pair has been drained, their completion event may never arrive.

2

What is the operational impact if the race is triggered?

A kernel task can block indefinitely in wait_for_completion() while running in the rpciod workqueue. The affected call path includes frwr_unmap_sync(), xprt_rdma_free(), and xprt_release().

3

How does the resolved change prevent the hang?

The fix serializes synchronous memory-region invalidation and Queue Pair teardown with rx_unmap_rwsem. It also rechecks whether the request remains registered after acquiring the lock, avoiding submission of invalidation work for a request that was reset during disconnect.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203