CVE-2022-50662
Not scored
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.
Exploit probability
0.2%
Published
December 9, 2025
Required by
Not available
Last source change
August 12, 2026
02 / AFFECTED SOFTWARE
Affected packages
03 / CONNECTIONS
Connected vulnerabilities
04 / EVIDENCE
Source records
Open Source Vulnerabilities
CVE-2022-50662
View original source
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.
05 / REFERENCES
Further evidence
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
- 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
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50662.json
- https://nvd.nist.gov/vuln/detail/CVE-2022-50662