CVE-2026-46112

RDMA/hns: Fix unlocked call to hns_roce_qp_remove()

At a glance

Severity
HIGH 7.8
EPSS
EPSS 0.10 % · percentile 1 (2026-10-27)
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Undergoing Analysis

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.

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Weaknesses (CWE)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected e088a685eae94a0607b8f7b99949a0e14d748813 < 1f0a3aa8b569d010316b427238222c5d899f9618 ; affected e088a685eae94a0607b8f7b99949a0e14d748813 < b6296ff2475fc95ee6ea1b528c4b385302808186 ; affected e088a685eae94a0607b8f7b99949a0e14d748813 < fb4ae739811d467409bd07d0e36cfd4140f3d26a ; affected e088a685eae94a0607b8f7b99949a0e14d748813 < fcf6a832c0d5b2bc5398d6996c5570d3ee7993fb ; affected e088a685eae94a0607b8f7b99949a0e14d748813 < 1912f78798505dc9c637081bbddfbf1c22494c49 ; affected e088a685eae94a0607b8f7b99949a0e14d748813 < 615d9d260c32bb678504ca96f29ae46f9d745155
Linux · Linuxaffected 4.17 ; unaffected 0 < 4.17 ; unaffected 5.15.209 ≤ 5.15.* ; unaffected 6.1.175 ≤ 6.1.* ; unaffected 6.6.140 ≤ 6.6.* ; unaffected 6.12.88 ≤ 6.12.*

References

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD