CVE-2022-50775Published Dec 24, 2025 · Dec 24Updated Nov 12
RDMA/hns: Fix refcount leak in hns_roce_mmap
Linux
Unrated
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.1.166.2.36.3In the Linux kernel, the following vulnerability has been resolved:
RDMA/hns: Fix refcount leak in hns_roce_mmap
rdma_user_mmap_entry_get_pgoff() takes the reference. Add missing rdma_user_mmap_entry_put() to release the reference.
Acked-by Haoyue Xu <xuhaoyue1@hisilicon.com>
From the CVE record · Linux
The Linux kernel's hns_roce_mmap function fails to release a reference acquired by rdma_user_mmap_entry_get_pgoff(), causing a reference-count leak. The input does not specify how an attacker could trigger the leak or whether access or user interaction is required.
Engineers running Linux kernels with the RDMA/hns component should check their systems; affected versions are not specified.