CVE-2022-50874: 
Linux Debian vulnerability analysis and mitigation

Overview

CVE-2022-50874 is a reference count leak vulnerability in the Linux kernel's RDMA/erdma subsystem, specifically within the erdma_mmap function. The flaw arises because rdma_user_mmap_entry_get() increments a reference count that is never released in certain error paths, as the corresponding rdma_user_mmap_entry_put() call was missing. It affects Linux kernel versions starting from the introduction of the erdma driver (commit 155055771704) up to the fixes applied in stable releases 6.1.16, 6.2.3, and 6.3. The vulnerability was published on December 30, 2025, with an EPSS score of approximately 0.017% (very low), and no CVSS base score has been assigned (Feedly, EUVD).

Technical details

The root cause is a missing resource release in an error path, classified as CWE-401 (Missing Release of Memory after Effective Lifetime) or more broadly as a reference count management error. In the erdma_mmap function of the Linux kernel's RDMA erdma driver, rdma_user_mmap_entry_get() is called to obtain a reference to a user mmap entry, but if a subsequent error condition is encountered, the function returns without calling rdma_user_mmap_entry_put() to release that reference. This causes the reference count to be permanently incremented, preventing the associated memory or object from being freed. The fix adds the missing rdma_user_mmap_entry_put() call in the error path (Feedly, Kernel Fix 1, Kernel Fix 2).

Impact

The primary impact of this vulnerability is a kernel memory leak, where repeated triggering of the error path in erdma_mmap causes reference counts to accumulate without being released. Over time, this can lead to resource exhaustion and potential denial of service on systems using the erdma RDMA driver. There is no known direct path to privilege escalation, remote code execution, or data exfiltration from this vulnerability; the impact is limited to availability of the affected system (Feedly).

Exploitability

There is no known public exploit code, active in-the-wild exploitation, or threat actor attribution associated with CVE-2022-50874. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.017%, reflecting a very low probability of exploitation in the near term. Exploitation would require local access to a system running the affected erdma RDMA driver and the ability to trigger the error path in erdma_mmap (Feedly).

Mitigation and workarounds

The Linux kernel stable tree has released patches addressing this vulnerability in versions 6.1.16, 6.2.3, and 6.3. Administrators should update their Linux kernel to one of these patched versions or any later stable release. The specific fix commits are available at the kernel stable repository (Kernel Fix 1, Kernel Fix 2, Kernel Fix 3). As a workaround, systems that do not use the erdma RDMA driver can unload or blacklist the erdma kernel module to eliminate exposure.

Additional resources


Source: This report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-116612HIGH7.8
  • Linux Debian logoLinux Debian
  • gstreamer-editing-services1.0
NoYesOct 26, 2026
CVE-2026-115909HIGH7.5
  • Linux Debian logoLinux Debian
  • rust-zip
NoNoOct 26, 2026
CVE-2026-115907HIGH7.5
  • Linux Debian logoLinux Debian
  • rust-zip
NoNoOct 26, 2026
CVE-2026-115910MEDIUM6.8
  • Python logoPython
  • social-auth-core
NoYesOct 26, 2026
CVE-2026-2270MEDIUM5.9
  • NixOS logoNixOS
  • kubernetes
NoYesOct 26, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management