CVE Database
/

CVE-2022-50134

Back to search

CVE-2022-50134

Published: Jun 18, 2025

Modified: May 11, 2026

PUBLISHED

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.

VendorProductVersions

Linux

Linux

affected
e87473bc1b6c2cb08f1b760cfc8cd012822241a6 - < fc4de8009fd6c2ca51986c6757efa964040e7d02
affected
e87473bc1b6c2cb08f1b760cfc8cd012822241a6 - < 90ef48a718f88935d4af53d7dadd1ceafe103ce6
affected
e87473bc1b6c2cb08f1b760cfc8cd012822241a6 - < 2f90813f1c21c3d780585390af961bd17c8515ae
affected
e87473bc1b6c2cb08f1b760cfc8cd012822241a6 - < a85c7dd1edadcdeca24e603a6618153a3bcc81ca
affected
e87473bc1b6c2cb08f1b760cfc8cd012822241a6 - < e25b828553aecb3185a8d8d0c4f9b4e133fb5db6

+3 more versions

Linux

Linux

affected
4.14
unaffected
0 - < 4.14
unaffected
4.14.291 - <= 4.14.*
unaffected
4.19.256 - <= 4.19.*
unaffected
5.4.211 - <= 5.4.*

+5 more versions

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now