Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-21732

4.7 · MEDIUM
Published Feb 27, 2025 linux CWE-362 EPSS 0.14% (3th pctl)

Overview

CVE-2025-21732 is a medium-severity vulnerability affecting linux linux_kernel. It was published on February 27, 2025 and has a CVSS 3.1 base score of 4.7 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 4.7, 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:

RDMA/mlx5: Fix a race for an ODP MR which leads to CQE with error

This patch addresses a race condition for an ODP MR that can result in a

CQE with an error on the UMR QP.

During the __mlx5_ib_dereg_mr() flow, the following sequence of calls

occurs:

mlx5_revoke_mr()

mlx5r_umr_revoke_mr()

mlx5r_umr_post_send_wait()

At this point, the lkey is freed from the hardware's perspective.

However, concurrently, mlx5_ib_invalidate_range() might be triggered by

another task attempting to invalidate a range for the same freed lkey.

This task will:

- Acquire the umem_odp->umem_mutex lock.

- Call mlx5r_umr_update_xlt() on the UMR QP.

- Since the lkey has already been freed, this can lead to a CQE error,

causing the UMR QP to enter an error state [1].

To resolve this race condition, the umem_odp->umem_mutex lock is now also

acquired as part of the mlx5_revoke_mr() scope. Upon successful revoke,

we set umem_odp->privat

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. 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.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 5.13, < 6.12.14 Affected

Frequently Asked Questions

What is CVE-2025-21732?

CVE-2025-21732 is a medium-severity vulnerability affecting linux linux_kernel. It was published on February 27, 2025 and has a CVSS 3.1 base score of 4.7 (MEDIUM).

How severe is CVE-2025-21732?

This vulnerability has a CVSS 3.1 base score of 4.7, 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-21732?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. 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-21732?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-21732 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.