Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.7, < 5.10.129 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/2990f223ffa7bb25422956b9f79f9176a5b38346Patch
- https://git.kernel.org/stable/c/2febf09a8a8ae4accf908f043f1bab1421056568Patch
- https://git.kernel.org/stable/c/889000874c1204e47c7f2a4945db262a47e7efc9Patch
- https://git.kernel.org/stable/c/b0cab8b517aeaf2592c3479294f934209c41a26fPatch
FAQ
What is CVE-2022-49671?
CVE-2022-49671 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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() fa...
How severe is CVE-2022-49671?
CVE-2022-49671 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-49671?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.