RDMA/hns: Fix unlocked call to hns_roce_qp_remove()
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.15.209, 6.1.175, 6.12.88, 6.18.30, 6.6.140, 7.0.7
- CVEs
- CVE-2026-46112
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 23:11 UTC · Revision 1
Source evidence
RDMA/hns: Fix unlocked call to hns_roce_qp_remove()
core-osv · Original sourcePublished 28 May 2026, 09:35 UTC
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.
osv:CVE-2026-46112
Kernel
Fixed versions: 5.15.209, 6.1.175, 6.6.140, 6.12.88, 6.18.30, 7.0.7
Complete source record
{
"id": "436e6812bc08a12a33db8d645861381134b7df59bb365955dd2a7a5d36a17f5b",
"url": "https://osv.dev/vulnerability/CVE-2026-46112",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "RDMA/hns: Fix unlocked call to hns_roce_qp_remove()",
"summary": "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.",
"evidence": "osv:CVE-2026-46112",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.15.209",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.175",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.140",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.88",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.30",
"evidence": "/affected/1/ranges"
},
{
"value": "7.0.7",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2026-46112",
"aliases": [
"CVE-2026-46112"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "e088a685eae94a0607b8f7b99949a0e14d748813"
},
{
"fixed": "1f0a3aa8b569d010316b427238222c5d899f9618"
},
{
"fixed": "b6296ff2475fc95ee6ea1b528c4b385302808186"
},
{
"fixed": "fb4ae739811d467409bd07d0e36cfd4140f3d26a"
},
{
"fixed": "fcf6a832c0d5b2bc5398d6996c5570d3ee7993fb"
},
{
"fixed": "1912f78798505dc9c637081bbddfbf1c22494c49"
},
{
"fixed": "615d9d260c32bb678504ca96f29ae46f9d745155"
},
{
"fixed": "0c99acbc8b6c6dd526ae475a48ee1897b61072fb"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46112.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.17.0"
},
{
"fixed": "5.15.209"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.175"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.140"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.88"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.30"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.0.7"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46112.json"
}
}
],
"modified": "2026-10-28T02:30:40.471735739Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/0c99acbc8b6c6dd526ae475a48ee1897b61072fb",
"https://git.kernel.org/stable/c/1912f78798505dc9c637081bbddfbf1c22494c49",
"https://git.kernel.org/stable/c/1f0a3aa8b569d010316b427238222c5d899f9618",
"https://git.kernel.org/stable/c/615d9d260c32bb678504ca96f29ae46f9d745155",
"https://git.kernel.org/stable/c/b6296ff2475fc95ee6ea1b528c4b385302808186",
"https://git.kernel.org/stable/c/fb4ae739811d467409bd07d0e36cfd4140f3d26a",
"https://git.kernel.org/stable/c/fcf6a832c0d5b2bc5398d6996c5570d3ee7993fb",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46112.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-46112",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46112.json"
}
},
"related_cves": [
{
"value": "CVE-2026-46112",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 507893,
"published_at": "2026-05-28T09:35:20.879+00:00"
}