CVE-2022-50662Published Dec 9, 2025 · Dec 9Updated Nov 12
RDMA/hns: fix memory leak in hns_roce_alloc_mr()
Linux
Unrated
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's RDMA/hns code leaks mr_key when hns_roce_mr_enable() fails in hns_roce_alloc_mr(). The report describes a compiled test only; it does not establish how an attacker could trigger the failure or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with RDMA/hns should check their installations; affected versions were not specified.