Menu

Star on GitHub · 3.2k

CVE-2025-38373

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: IB/mlx5: Fix potential deadlock in MR deregistration The issue arises when kzalloc() is invoked while holding umem_mutex or any…

Published Jul 25, 2025CWE-667EPSS 0.12%

Overview

CVE-2025-38373 is a medium-severity vulnerability. It was published on July 25, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

IB/mlx5: Fix potential deadlock in MR deregistration

The issue arises when kzalloc() is invoked while holding umem_mutex or

any other lock acquired under umem_mutex. This is problematic because

kzalloc() can trigger fs_reclaim_aqcuire(), which may, in turn, invoke

mmu_notifier_invalidate_range_start(). This function can lead to

mlx5_ib_invalidate_range(), which attempts to acquire umem_mutex again,

resulting in a deadlock.

The problematic flow:

CPU0 | CPU1

---------------------------------------|------------------------------------------------

mlx5_ib_dereg_mr() |

→ revoke_mr() |

→ mutex_lock(&umem_odp->umem_mutex) |

| mlx5_mkey_cache_init()

| → mutex_lock(&dev->cache.rb_lock)

| → mlx5r_cache_create_ent_lo

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2025-38373?

CVE-2025-38373 is a medium-severity vulnerability. It was published on July 25, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2025-38373?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-38373?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-38373?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2025-38373 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2025

View all