CVE-2022-50775

published 24 Dec 2025 · updated 12 Nov 2026

RDMA/hns: Fix refcount leak in hns_roce_mmap

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 8abd2ff2256a2a99c11c7ecdcb5512429933620f, Kernel cf6a05c8494a8ae7fec8e5f1229b45ca5b4bcd30, Kernel fa87cf2e756efe809ee8683d4f282f4de962dab6 and 2 more.

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>

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.17, >=0045e0d3f42ed7d05434bb5bc16acfc793ea4891 <8abd2ff2256a2a99c11c7ecdcb5512429933620f, >=0045e0d3f42ed7d05434bb5bc16acfc793ea4891 <cf6a05c8494a8ae7fec8e5f1229b45ca5b4bcd30, >=0045e0d3f42ed7d05434bb5bc16acfc793ea4891 <fa87cf2e756efe809ee8683d4f282f4de962dab68abd2ff2256a2a99c11c7ecdcb5512429933620f, cf6a05c8494a8ae7fec8e5f1229b45ca5b4bcd30, fa87cf2e756efe809ee8683d4f282f4de962dab6
linux-kernel: Kernel>=5.17.0 <6.1.16, >=6.2.0 <6.2.36.1.16, 6.2.3

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-50775 severity on Zeptric[![CVE-2022-50775](https://zeptric.io/badge/cve/CVE-2022-50775.svg)](https://zeptric.io/cve/CVE-2022-50775)