# CVE-2022-50874: RDMA/erdma: Fix refcount leak in erdma_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.21%, higher than 12% of CVEs (2026-12-02)
- Published: 2025-12-30T12:23:15.388Z
- Modified: 2026-06-17T05:24:20.020Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

RDMA/erdma: Fix refcount leak in erdma_mmap

rdma_user_mmap_entry_get() take reference, we should release it when not
need anymore, add the missing rdma_user_mmap_entry_put() in the error
path to fix it.

(As written by CVE List.)

## Affected

- Linux Linux: from 155055771704f8cbb5c176a4309b7dc30a50450c before 8372207b009d6abdd60bb05624640bd86386599f; from 155055771704f8cbb5c176a4309b7dc30a50450c before 410f0f46ffca4d0102470c1e0c747ecfece4204c; from 155055771704f8cbb5c176a4309b7dc30a50450c before ee84146c05ad2316b9a7222d0ec4413e0bf30eeb; 6.0 (not affected: before 6.0; 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/8372207b009d6abdd60bb05624640bd86386599f>
- <https://git.kernel.org/stable/c/410f0f46ffca4d0102470c1e0c747ecfece4204c>
- <https://git.kernel.org/stable/c/ee84146c05ad2316b9a7222d0ec4413e0bf30eeb>

## Sources

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

---

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