CVE-2022-50662

Source
https://cve.org/CVERecord?id=CVE-2022-50662
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50662.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50662
Downstream
Related
Published
2025-12-09T01:29:10.614Z
Modified
2026-03-20T12:22:36.831187Z
Summary
RDMA/hns: fix memory leak in hns_roce_alloc_mr()
Details

In the Linux kernel, the following vulnerability has been resolved:

RDMA/hns: fix memory leak in hnsrocealloc_mr()

When hnsrocemrenable() failed in hnsroceallocmr(), mr_key is not released. Compiled test only.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50662.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87
Fixed
164fa80330a81db67c26d10d071083941d29a510
Fixed
35f9cd060e68ff910e49bf37b1b0d336a311849a
Fixed
fd32e378bc1dea0d48767adf2bbb478581bb0a95
Fixed
fc2c43bf41c89e7451fe750025ae55eb2e2a741d
Fixed
a115aa00b18f7b8982b8f458149632caf64a862a

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50662.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.8.0
Fixed
5.10.163
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.86
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.0.16
Type
ECOSYSTEM
Events
Introduced
6.1.0
Fixed
6.1.2

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50662.json"