CVE-2022-50138

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-50138
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50138.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50138
Downstream
Related
Published
2025-06-18T11:15:43Z
Modified
2025-08-09T20:01:27Z
Summary
[none]
Details

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.

References

Affected packages