CVE-2026-46117: RDMA/mana: Remove user triggerable WARN_ON() in mana_ib_create_qp_rss()
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
RDMA/mana: Remove user triggerable WARN_ON() in mana_ib_create_qp_rss()
Sashiko points out that the user can specify WQs sharing the same CQ as a part of the uAPI and this will trigger the WARN_ON() then go on to corrupt the kernel.
Just reject it outright and fail the QP creation.
The Linux kernel CVE team has assigned CVE-2026-46117 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.8 with commit c15d7802a42402a87880a17eee89ff023e49ecc0 and fixed in 6.12.91 with commit 9cc0c6b1ba8cd5c55aef043e1384de0a8b4efa71 Issue introduced in 6.8 with commit c15d7802a42402a87880a17eee89ff023e49ecc0 and fixed in 6.18.30 with commit 9ef65af26b2a6738bf15812042e84b3112402d3a Issue introduced in 6.8 with commit c15d7802a42402a87880a17eee89ff023e49ecc0 and fixed in 7.0.7 with commit db991ba50087ad99fa12a2c483aa3be19671ea73 Issue introduced in 6.8 with commit c15d7802a42402a87880a17eee89ff023e49ecc0 and fixed in 7.1-rc3 with commit 159f2efabc89d3f931d38f2d35876535d4abf0a3
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-46117
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/infiniband/hw/mana/cq.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/9cc0c6b1ba8cd5c55aef043e1384de0a8b4efa71 https://git.kernel.org/stable/c/9ef65af26b2a6738bf15812042e84b3112402d3a https://git.kernel.org/stable/c/db991ba50087ad99fa12a2c483aa3be19671ea73 https://git.kernel.org/stable/c/159f2efabc89d3f931d38f2d35876535d4abf0a3