CVE-2022-50138

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

published June 18, 2025

CVSS
—
EPSS
0%
Percentile
15.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00252 · 15.8th percentile
Published
2025-06-18T11:03Z
EPSS history
Timeline
  • 18 JUN 11:03Z
    RDMA/qedr: Fix potential memory leak in __qedr_alloc_mr()
    cvelistv5