Kernel memory exhaustion via unreleased RDMA key
Published Dec 9, 2025 · Updated May 11, 2026
Memory leak in the HNS RDMA driver in the Linux kernel allows attackers to exhaust kernel memory via unspecified vectors. When hns_roce_mr_enable() fails inside hns_roce_alloc_mr(), the error path returns without releasing the allocated mr_key. Public records do not describe how attackers can trigger that failure; successful repetition consumes kernel memory and can interrupt service.
Summary
What happened
Memory leak in the HNS RDMA driver in the Linux kernel allows attackers to exhaust kernel memory via unspecified vectors. When hns_roce_mr_enable() fails inside hns_roce_alloc_mr(), the error path returns without releasing the allocated mr_key. Public records do not describe how attackers can trigger that failure; successful repetition consumes kernel memory and can interrupt service.
The record
- CVE
- CVE-2022-50662
- Published
- Dec 9, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- Unavailable
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 9, 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=5.8
- Affected versionversion=9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87 <164fa80330a81db67c26d10d071083941d29a510
- Affected versionversion=9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87 <35f9cd060e68ff910e49bf37b1b0d336a311849a
- Affected versionversion=9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87 <a115aa00b18f7b8982b8f458149632caf64a862a
- Affected versionversion=9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87 <fc2c43bf41c89e7451fe750025ae55eb2e2a741d
- Affected versionversion=9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87 <fd32e378bc1dea0d48767adf2bbb478581bb0a95
What conditions does exploitation require?
What is affected?
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
No sourced classifications are available.
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