CVE-2022-50134
RDMA/hfi1: fix potential memory leak in setup_base_ctxt()
- Published
- Updated
- Reserved
- Assigned by
- Linux
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.
Timeline
ID reserved
By Linux
Published
- 17 months later
· 17 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.25% · top 83% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Weakness
Affected products
- affected e87473bc1b6c2cb08f1b760cfc8cd012822241a6 – < fc4de8009fd6c2ca51986c6757efa964040e7d02
- affected e87473bc1b6c2cb08f1b760cfc8cd012822241a6 – < 90ef48a718f88935d4af53d7dadd1ceafe103ce6
- affected e87473bc1b6c2cb08f1b760cfc8cd012822241a6 – < 2f90813f1c21c3d780585390af961bd17c8515ae
- affected e87473bc1b6c2cb08f1b760cfc8cd012822241a6 – < a85c7dd1edadcdeca24e603a6618153a3bcc81ca
- affected e87473bc1b6c2cb08f1b760cfc8cd012822241a6 – < e25b828553aecb3185a8d8d0c4f9b4e133fb5db6
- affected e87473bc1b6c2cb08f1b760cfc8cd012822241a6 – < 1750be1e9f18787cf717c24dbc5fa029fc372a22
- affected e87473bc1b6c2cb08f1b760cfc8cd012822241a6 – < a9055dfe437efae77e28e57205437c878a03ccb7
- affected e87473bc1b6c2cb08f1b760cfc8cd012822241a6 – < aa2a1df3a2c85f855af7d54466ac10bd48645d63
- affected 4.14
- unaffected < 4.14
- unaffected 4.14.291 – ≤ 4.14.*
- unaffected 4.19.256 – ≤ 4.19.*
- unaffected 5.4.211 – ≤ 5.4.*
- unaffected 5.10.137 – ≤ 5.10.*
- unaffected 5.15.61 – ≤ 5.15.*
- unaffected 5.18.18 – ≤ 5.18.*
- unaffected 5.19.2 – ≤ 5.19.*
- unaffected 6.0 – ≤ *
References (8)
- https://git.kernel.org/stable/c/fc4de8009fd6c2ca51986c6757efa964040e7d02 (opens in a new tab)
- https://git.kernel.org/stable/c/90ef48a718f88935d4af53d7dadd1ceafe103ce6 (opens in a new tab)
- https://git.kernel.org/stable/c/2f90813f1c21c3d780585390af961bd17c8515ae (opens in a new tab)
- https://git.kernel.org/stable/c/a85c7dd1edadcdeca24e603a6618153a3bcc81ca (opens in a new tab)
- https://git.kernel.org/stable/c/e25b828553aecb3185a8d8d0c4f9b4e133fb5db6 (opens in a new tab)
- https://git.kernel.org/stable/c/1750be1e9f18787cf717c24dbc5fa029fc372a22 (opens in a new tab)
- https://git.kernel.org/stable/c/a9055dfe437efae77e28e57205437c878a03ccb7 (opens in a new tab)
- https://git.kernel.org/stable/c/aa2a1df3a2c85f855af7d54466ac10bd48645d63 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-50134)Record last updated .