Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-50662

UNSCOREDEPSS 13%

RDMA/hns: fix memory leak in hns_roce_alloc_mr()

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87, < 164fa80330a81db67c26d10d071083941d29a510; >= 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87, < 35f9cd060e68ff910e49bf37b1b0d336a311849a; >= 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87, < fd32e378bc1dea0d48767adf2bbb478581bb0a95; >= 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87, < fc2c43bf41c89e7451fe750025ae55eb2e2a741d; >= 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87, < a115aa00b18f7b8982b8f458149632caf64a862a
  • Anyone running Linux 5.8

Vulnerability facts

Affected
Linux >= 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87, < 164fa80330a81db67c26d10d071083941d29a510; >= 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87, < 35f9cd060e68ff910e49bf37b1b0d336a311849a; >= 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87, < fd32e378bc1dea0d48767adf2bbb478581bb0a95; >= 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87, < fc2c43bf41c89e7451fe750025ae55eb2e2a741d; >= 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87, < a115aa00b18f7b8982b8f458149632caf64a862a; Linux 5.8
Fixed in
Linux 164fa80330a81db67c26d10d071083941d29a510, Linux 35f9cd060e68ff910e49bf37b1b0d336a311849a
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
EPSS
0.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
Published
Modified

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 and fixed versions

Package / productAffectedFixedSource
Linux>= 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87, < 164fa80330a81db67c26d10d071083941d29a510; >= 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87, < 35f9cd060e68ff910e49bf37b1b0d336a311849a; >= 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87, < fd32e378bc1dea0d48767adf2bbb478581bb0a95; >= 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87, < fc2c43bf41c89e7451fe750025ae55eb2e2a741d; >= 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87, < a115aa00b18f7b8982b8f458149632caf64a862a—cvelist
Linux5.8—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2022-50662. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50662.md
Affected: Linux >= 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87, < 164fa80330a81db67c26d10d071083941d29a510; >= 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87, < 35f9cd060e68ff910e49bf37b1b0d336a311849a; >= 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87, < fd32e378bc1dea0d48767adf2bbb478581bb0a95; >= 9b2cf76c9f052987ae5c4ad…
Fixed in: Linux 164fa80330a81db67c26d10d071083941d29a510, Linux 35f9cd060e68ff910e49bf37b1b0d336a311849a

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2022-50662 being exploited?

There is no confirmed exploitation: CVE-2022-50662 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2022-50662?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2022-50662?

Linux >= 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87, < 164fa80330a81db67c26d10d071083941d29a510; >= 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87, < 35f9cd060e68ff910e49bf37b1b0d336a311849a; >= 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87, < fd32e378bc1dea0d48767adf2bbb478581bb0a95; >= 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87, < fc2c43bf41c89e7451fe750025ae55eb2e2a741d; >= 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87, < a115aa00b18f7b8982b8f458149632caf64a862a; Linux 5.8.

Is there a fix for CVE-2022-50662?

Yes. Fixed in Linux 164fa80330a81db67c26d10d071083941d29a510, Linux 35f9cd060e68ff910e49bf37b1b0d336a311849a. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2022-50662?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors