CVE-2026-139577: RDMA/ionic: Fix double removal of CMB mmap entries in create QP error path
In the Linux kernel, the following vulnerability has been resolved:
RDMA/ionic: Fix double removal of CMB mmap entries in create QP error path
The error unwind in ioniccreateqp() removes the SQ and RQ CMB mmap entries explicitly, and then falls through to ionicqprqdestroy() and ionicqpsqdestroy(), whose ionicqp{rq,sq}destroycmb() helpers remove the very same entries a second time.
Drop the explicit removals and leave ionicqp{rq,sq}destroycmb() as the single owner on the ionicdestroyqp() path.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In the ionic_create_qp() error unwind, drop the explicit SQ and RQ CMB mmap removals; leave ionic_qp_{rq,sq}_destroy_cmb() as the single owner of removing those entries on the ionic_destroy_qp() path.
Event History
Frequently Asked Questions
What systems are exposed to this issue?
Systems running the Linux kernel with the RDMA ionic driver are the relevant population. The affected path is the queue-pair creation error-unwind path involving CMB mmap entries.
What must happen for the bug to be triggered?
Queue-pair creation in the ionic RDMA driver must fail after SQ and RQ CMB mmap entries have been established, causing the error cleanup path to run. That cleanup previously removed the same entries explicitly and again through the queue cleanup helpers.
How can I determine whether the fix is present?
Check whether the kernel source or applied stable patches include the change that removes the explicit SQ and RQ CMB mmap-entry removals from ionic_create_qp() error handling, leaving ionic_qp_rq_destroy_cmb() and ionic_qp_sq_destroy_cmb() as the cleanup owners. The provided stable references identify commits containing the fix.