What’s Vulnerable › Vulnerabilities

CVE-2026-46112: RDMA/hns: Fix unlocked call to hns_roce_qp_remove()

Description

In the Linux kernel, the following vulnerability has been resolved: RDMA/hns: Fix unlocked call to hns_roce_qp_remove() Sashiko points out that hns_roce_qp_remove() requires the caller to hold locks. The error flow in hns_roce_create_qp_common() doesn't hold those locks for the error unwind so it risks corrupting memory. Grab the same locks the other two callers use.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.209, 6.1.175, 6.12.88, 6.18.30. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-46112 or the next vulnerability affects your stack