CVE-2022-50134: RDMA/hfi1: fix potential memory leak in setup_base_ctxt()
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.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 5 · Related 5Timeline
- 18-06-2025PublishedVulnerability first disclosed.
- 11-05-2026Last 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- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
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
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
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