CVE-2023-2176
Linux Kernel vulnerability analysis and mitigation

Overview

A vulnerability was discovered in the Linux Kernel's RDMA (Remote Direct Memory Access) implementation, specifically in the comparenetdevand_ip function within drivers/infiniband/core/cma.c. The vulnerability was disclosed on April 20, 2023, and assigned identifier CVE-2023-2176. The issue stems from improper cleanup in the RDMA communication manager implementation, which can result in an out-of-bounds read condition (NVD, Ubuntu).

Technical details

The vulnerability occurs in the resolvepreparesrc() function which incorrectly handles destination address management. The function changes the destination address of the ID regardless of success, and on failure zeroes it out instead of maintaining the original address. This can lead to key mismatches or multiple IDs having the same key (zero) in the cm id tree, resulting in a slab-out-of-bounds read in the comparenetdevand_ip function. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (High) (NetApp Security).

Impact

When successfully exploited, this vulnerability can allow a local user to cause a system crash (denial of service) or potentially escalate privileges. The vulnerability can also lead to disclosure of sensitive information or modification of data (NetApp Security).

Mitigation and workarounds

The vulnerability has been fixed in various Linux kernel versions. Ubuntu has addressed the issue in version 6.2.0-25.25 for affected releases. Red Hat has also provided fixes for their Enterprise Linux distributions. Users are advised to update their systems to the patched versions (Ubuntu, Debian Security).

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-40344N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-devel
NoYesDec 09, 2025
CVE-2025-40343N/AN/A
  • Linux KernelLinux Kernel
  • bpftool
NoYesDec 09, 2025
CVE-2025-40342N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-trace
NoYesDec 09, 2025
CVE-2025-40341N/AN/A
  • Linux KernelLinux Kernel
  • kernel-headers
NoYesDec 09, 2025
CVE-2025-40340N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-modules-extra
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