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.
Upstream advisory: https://lore.kernel.org/linux-cve-announce/2025120943-CVE-2022-50662-6595@gregkh/T