# CVE-2022-50775: RDMA/hns: Fix refcount leak in hns_roce_mmap

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 21% of CVEs (2026-12-01)
- Published: 2025-12-24T13:06:05.074Z
- Modified: 2026-11-10T12:10:00.177Z
- Assigned by: Linux

## Description

In 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>

(As written by CVE List.)

## Affected

- Linux Linux: from 0045e0d3f42ed7d05434bb5bc16acfc793ea4891 before fa87cf2e756efe809ee8683d4f282f4de962dab6; from 0045e0d3f42ed7d05434bb5bc16acfc793ea4891 before 8abd2ff2256a2a99c11c7ecdcb5512429933620f; from 0045e0d3f42ed7d05434bb5bc16acfc793ea4891 before cf6a05c8494a8ae7fec8e5f1229b45ca5b4bcd30; 5.17 (not affected: before 5.17; from 6.1.16 up to 6.1.*; from 6.2.3 up to 6.2.*; from 6.3 up to *)

## References

- <https://git.kernel.org/stable/c/fa87cf2e756efe809ee8683d4f282f4de962dab6>
- <https://git.kernel.org/stable/c/8abd2ff2256a2a99c11c7ecdcb5512429933620f>
- <https://git.kernel.org/stable/c/cf6a05c8494a8ae7fec8e5f1229b45ca5b4bcd30>

## Sources

- CVE List: [CVE-2022-50775](https://www.cve.org/CVERecord?id=CVE-2022-50775), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50775](https://nvd.nist.gov/vuln/detail/CVE-2022-50775), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2022-50775 · Whole record: https://cve.day/CVE-2022-50775.json · Rebuilt by cve.day 2026-11-25T22:58:21.356Z
