In the Linux kernel, the following vulnerability has been resolved:
RDMA/qedr: Fix potential memory leak in _qedralloc_mr()
_qedrallocmr() allocates a memory chunk for "mr->info.pbltable" with initmrinfo(). When rdmaalloctid() and rdmaregistertid() 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.pbltable" with qedrfree_pbl() when error occurs to fix the memory leak.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50138.json"
}