CVE-2026-139256: RDMA/irdma: Bound in-flight CQP ops across deferred completions

Published Nov 30, 2026
·
Updated

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

RDMA/irdma: Bound in-flight CQP ops across deferred completions

On IRDMAGEN3+ devices, CQP operations can complete in two stages: Stage-1 on the CCQ acknowledges receipt and moves an entry from cqp->oooavail to cqp->ooopnd, while Stage-2 signals final completion via an AEQ event or a subsequent CCQ CQE.

In irdmascccqgetcqeinfo(), Stage-1 processing advances cqp->sqring.tail so the SQ descriptor slot can be reused once consumed by hardware, whereas cqp->completedops is only incremented on Stage-2. Because irdmacqpringfull() only checks cqp->sqring, a burst of backlogged commands in dev->cqpcmdhead allows irdmaprocessbh() to submit more concurrent in-flight CQP commands than the maximum supported limit (cqp->sqsize - 1) while earlier commands await Stage-2. This causes CQP completions to be lost and synchronous waiters to time out with -ETIMEDOUT (-110).

Fix this by: - Updating irdmacqpringfull() to bound total in-flight CQP operations (cqp->requestedops - cqp->completedops) to (cqp->sqsize - 1). - Calling irdmaprocessbh() at the end of irdmaprocessaedefcmpl() so backlogged commands are drained after Stage-2 AEQ completions increment cqp->completedops and free in-flight capacity.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In the irdma code, update irdma_cqp_ring_full() to bound total in-flight CQP operations (cqp->requested_ops - cqp->completed_ops) to cqp->sq_size - 1, and call irdma_process_bh() at the end of irdma_process_ae_def_cmpl() so backlogged commands are drained after Stage-2 AEQ completions.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:33 PM
Data Sourced
via MITRE·01:33 PM
Description

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems using the Linux kernel's IRDMA driver with IRDMA_GEN_3 or later devices are implicated. The problematic condition involves the driver's two-stage CQP completion handling on those devices.

2

What conditions trigger the failure?

A burst of backlogged commands in dev->cqp_cmd_head can cause the driver to submit more concurrent in-flight CQP commands than its supported limit while earlier commands are still awaiting Stage-2 completion. This can lead to lost CQP completions and synchronous waiters timing out with -ETIMEDOUT (-110).

3

How can an affected system be identified?

A relevant symptom is synchronous CQP operations timing out with -ETIMEDOUT (-110), particularly during backlogged CQP command activity. The underlying failure involves lost CQP completions after the in-flight operation count exceeds cqp->sq_size - 1.

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