CVE-2022-49671 Details
Description
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.
A memory leak vulnerability has been identified in the Linux kernel's RDMA connection manager. The issue arises in the 'ib_cm_insert_listen' function, where resources allocated for 'cm_id_priv' are not properly freed if 'cm_init_listen' fails. This oversight leads to a memory leak, as the allocated resources remain unreturned. The vulnerability has been addressed by adding the necessary error handling to prevent the memory leak.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/2990f223ffa7bb25422956b9f79f9176a5b38346 | kernel.org | Patch |
| https://git.kernel.org/stable/c/2febf09a8a8ae4accf908f043f1bab1421056568 | kernel.org | Patch |
| https://git.kernel.org/stable/c/889000874c1204e47c7f2a4945db262a47e7efc9 | kernel.org | Patch |
| https://git.kernel.org/stable/c/b0cab8b517aeaf2592c3479294f934209c41a26f | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
| CWE-401 | Missing Release of Memory after Effective Lifetime | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.7, < 5.10.129 >= 5.11, < 5.15.53 >= 5.16, < 5.18.10 5.19 rc1 5.19 rc2 5.19 rc3 5.19 rc4 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 1, 2025 | CVE Modified | CISA-ADP |
| Mar 11, 2025 | Initial Analysis | [email protected] |
| Feb 26, 2025 | New CVE Received | kernel.org |