Vulnerabilities

CVE-2022-50134

Medium 5.5 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2025-06-18
Last modified
2026-11-05
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.2 % higher than 11 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Linux Linux Kernel ≥ 4.14, < 4.14.291 Affected
Linux Linux Kernel ≥ 4.15, < 4.19.256 Affected
Linux Linux Kernel ≥ 4.20, < 5.4.211 Affected
Linux Linux Kernel ≥ 5.11, < 5.15.61 Affected
Linux Linux Kernel ≥ 5.16, < 5.18.18 Affected
Linux Linux Kernel ≥ 5.19, < 5.19.2 Affected
Linux Linux Kernel ≥ 5.5, < 5.10.137 Affected

Weakness type

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities