CVE-2022-50662

RDMA/hns: fix memory leak in hns_roce_alloc_mr()

N/A
Published: December 9, 2025 at 01:29 AM UTC
Updated: June 17, 2026 at 05:23 AM 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
N/A
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: RDMA/hns: fix memory leak in hns_roce_alloc_mr() When hns_roce_mr_enable() failed in hns_roce_alloc_mr(), mr_key is not released. Compiled test only.

Affected

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

5.8 ≤ v < 5.10.1635.8 ≤ v < 5.15.865.8 ≤ v < 6.0.165.8 ≤ v < 6.1.25.8 ≤ v < 6.25.89b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87
Vendor states this is fixed in 164fa80330a81db67c26d10d071083941d29a510 (fixed)
Vendor states this is fixed in 35f9cd060e68ff910e49bf37b1b0d336a311849a (fixed)
Vendor states this is fixed in a115aa00b18f7b8982b8f458149632caf64a862a (fixed)
Vendor states this is fixed in fc2c43bf41c89e7451fe750025ae55eb2e2a741d (fixed)
Vendor states this is fixed in fd32e378bc1dea0d48767adf2bbb478581bb0a95 (fixed)
Vendor states this is fixed in 5.10.163 (unaffected)
Vendor states this is fixed in 5.15.86 (unaffected)
Vendor states this is fixed in 5.8 (unaffected)
Vendor states this is fixed in 6.0.16 (unaffected)
Vendor states this is fixed in 6.1.2 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusDEFERRED

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