CVE-2022-49671
Moderate
RDMA/cm: Fix memory leak in ib_cm_insert_listen
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.
Exploit probability
0.3%
Published
February 26, 2025
Required by
Not available
Last source change
August 12, 2026
02 / AFFECTED SOFTWARE
Affected packages
03 / CONNECTIONS
Connected vulnerabilities
04 / EVIDENCE
Source records
Open Source Vulnerabilities
CVE-2022-49671
View original source
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.
05 / REFERENCES
Further evidence
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
- https://git.kernel.org/stable/c/2990f223ffa7bb25422956b9f79f9176a5b38346
- https://git.kernel.org/stable/c/2febf09a8a8ae4accf908f043f1bab1421056568
- https://git.kernel.org/stable/c/889000874c1204e47c7f2a4945db262a47e7efc9
- https://git.kernel.org/stable/c/b0cab8b517aeaf2592c3479294f934209c41a26f
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49671.json
- https://nvd.nist.gov/vuln/detail/CVE-2022-49671