CVE-2026-46112 Details
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.
A vulnerability exists in the Linux kernel's RDMA/hns component, specifically within the error handling flow of the hns_roce_create_qp_common() function. This flow fails to maintain the necessary locks, leading to a risk of memory corruption. The issue arises because hns_roce_qp_remove() requires the caller to hold locks, which is not the case during error unwinding. The vulnerability affects the stable version of the Linux kernel.
Users can upgrade to the latest stable version of the Linux kernel, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/0c99acbc8b6c6dd526ae475a48ee1897b61072fb | kernel.org | Patch |
| https://git.kernel.org/stable/c/1912f78798505dc9c637081bbddfbf1c22494c49 | kernel.org | Patch |
| https://git.kernel.org/stable/c/1f0a3aa8b569d010316b427238222c5d899f9618 | kernel.org | Patch |
| https://git.kernel.org/stable/c/615d9d260c32bb678504ca96f29ae46f9d745155 | kernel.org | Patch |
| https://git.kernel.org/stable/c/b6296ff2475fc95ee6ea1b528c4b385302808186 | kernel.org | Patch |
| https://git.kernel.org/stable/c/fb4ae739811d467409bd07d0e36cfd4140f3d26a | kernel.org | Patch |
| https://git.kernel.org/stable/c/fcf6a832c0d5b2bc5398d6996c5570d3ee7993fb | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-667 | Improper Locking | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.17, < 5.15.209 >= 5.16, < 6.1.175 >= 6.2, < 6.6.140 >= 6.7, < 6.12.88 >= 6.13, < 6.18.30 >= 6.19, < 7.0.7 7.1 rc1 7.1 rc2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 24, 2026 | Initial Analysis | [email protected] |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 1, 2026 | CVE Modified | kernel.org |
| May 30, 2026 | CVE Modified | kernel.org |
| May 28, 2026 | New CVE Received | kernel.org |