CVE-2022-50662
JSON

Not scored

RDMA/hns: fix memory leak in hns_roce_alloc_mr()

Severity
Not scored
Exploit likelihood
0.26% (higher than 18% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: RDMA/hns: fix memory leak in hns_roce_alloc_mr() When hns_roce_mr_enable() failed in hns_roce_alloc_mr(), mr_key is not released. Compiled test only.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87 before 164fa80330a81db67c26d10d071083941d29a510, from 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87 before 35f9cd060e68ff910e49bf37b1b0d336a311849a, from 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87 before fd32e378bc1dea0d48767adf2bbb478581bb0a95, from 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87 before fc2c43bf41c89e7451fe750025ae55eb2e2a741d, from 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87 before a115aa00b18f7b8982b8f458149632caf64a862a, 5.8
Not affected: before 5.8, from 5.10.163 up to 5.10.*, from 5.15.86 up to 5.15.*, from 6.0.16 up to 6.0.*, from 6.1.2 up to 6.1.*, from 6.2 up to *
CVE List

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: RDMA/hns: fix memory leak in hns_roce_alloc_mr() When hns_roce_mr_enable() failed in hns_roce_alloc_mr(), mr_key is not released. Compiled test only.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: RDMA/hns: corrección de fuga de memoria en hns_roce_alloc_mr() Cuando hns_roce_mr_enable() falló en hns_roce_alloc_mr(), mr_key no es liberado. Solo prueba compilada.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-50662 changed 2026-05-11CVE Terms of Use
NVDCVE-2022-50662 changed 2026-11-10Public domain