Skip to main content
Network Thinking Solutions Logo

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().

All CVEs
CVE-2022-50134Published 6/18/2025

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().

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
6/18/2025
Last modified
11/5/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 4.14, < 4.14.291

Verify advisory

Source
linux kernel
linux
≥ 4.15, < 4.19.256

Verify advisory

Source
linux kernel
linux
≥ 4.20, < 5.4.211

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.137

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.61

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 5.18.18

Verify advisory

Source
linux kernel
linux
≥ 5.19, < 5.19.2

Verify advisory

Source
Linux
Linux
≥ e87473bc1b6c2cb08f1b760cfc8cd012822241a6, < fc4de8009fd6c2ca51986c6757efa964040e7d02

Verify advisory

Source
Linux
Linux
≥ e87473bc1b6c2cb08f1b760cfc8cd012822241a6, < 90ef48a718f88935d4af53d7dadd1ceafe103ce6

Verify advisory

Source
Linux
Linux
≥ e87473bc1b6c2cb08f1b760cfc8cd012822241a6, < 2f90813f1c21c3d780585390af961bd17c8515ae

Verify advisory

Source
Linux
Linux
≥ e87473bc1b6c2cb08f1b760cfc8cd012822241a6, < a85c7dd1edadcdeca24e603a6618153a3bcc81ca

Verify advisory

Source
Linux
Linux
≥ e87473bc1b6c2cb08f1b760cfc8cd012822241a6, < e25b828553aecb3185a8d8d0c4f9b4e133fb5db6

Verify advisory

Source
Linux
Linux
≥ e87473bc1b6c2cb08f1b760cfc8cd012822241a6, < 1750be1e9f18787cf717c24dbc5fa029fc372a22

Verify advisory

Source
Linux
Linux
≥ e87473bc1b6c2cb08f1b760cfc8cd012822241a6, < a9055dfe437efae77e28e57205437c878a03ccb7

Verify advisory

Source
Linux
Linux
≥ e87473bc1b6c2cb08f1b760cfc8cd012822241a6, < aa2a1df3a2c85f855af7d54466ac10bd48645d63

Verify advisory

Source
Linux
Linux
4.14

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.