VYPR
Unrated severityNVD Advisory· Published Jun 18, 2025

RDMA/qedr: Fix potential memory leak in __qedr_alloc_mr()

CVE-2022-50138

Description

In the Linux kernel, the following vulnerability has been resolved:

RDMA/qedr: Fix potential memory leak in __qedr_alloc_mr()

__qedr_alloc_mr() allocates a memory chunk for "mr->info.pbl_table" with init_mr_info(). When rdma_alloc_tid() and rdma_register_tid() fail, "mr" is released while "mr->info.pbl_table" is not released, which will lead to a memory leak.

We should release the "mr->info.pbl_table" with qedr_free_pbl() when error occurs to fix the memory leak.

Affected products

126

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

5

News mentions

0

No linked articles in our index yet.