CVE-2022-50662

published 9 Dec 2025 · updated 12 Nov 2026

RDMA/hns: fix memory leak in hns_roce_alloc_mr()

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel fd32e378bc1dea0d48767adf2bbb478581bb0a95, Kernel 164fa80330a81db67c26d10d071083941d29a510, Kernel 35f9cd060e68ff910e49bf37b1b0d336a311849a and 6 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87 <fd32e378bc1dea0d48767adf2bbb478581bb0a95, >=9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87 <164fa80330a81db67c26d10d071083941d29a510, >=9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87 <35f9cd060e68ff910e49bf37b1b0d336a311849a, >=9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87 <a115aa00b18f7b8982b8f458149632caf64a862a, >=9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87 <fc2c43bf41c89e7451fe750025ae55eb2e2a741d, =5.8fd32e378bc1dea0d48767adf2bbb478581bb0a95, 164fa80330a81db67c26d10d071083941d29a510, 35f9cd060e68ff910e49bf37b1b0d336a311849a, a115aa00b18f7b8982b8f458149632caf64a862a, fc2c43bf41c89e7451fe750025ae55eb2e2a741d
linux-kernel: Kernel>=5.16.0 <6.0.16, >=5.8.0 <5.10.163, >=6.1.0 <6.1.2, >=5.11.0 <5.15.866.0.16, 5.10.163, 6.1.2, 5.15.86

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-50662 severity on Zeptric[![CVE-2022-50662](https://zeptric.io/badge/cve/CVE-2022-50662.svg)](https://zeptric.io/cve/CVE-2022-50662)