CVE-2022-50134
"IBM RDMA HFI1 Memory Leak Vulnerability"
Description
In the Linux kernel, the following vulnerability has been resolved: RDMA/hfi1: fix potential memory leak in setup_base_ctxt() setup_base_ctxt() allocates a memory chunk for uctxt->groups with hfi1_alloc_ctxt_rcv_groups(). When init_user_ctxt() fails, uctxt->groups is not released, which will lead to a memory leak. We should release the uctxt->groups with hfi1_free_ctxt_rcv_groups() when init_user_ctxt() fails.
INFO
Published Date :
June 18, 2025, 11:15 a.m.
Last Modified :
June 18, 2025, 1:47 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
CVE-2022-50134
vulnerability.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-50134
.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-50134
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-50134
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-50134
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-50134
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 18, 2025
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: RDMA/hfi1: fix potential memory leak in setup_base_ctxt() setup_base_ctxt() allocates a memory chunk for uctxt->groups with hfi1_alloc_ctxt_rcv_groups(). When init_user_ctxt() fails, uctxt->groups is not released, which will lead to a memory leak. We should release the uctxt->groups with hfi1_free_ctxt_rcv_groups() when init_user_ctxt() fails. Added Reference https://git.kernel.org/stable/c/1750be1e9f18787cf717c24dbc5fa029fc372a22 Added Reference https://git.kernel.org/stable/c/2f90813f1c21c3d780585390af961bd17c8515ae Added Reference https://git.kernel.org/stable/c/90ef48a718f88935d4af53d7dadd1ceafe103ce6 Added Reference https://git.kernel.org/stable/c/a85c7dd1edadcdeca24e603a6618153a3bcc81ca Added Reference https://git.kernel.org/stable/c/a9055dfe437efae77e28e57205437c878a03ccb7 Added Reference https://git.kernel.org/stable/c/aa2a1df3a2c85f855af7d54466ac10bd48645d63 Added Reference https://git.kernel.org/stable/c/e25b828553aecb3185a8d8d0c4f9b4e133fb5db6 Added Reference https://git.kernel.org/stable/c/fc4de8009fd6c2ca51986c6757efa964040e7d02