Kernel-memory exhaustion via failed context setup
Published Jun 18, 2025 · Updated May 11, 2026
Memory leak in Linux kernel RDMA/hfi1 4.14 through 5.19.1 allows local users to consume kernel memory during context setup. setup_base_ctxt() allocates uctxt->groups through hfi1_alloc_ctxt_rcv_groups() but omits hfi1_free_ctxt_rcv_groups() when init_user_ctxt() fails. Reachability requires local low-privileged access to an HFI1 user context on Intel Omni-Path hardware; repeated failures can exhaust kernel memory and interrupt service.
Summary
What happened
Memory leak in Linux kernel RDMA/hfi1 4.14 through 5.19.1 allows local users to consume kernel memory during context setup. setup_base_ctxt() allocates uctxt->groups through hfi1_alloc_ctxt_rcv_groups() but omits hfi1_free_ctxt_rcv_groups() when init_user_ctxt() fails. Reachability requires local low-privileged access to an HFI1 user context on Intel Omni-Path hardware; repeated failures can exhaust kernel memory and interrupt service.
The record
- CVE
- CVE-2022-50134
- Published
- Jun 18, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-401, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 18, 2025CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=4.14
- Affected versionversion=e87473bc1b6c2cb08f1b760cfc8cd012822241a6 <1750be1e9f18787cf717c24dbc5fa029fc372a22
- Affected versionversion=e87473bc1b6c2cb08f1b760cfc8cd012822241a6 <2f90813f1c21c3d780585390af961bd17c8515ae
- Affected versionversion=e87473bc1b6c2cb08f1b760cfc8cd012822241a6 <90ef48a718f88935d4af53d7dadd1ceafe103ce6
- Affected versionversion=e87473bc1b6c2cb08f1b760cfc8cd012822241a6 <a85c7dd1edadcdeca24e603a6618153a3bcc81ca
- Affected versionversion=e87473bc1b6c2cb08f1b760cfc8cd012822241a6 <a9055dfe437efae77e28e57205437c878a03ccb7
- Affected versionversion=e87473bc1b6c2cb08f1b760cfc8cd012822241a6 <aa2a1df3a2c85f855af7d54466ac10bd48645d63
- Affected versionversion=e87473bc1b6c2cb08f1b760cfc8cd012822241a6 <e25b828553aecb3185a8d8d0c4f9b4e133fb5db6
- Affected versionversion=e87473bc1b6c2cb08f1b760cfc8cd012822241a6 <fc4de8009fd6c2ca51986c6757efa964040e7d02
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo