What’s Vulnerable › Vulnerabilities
CVE-2022-50662: RDMA/hns: fix memory leak in hns_roce_alloc_mr()
- Severity: unknown
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-12-09 · updated 2026-06-17
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 products
- Linux kernel: 5.8 — fixed in 6.2
How to fix
Upgrade to a fixed version: Linux kernel 6.2. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/164fa80330a81db67c26d10d071083941d29a510
- https://git.kernel.org/stable/c/35f9cd060e68ff910e49bf37b1b0d336a311849a
- https://git.kernel.org/stable/c/a115aa00b18f7b8982b8f458149632caf64a862a
- https://git.kernel.org/stable/c/fc2c43bf41c89e7451fe750025ae55eb2e2a741d
- https://git.kernel.org/stable/c/fd32e378bc1dea0d48767adf2bbb478581bb0a95
Get alerted when CVE-2022-50662 or the next vulnerability affects your stack