CVE-2022-49671
Linux Kernel vulnerability analysis and mitigation

Overview

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 ibcminsertlisten function. Specifically, when cminitlisten() fails, it doesn't properly free the resources allocated by cmallocidpriv(), leading to a memory leak (Kernel Git).

Technical details

The vulnerability stems from a missing error handling path in the RDMA connection manager code. When the cmallocidpriv() function allocates resources for the cmidpriv structure and cminitlisten() subsequently fails, the code fails to call ibdestroycmid() 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).

Impact

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).

Mitigation and workarounds

The vulnerability has been fixed by adding proper error handling code that calls ibdestroycmid() when cminit_listen() fails. The fix has been implemented in multiple kernel versions through various stable tree commits (Kernel Git).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40343MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-iot
NoYesDec 09, 2025
CVE-2025-40342MEDIUM6.4
  • Linux KernelLinux Kernel
  • kernel-rt-devel-matched
NoYesDec 09, 2025
CVE-2025-40340MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-hwe
NoYesDec 09, 2025
CVE-2025-40341MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-core
NoYesDec 09, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • libperf-devel
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management