CVE-2026-46112

RDMA/hns: Fix unlocked call to hns_roce_qp_remove()

HIGH
7.8
CVSS Score
Published: May 28, 2026 at 09:35 AM UTC
Updated: August 5, 2026 at 01:24 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.1%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.17 ≤ v < 5.15.2094.17 ≤ v < 6.1.1754.17 ≤ v < 6.12.884.17 ≤ v < 6.18.304.17 ≤ v < 6.6.1404.17 ≤ v < 7.0.74.17 ≤ v < 7.15.16 ≤ v < 6.1.1756.13 ≤ v < 6.18.306.19 ≤ v < 7.0.76.2 ≤ v < 6.6.1406.7 ≤ v < 6.12.887.1 rc17.1 rc2e088a685eae94a0607b8f7b99949a0e14d748813
Vendor states this is fixed in 0c99acbc8b6c6dd526ae475a48ee1897b61072fb (fixed)
Vendor states this is fixed in 1912f78798505dc9c637081bbddfbf1c22494c49 (fixed)
Vendor states this is fixed in 1f0a3aa8b569d010316b427238222c5d899f9618 (fixed)
Vendor states this is fixed in 615d9d260c32bb678504ca96f29ae46f9d745155 (fixed)
Vendor states this is fixed in b6296ff2475fc95ee6ea1b528c4b385302808186 (fixed)
Vendor states this is fixed in fb4ae739811d467409bd07d0e36cfd4140f3d26a (fixed)
Vendor states this is fixed in fcf6a832c0d5b2bc5398d6996c5570d3ee7993fb (fixed)
Vendor states this is fixed in 4.17 (unaffected)
Vendor states this is fixed in 5.15.209 (unaffected)
Vendor states this is fixed in 6.1.175 (unaffected)
Vendor states this is fixed in 6.12.88 (unaffected)
Vendor states this is fixed in 6.18.30 (unaffected)
Vendor states this is fixed in 6.6.140 (unaffected)
Vendor states this is fixed in 7.0.7 (unaffected)
Vendor states this is fixed in 7.1 (unaffected)

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusUNDERGOING ANALYSIS
CWE
CWE-667

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card