CVE-2022-50134

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.
CVSS

No CVSS.

Configurations

No configuration.

History

18 Jun 2025, 11:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-06-18 11:15

Updated : 2025-06-18 13:47


NVD link : CVE-2022-50134

Mitre link : CVE-2022-50134

CVE.ORG link : CVE-2022-50134


JSON object : View

Products Affected

No product.

CWE

No CWE.