CVE-2022-50662

RDMA/hns: fix memory leak in hns_roce_alloc_mr()

State
Published
Severity
Not scored
Published
Dec 9, 2025
Updated
May 11, 2026
Reserved
Dec 9, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87 to before 164fa80330a81db67c26d10d071083941d29a510Affected
  • 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87 to before 35f9cd060e68ff910e49bf37b1b0d336a311849aAffected
  • 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87 to before fd32e378bc1dea0d48767adf2bbb478581bb0a95Affected
  • 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87 to before fc2c43bf41c89e7451fe750025ae55eb2e2a741dAffected
  • 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87 to before a115aa00b18f7b8982b8f458149632caf64a862aAffected
LinuxLinux
  • 5.8Affected
  • before 5.8Not affected
  • 5.10.163 through 5.10.*Not affected
  • 5.15.86 through 5.15.*Not affected
  • 6.0.16 through 6.0.*Not affected
  • 6.1.2 through 6.1.*Not affected
  • 6.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.