CVE-2022-50662
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-50662 is a memory leak vulnerability in the Linux kernel's RDMA/hns (HiSilicon RoCE) driver, specifically within the hns_roce_alloc_mr() function. When hns_roce_mr_enable() fails during memory region allocation, the mr_key resource is not properly released, resulting in a kernel memory leak. The vulnerability affects Linux kernel versions starting from commit 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87 up to the patched releases. It was published on December 9, 2025, with patches backported to stable branches including 5.10.163, 5.15.86, 6.0.16, 6.1.2, and 6.2. The CVSS score is estimated as Medium (Feedly, ENISA EUVD).

Technical details

The root cause is a missing resource cleanup path in the RDMA/hns driver's hns_roce_alloc_mr() function (CWE-401: Missing Release of Memory after Effective Lifetime). When the call to hns_roce_mr_enable() returns an error, the code path exits without releasing the previously allocated mr_key, causing a kernel memory leak. This is a local, kernel-space issue requiring the RDMA/hns subsystem to be in use; it is not remotely exploitable. The fix was noted as "compiled test only," indicating the patch was verified by build testing rather than runtime testing (Feedly, ENISA EUVD).

Impact

The primary impact is a kernel memory leak in systems using HiSilicon RoCE (RDMA over Converged Ethernet) hardware. Repeated triggering of the failure path in hns_roce_alloc_mr() could gradually exhaust kernel memory resources, potentially leading to degraded system performance or denial of service over time. There is no known impact on confidentiality or integrity, and the vulnerability does not enable privilege escalation or remote code execution (Feedly).

Exploitability

There is no known public exploit code, active in-the-wild exploitation, or threat actor attribution associated with CVE-2022-50662. The EPSS score is extremely low at 0.000180, reflecting minimal exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation would require local access to a system with HiSilicon RoCE hardware and the ability to trigger RDMA memory region allocation failures (Feedly).

Mitigation and workarounds

The Linux kernel maintainers have released patches across multiple stable branches: 5.10.163, 5.15.86, 6.0.16, 6.1.2, and 6.2. Users should update to a patched kernel version corresponding to their distribution's stable branch. SUSE Linux has also issued kernel security updates addressing this CVE (Feedly, ENISA EUVD). No configuration-based workaround is available; upgrading the kernel is the recommended remediation.

Community reactions

SUSE Linux issued security advisories (SUSE-2026:0263-1, SUSE-2026:0317-1, SUSE-2026:0411-1) addressing this CVE as part of broader kernel update bundles. Coverage has been limited to routine vulnerability tracking by VulDB, Vulners, and Tenable (Nessus plugin 278318), with no notable researcher commentary or broader media attention given the low severity and limited exploitability (Feedly).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-68454HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-xilinx-zynqmp
NoYesAug 13, 2026
CVE-2026-68452HIGH7.8
  • Linux Kernel logoLinux Kernel
  • kernel-zfcpdump-modules-core
NoYesAug 13, 2026
CVE-2026-68451HIGH7.8
  • Linux Kernel logoLinux Kernel
  • linux-aws
NoYesAug 13, 2026
CVE-2026-68453HIGH7.1
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-modules-partner
NoYesAug 13, 2026
CVE-2026-68450NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-aws-fips
NoYesAug 12, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management