CVE-2022-50662
published 2025-12-09CVE-2022-50662: 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…
PriorityP417
EPSS
0.23%
14.5th percentile
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
15 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 6.1.4-1 (bookworm) | linux 6.1.4-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87 < 164fa80330a81db67c26d10d071083941d29a510 | 164fa80330a81db67c26d10d071083941d29a510 |
| linux | linux | >= 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87 < 35f9cd060e68ff910e49bf37b1b0d336a311849a | 35f9cd060e68ff910e49bf37b1b0d336a311849a |
| linux | linux | >= 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87 < fd32e378bc1dea0d48767adf2bbb478581bb0a95 | fd32e378bc1dea0d48767adf2bbb478581bb0a95 |
| linux | linux | >= 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87 < fc2c43bf41c89e7451fe750025ae55eb2e2a741d | fc2c43bf41c89e7451fe750025ae55eb2e2a741d |
| linux | linux | >= 9b2cf76c9f052987ae5c4ad450ebebdc7c5d7b87 < a115aa00b18f7b8982b8f458149632caf64a862a | a115aa00b18f7b8982b8f458149632caf64a862a |
| linux | linux_kernel | >= 0 < 5.10.178-1 | 5.10.178-1 |
| linux | linux_kernel | >= 0 < 6.1.4-1 | 6.1.4-1 |
| linux | linux_kernel | >= 0 < 6.1.4-1 | 6.1.4-1 |
| linux | linux_kernel | >= 0 < 6.1.4-1 | 6.1.4-1 |
| linux | linux_kernel | >= 5.11.0 < 5.15.86 | 5.15.86 |
| linux | linux_kernel | >= 5.16.0 < 6.0.16 | 6.0.16 |
| linux | linux_kernel | >= 5.8.0 < 5.10.163 | 5.10.163 |
| linux | linux_kernel | >= 6.1.0 < 6.1.2 | 6.1.2 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kernel: RDMA/hns: fix memory leak in hns_roce_alloc_mr()
vendor_redhat·2025-12-09
CVE-2022-50662 kernel: RDMA/hns: fix memory leak in hns_roce_alloc_mr()
kernel: RDMA/hns: fix memory leak in hns_roce_alloc_mr()
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.
Package: kernel (Red Hat Enterprise Linux 10) - Not affected
Package: kernel (Red Hat Enterprise Linux 6) - Not affected
Package: kernel (Red Hat Enterprise Linux 7) - Not affected
Package: kernel-rt (Red Hat Enterprise Linux 7) - Not affected
Package: kernel (Red Hat Enterprise Linux 8) - Not affected
Package: kernel-rt (Red Hat Enterprise Linux 8) - Not affected
Package: kernel (Red Hat Enterprise Linux 9) - Not affected
Package: kernel-rt (Red Hat Enterprise Linux 9) - Not affected
Debian
CVE-2022-50662: linux - In the Linux kernel, the following vulnerability has been resolved: RDMA/hns: f...
vendor_debian·2022
CVE-2022-50662 CVE-2022-50662: linux - In the Linux kernel, the following vulnerability has been resolved: RDMA/hns: f...
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.
Scope: local
bookworm: resolved (fixed in 6.1.4-1)
bullseye: resolved (fixed in 5.10.178-1)
forky: resolved (fixed in 6.1.4-1)
sid: resolved (fixed in 6.1.4-1)
trixie: resolved (fixed in 6.1.4-1)
OSV
RDMA/hns: fix memory leak in hns_roce_alloc_mr()
osv·2025-12-09
CVE-2022-50662 RDMA/hns: fix memory leak in hns_roce_alloc_mr()
RDMA/hns: fix memory leak in hns_roce_alloc_mr()
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.
GHSA
GHSA-h5c7-rmx3-jxq4: 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() faile
ghsa_unreviewed·2025-12-09
CVE-2022-50662 GHSA-h5c7-rmx3-jxq4: 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() faile
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.
OSV
CVE-2022-50662: 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
osv·2025-12-09
CVE-2022-50662 CVE-2022-50662: 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 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.
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/164fa80330a81db67c26d10d071083941d29a510https://git.kernel.org/stable/c/35f9cd060e68ff910e49bf37b1b0d336a311849ahttps://git.kernel.org/stable/c/a115aa00b18f7b8982b8f458149632caf64a862ahttps://git.kernel.org/stable/c/fc2c43bf41c89e7451fe750025ae55eb2e2a741dhttps://git.kernel.org/stable/c/fd32e378bc1dea0d48767adf2bbb478581bb0a95
2025-12-09
Published