{"id":"CVE-2022-50138","published":"2025-06-18T11:03:01Z","modified":"2026-05-11T19:13:33Z","title":"RDMA/qedr: Fix potential memory leak in __qedr_alloc_mr()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/qedr: Fix potential memory leak in __qedr_alloc_mr()\n\n__qedr_alloc_mr() allocates a memory chunk for \"mr->info.pbl_table\" with\ninit_mr_info(). When rdma_alloc_tid() and rdma_register_tid() fail, \"mr\"\nis released while \"mr->info.pbl_table\" is not released, which will lead\nto a memory leak.\n\nWe should release the \"mr->info.pbl_table\" with qedr_free_pbl() when error\noccurs to fix the memory leak.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00263,"percentile":0.18316,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/79ce50dddaf28b5c57911ecc80a2be17a0b17f83","tags":[]},{"url":"https://git.kernel.org/stable/c/7e647a8d5fc0a2c8e0f36f585a6388286a25bb15","tags":[]},{"url":"https://git.kernel.org/stable/c/07ba048df306dc93fc4d2ef670b9e24644a2069f","tags":[]},{"url":"https://git.kernel.org/stable/c/b4c9f7db9f0148423557539af0fdf513338efe08","tags":[]},{"url":"https://git.kernel.org/stable/c/b3236a64ddd125a455ef5b5316c1b9051b732974","tags":[]}],"priority":{"score":3.7,"factors":[{"name":"EPSS percentile","points":3.66}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= e0290cce6ac02f8e5ec501f25f6f6900f384550c, < 79ce50dddaf28b5c57911ecc80a2be17a0b17f83",">= e0290cce6ac02f8e5ec501f25f6f6900f384550c, < 7e647a8d5fc0a2c8e0f36f585a6388286a25bb15",">= e0290cce6ac02f8e5ec501f25f6f6900f384550c, < 07ba048df306dc93fc4d2ef670b9e24644a2069f",">= e0290cce6ac02f8e5ec501f25f6f6900f384550c, < b4c9f7db9f0148423557539af0fdf513338efe08",">= e0290cce6ac02f8e5ec501f25f6f6900f384550c, < b3236a64ddd125a455ef5b5316c1b9051b732974"]},{"vendor":"Linux","product":"Linux","versions":["4.9"]}],"euvd":{"id":"EUVD-2022-55404","exploited":false,"provenance":"source"}}