{"id":"CVE-2022-49671","summary":"RDMA/cm: Fix memory leak in ib_cm_insert_listen","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/cm: Fix memory leak in ib_cm_insert_listen\n\ncm_alloc_id_priv() allocates resource for the cm_id_priv. When\ncm_init_listen() fails it doesn't free it, leading to memory leak.\n\nAdd the missing error unwind.","modified":"2026-04-02T08:27:48.648293Z","published":"2025-02-26T02:24:04.608Z","related":["SUSE-SU-2025:1027-1","SUSE-SU-2025:1176-1","SUSE-SU-2025:1183-1","SUSE-SU-2025:1194-1","SUSE-SU-2025:1241-1","SUSE-SU-2025:1263-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49671.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2990f223ffa7bb25422956b9f79f9176a5b38346"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2febf09a8a8ae4accf908f043f1bab1421056568"},{"type":"WEB","url":"https://git.kernel.org/stable/c/889000874c1204e47c7f2a4945db262a47e7efc9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b0cab8b517aeaf2592c3479294f934209c41a26f"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49671.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49671"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"98f67156a80f37db70ec64787020b1f9bc8aea8c"},{"fixed":"b0cab8b517aeaf2592c3479294f934209c41a26f"},{"fixed":"889000874c1204e47c7f2a4945db262a47e7efc9"},{"fixed":"2febf09a8a8ae4accf908f043f1bab1421056568"},{"fixed":"2990f223ffa7bb25422956b9f79f9176a5b38346"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49671.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}