CVE-2022-50874 Details
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.
A reference count leak vulnerability has been identified in the Linux kernel's RDMA/erdma component. This issue arises in the 'erdma_mmap' function, where the 'rdma_user_mmap_entry_get()' function is called to take a reference, but the reference is not properly released when no longer needed. The missing 'rdma_user_mmap_entry_put()' call in the error handling path has been added to address this leak. This vulnerability affects the Linux kernel stable tree.
Users can upgrade to the latest version of the Linux kernel stable tree to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 30, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/410f0f46ffca4d0102470c1e0c747ecfece4204c | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/8372207b009d6abdd60bb05624640bd86386599f | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/ee84146c05ad2316b9a7222d0ec4413e0bf30eeb | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
| RDMA/erdma | All versions |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 30, 2025 | New CVE Received | kernel.org |
Volerion