LiveActive security incident?Get immediate response
CVE Record

CVE-2022-50662: RDMA/hns: fix memory leak in hns_roce_alloc_mr()

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.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysisunknown

Security readout for executives and security teams

Plain-English summary

This is a Linux kernel memory leak in the RDMA/hns driver path. If an internal memory-registration enable operation fails, a key is not released. The public record does not provide a CVSS score, exploit evidence, or broad impact details. Business urgency is mainly for environments using affected Linux kernels with hns RDMA/RoCE functionality.

Executive priority

Treat as targeted maintenance rather than emergency response unless critical workloads use hns RDMA/RoCE. Prioritize patch validation in high-availability or resource-sensitive systems because repeated leaks can affect stability, but current public evidence does not show exploitation or severe impact.

Technical view

CVE-2022-50662 affects Linux kernel RDMA/hns. In hns_roce_alloc_mr(), failure of hns_roce_mr_enable() leaves mr_key unreleased, causing a memory leak. The record notes “compiled test only,” suggesting limited validation detail. Stable kernel commits are referenced as fixes, but distribution-specific package status must be confirmed separately.

Likely exposure

Exposure appears limited to Linux systems running affected kernel versions where the RDMA/hns driver path is present or used. The source lists affected Linux versions including 5.8, 5.10.163, 5.15.86, 6.0.16, 6.1.2, and 6.2, but downstream vendor backports may differ.

Exploitation context

No active exploitation is indicated; the CVE is not marked KEV in the provided data. The public description does not explain attacker prerequisites, remote reachability, or practical impact beyond a memory leak on a specific failure path.

Researcher notes

The record is sparse: no CVSS, CWE, exploitability analysis, or detailed affected CPEs. The most useful research path is comparing the referenced stable commits and determining which distro kernels include the fix. Avoid assuming all Linux deployments are exposed.

Mitigation direction

  • Update to a kernel or vendor package containing the referenced stable fixes.
  • Check Linux distribution advisories for backported fixes and affected package versions.
  • Prioritize systems using hns RDMA/RoCE hardware or drivers.
  • If no vendor fix is listed, track vendor guidance before applying custom changes.

Validation and detection

  • Inventory Linux kernel versions across systems.
  • Identify systems using the RDMA/hns or hns_roce driver path.
  • Confirm whether referenced stable commits are present in the running kernel source/package.
  • Review distribution changelogs for CVE-2022-50662 or the referenced commit IDs.
Prepared
Confidence
medium
Sources
7

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2022-50662 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
6Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87, 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87, 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87, 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87, 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87unaffected
LinuxLinux5.8, 0, 5.10.163, 5.15.86, 6.0.16, 6.1.2, 6.2affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.