5.5

CVE-2022-50134: RDMA/hfi1: fix potential memory leak in setup_base_ctxt()

Analyzed
AliasesUBUNTU-CVE-2022-50134DEBIAN-CVE-2022-50134
Published 18-06-2025Last modified 11-05-2026

Vulnerability summary

CVE-2022-50134 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.25% chance of exploitation in the next 30 days, higher than 16.9% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.25%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 5 · Related 5

Timeline

  1. 18-06-2025
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.25%

Chance of exploitation in the next 30 days

Percentile

17%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.25% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu110 products
  • linux< 4.15.0-197.208 | < 5.4.0-132.148 | < 5.15.0-53.59
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 4.15.0-1143.155 | < 5.4.0-1089.97 | < 5.15.0-1023.27
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ e87473bc1b6c2cb08f1b760cfc8cd012822241a6, < fc4de8009fd6c2ca51986c6757efa964040e7d02 | ≥ e87473bc1b6c2cb08f1b760cfc8cd012822241a6, < 90ef48a718f88935d4af53d7dadd1ceafe103ce6 | ≥ e87473bc1b6c2cb08f1b760cfc8cd012822241a6, < 2f90813f1c21c3d780585390af961bd17c8515ae | ≥ e87473bc1b6c2cb08f1b760cfc8cd012822241a6, < a85c7dd1edadcdeca24e603a6618153a3bcc81ca | ≥ e87473bc1b6c2cb08f1b760cfc8cd012822241a6, < e25b828553aecb3185a8d8d0c4f9b4e133fb5db6 | ≥ e87473bc1b6c2cb08f1b760cfc8cd012822241a6, < 1750be1e9f18787cf717c24dbc5fa029fc372a22 | ≥ e87473bc1b6c2cb08f1b760cfc8cd012822241a6, < a9055dfe437efae77e28e57205437c878a03ccb7 | ≥ e87473bc1b6c2cb08f1b760cfc8cd012822241a6, < aa2a1df3a2c85f855af7d54466ac10bd48645d63 | 4.14
  • linux_kernel≥ 4.14, < 4.14.291 | ≥ 4.15, < 4.19.256 | ≥ 4.20, < 5.4.211 | ≥ 5.5, < 5.10.137 | ≥ 5.11, < 5.15.61 | ≥ 5.16, < 5.18.18 | ≥ 5.19, < 5.19.2
Debian1 product
  • linux< 6.0.2-1

3 vendors · 113 products

References

11 links
Show all 11 references