CVE-2022-50662
RDMA/hns: fix memory leak in hns_roce_alloc_mr()
- State
- Published
- Severity
- Not scored
- Published
- Dec 9, 2025
- Updated
- May 11, 2026
- Reserved
- Dec 9, 2025
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.
Scores
The record has no CVSS score.
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
LinuxLinux |
|
LinuxLinux |
|
References
- https://git.kernel.org/stable/c/164fa80330a81db67c26d10d071083941d29a510
- https://git.kernel.org/stable/c/35f9cd060e68ff910e49bf37b1b0d336a311849a
- https://git.kernel.org/stable/c/fd32e378bc1dea0d48767adf2bbb478581bb0a95
- https://git.kernel.org/stable/c/fc2c43bf41c89e7451fe750025ae55eb2e2a741d
- https://git.kernel.org/stable/c/a115aa00b18f7b8982b8f458149632caf64a862a
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.