
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-49671 affects the Linux kernel's RDMA/cm (Remote Direct Memory Access/Connection Manager) component. The vulnerability was discovered in June 2022 and involves a memory leak in the ib_cm_insert_listen function. Specifically, when cm_init_listen() fails, it doesn't properly free the resources allocated by cm_alloc_id_priv(), leading to a memory leak (Kernel Git).
The vulnerability stems from a missing error handling path in the RDMA connection manager code. When the cm_alloc_id_priv() function allocates resources for the cm_id_priv structure and cm_init_listen() subsequently fails, the code fails to call ib_destroy_cm_id() to free the allocated resources. This results in a memory leak condition. The issue has been assigned a CVSS v3.1 base score of 5.5 (MEDIUM) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).
The vulnerability can lead to memory leaks in the Linux kernel's RDMA subsystem. While there is no direct impact on confidentiality or integrity, the availability of the system could be affected if the memory leak is triggered repeatedly, potentially leading to resource exhaustion (NVD).
The vulnerability has been fixed by adding proper error handling code that calls ib_destroy_cm_id() when cm_init_listen() fails. The fix has been implemented in multiple kernel versions through various stable tree commits (Kernel Git).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."