Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 98f67156a80f37db70ec64787020b1f9bc8aea8c before b0cab8b517aeaf2592c3479294f934209c41a26f; affected 98f67156a80f37db70ec64787020b1f9bc8aea8c before 889000874c1204e47c7f2a4945db262a47e7efc9; affected 98f67156a80f37db70ec64787020b1f9bc8aea8c before 2febf09a8a8ae4accf908f043f1bab1421056568; affected 98f67156a80f37db70ec64787020b1f9bc8aea8c before 2990f223ffa7bb25422956b9f79f9176a5b38346 |
| Linux / Linux | affected 5.7; unaffected 0 before 5.7; unaffected 5.10.129 through 5.10.*; unaffected 5.15.53 through 5.15.*; unaffected 5.18.10 through 5.18.*; unaffected 5.19 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/b0cab8b517aeaf2592c3479294f934209c41a26f
- https://git.kernel.org/stable/c/889000874c1204e47c7f2a4945db262a47e7efc9
- https://git.kernel.org/stable/c/2febf09a8a8ae4accf908f043f1bab1421056568
- https://git.kernel.org/stable/c/2990f223ffa7bb25422956b9f79f9176a5b38346
ADP enrichment
No English description supplied.
No references supplied.