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.