1. CVE archive
  2. 2025
  3. CVE-2025-71084

CVE-2025-71084

5.5 Medium severity CVSS v3.1 · source NVD CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H 5.5 – Medium

Description

In the Linux kernel, the following vulnerability has been resolved: RDMA/cm: Fix leaking the multicast GID table reference If the CM ID is destroyed while the CM event for multicast creating is still queued the cancel_work_sync() will prevent the work from running which also prevents destroying the ah_attr. This leaks a refcount and triggers a WARN: GID entry ref leak for dev syz1 index 2 ref=573 WARNING: CPU: 1 PID: 655 at drivers/infiniband/core/cache.c:809 release_gid_table drivers/infiniband/core/cache.c:806 [inline] WARNING: CPU: 1 PID: 655 at drivers/infiniband/core/cache.c:809 gid_table_release_one+0x284/0x3cc drivers/infiniband/core/cache.c:886 Destroy the ah_attr after canceling the work, it is safe to call this twice.

Affected products

VendorProductVersionPlatform
linux linux kernel >= 5.10.20 < 5.10.248 –
linux linux kernel >= 5.11.3 < 5.12 –
linux linux kernel >= 5.12.1 < 5.15.198 –
linux linux kernel >= 5.16 < 6.1.160 –
linux linux kernel >= 6.2 < 6.6.120 –
linux linux kernel >= 6.7 < 6.12.64 –
linux linux kernel >= 6.13 < 6.18.4 –
linux linux kernel 5.12 –
linux linux kernel 6.19 rc1 –
linux linux kernel 6.19 rc2 –
linux linux kernel 6.19 rc3 –
linux linux kernel 6.19 rc4 –
linux linux kernel 6.19 rc5 –
linux linux kernel 6.19 rc6 –
linux linux kernel 6.19 rc7 –
linux linux kernel 6.19 rc8 –
All 24,148 Linux Kernel vulnerabilities

Vulnerability type

CWE-401 Missing Release of Memory after Effective Lifetime

The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.

Impact on systems

ScopeImpact
Availability DoS: Crash, Exit, or Restart, DoS: Instability, DoS: Resource Consumption (CPU), DoS: Resource Consumption (Memory)
Most memory leaks result in general product reliability problems, but if an attacker can intentionally trigger a memory leak, the attacker might be able to launch a denial of service attack (by crashing or hanging the program) or take advantage of other unexpected program behavior resulting from a low memory condition.
Other Reduce Performance

How to prevent it

Implementation · Libraries or Frameworks Choose a language or tool that provides automatic memory management, or makes manual memory management less error-prone. For example, glibc in Linux provides protection against free of invalid pointers. When using Xcode to target OS X or iOS, enable automatic reference counting (ARC). To help correctly and consistently manage memory when programming in C++, consider using a smart pointer class such as std
Architecture and Design Use an abstraction library to abstract away risky APIs. Not a complete solution.
Architecture and Design · Build and Compilation Consider using the Boehm-Demers-Weiser garbage collector (bdwgc), which can help avoid leaks.

All 2,074 CWE-401 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org