AZL-117142: CVE-2026-139449 affecting package kernel 6.6.161.1-1

Published Nov 30, 2026
·
Updated

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

RDMA/rtrs-clt: Fix recv repost to satisfy ibdrainrq

On disconnect the client error recovery path calls ibdrainqp(), which requires one free RQ slot and that no recv WQEs are posted while the queue is being drained.

When the server is loaded with alwaysinvalidate=N, the path does not advertise RTRSMSGNEWRKEYF. A client-requested invalidation is then a standalone SENDWITHINV. The recv completion path did not repost that WQE; it posted two empty recv WQEs later, when the RDMA-with-IMM response carried RTRSIORSPWINVIMM. If the invalidate receive never arrived, each such response increased RQ occupancy by one until ibpostrecv() started returning -ENOMEM and ibdrainrq() failed with:

failed to drain recv queue: -12

Repost one empty recv WQE for every receive completion, including SENDWITHINV completions on the alwaysinvalidate=N path, and only while the path is still connected so CQ polling cannot race with ibdrainqp(). Size IO connection RQs to 2 queuedepth + 1 to match the posted recv count and leave the drain slot.

Tested with a synthetic RTRS client flooding unpaired RTRSIORSPWINVIMM messages; error recovery no longer triggers ibdrainrq() warnings.

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 RDMA/rtrs-clt, repost one empty receive WQE for every receive completion, including SEND_WITH_INV completions when always_invalidate=N, and size I/O connection receive queues to 2 * queue_depth + 1.

Event History

Nov 30, 2026
Advisory Published
via OSV·02:19 PM
Data Sourced
via OSV·02:19 PM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which deployments are exposed to this failure path?

The affected path involves an RTRS client using RDMA against a server configured with always_invalidate=N. It is triggered when a client-requested invalidation is handled as a standalone SEND_WITH_INV and the expected invalidate receive does not arrive.

2

How can I tell whether the issue is occurring?

The receive queue occupancy grows until ib_post_recv() returns -ENOMEM. During disconnect recovery, __ib_drain_rq() can then fail and log "failed to drain recv queue: -12".

3

What operational failure results from the receive queue exhaustion?

The client disconnect error-recovery path cannot successfully drain the queue pair. This occurs because ib_drain_qp() requires a free receive-queue slot and no receive work requests being posted while draining.

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