CVE-2022-49671

published 26 Feb 2025 · updated 11 May 2026

RDMA/cm: Fix memory leak in ib_cm_insert_listen

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2990f223ffa7bb25422956b9f79f9176a5b38346, Kernel 2febf09a8a8ae4accf908f043f1bab1421056568, Kernel 889000874c1204e47c7f2a4945db262a47e7efc9 and 1 more.

In the Linux kernel, the following vulnerability has been resolved: RDMA/cm: Fix memory leak in ib_cm_insert_listen cm_alloc_id_priv() allocates resource for the cm_id_priv. When cm_init_listen() fails it doesn't free it, leading to memory leak. Add the missing error unwind.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.7, >=98f67156a80f37db70ec64787020b1f9bc8aea8c <2990f223ffa7bb25422956b9f79f9176a5b38346, >=98f67156a80f37db70ec64787020b1f9bc8aea8c <2febf09a8a8ae4accf908f043f1bab1421056568, >=98f67156a80f37db70ec64787020b1f9bc8aea8c <889000874c1204e47c7f2a4945db262a47e7efc9, >=98f67156a80f37db70ec64787020b1f9bc8aea8c <b0cab8b517aeaf2592c3479294f934209c41a26f2990f223ffa7bb25422956b9f79f9176a5b38346, 2febf09a8a8ae4accf908f043f1bab1421056568, 889000874c1204e47c7f2a4945db262a47e7efc9, b0cab8b517aeaf2592c3479294f934209c41a26f

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-49671 severity on Zeptric[![CVE-2022-49671](https://zeptric.io/badge/cve/CVE-2022-49671.svg)](https://zeptric.io/cve/CVE-2022-49671)