CVE-2026-46126: RDMA/mana: Fix mana_destroy_wq_obj() cleanup in mana_ib_create_qp_rss()

Published May 28, 2026
·
Updated

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

RDMA/mana: Fix manadestroywqobj() cleanup in manaibcreateqprss()

Sashiko points out there are two bugs here in the error unwind flow, both related to how the WQ table is unwound.

First there is a double i-- on the first failure path due to the while loop having a i--, remove it.

Second if manaibinstallcqcb() fails then manacreatewqobj() is not undone due to the above i--.

Affected Software

6 affected components
Linux Linux kernel
Linux Linux kernel>=6.8<6.12.88
Linux Linux kernel>=6.13<6.18.30
Linux Linux kernel>=6.19<7.0.7
Linux Linux kernel=7.1-rc1
Linux Linux kernel=7.1-rc2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Remove the duplicate i-- decrement in the error-unwind path of mana_destroy_wq_obj() invoked from mana_ib_create_qp_rss(), so the WQ table unwind no longer performs a double decrement.

    Linux kernel RDMA/mana duplicate decrement in mana_destroy_wq_obj() error-unwind = remove
  2. Configuration

    Ensure that if mana_ib_install_cq_cb() fails, the allocations/changes from mana_create_wq_obj() are undone—perform proper cleanup/unwind of the WQ table (reverse mana_create_wq_obj() effects) to avoid leaving inconsistent state.

    Linux kernel RDMA/mana cleanup on mana_ib_install_cq_cb() failure = undo mana_create_wq_obj() / perform proper cleanup

Event History

May 28, 2026
CVE Published
via MITRE·09:35 AM
Data Sourced
via MITRE·09:35 AM
Description
Data Sourced
via NVD·10:16 AM
RemedyDescriptionSeverityAffected Software

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