CVEvulnerability
CVE-2022-49671
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2025-02-26
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-401
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.
Affected configurations
• linux linux kernel (>= 5.7 < 5.10.129)
• linux linux kernel (>= 5.11 < 5.15.53)
• linux linux kernel (>= 5.16 < 5.18.10)
• linux linux kernel 5.19
Related
Weakness · CWE (1)
- CWE-401 Missing Release of Memory after Effective Lifetime weakness
References
- https://git.kernel.org/stable/c/2990f223ffa7bb25422956b9f79f9176a5b38346 Patch
- https://git.kernel.org/stable/c/2febf09a8a8ae4accf908f043f1bab1421056568 Patch
- https://git.kernel.org/stable/c/889000874c1204e47c7f2a4945db262a47e7efc9 Patch
- https://git.kernel.org/stable/c/b0cab8b517aeaf2592c3479294f934209c41a26f Patch