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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2022-50138
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2022-50138.html
Vendor advisory: redhat — https://access.redhat.com/errata/RHSA-2023:2458
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| rhel | 9 | fixed | |
| sles | affected | | |
| debian | bookworm | fixed | 6.0.2-1 |
| debian | bullseye | fixed | 5.10.140-1 |
| debian | forky | fixed | 6.0.2-1 |
| debian | sid | fixed | 6.0.2-1 |
| debian | trixie | fixed | 6.0.2-1 |
References
Verify integrity in audit chain (admin only). AS-IS.