CVE-2025-21732
Description
A flaw was found in the Linux kernel's mlx5 network driver. A race condition can occur when deregistering a memory region while concurrently invalidating memory under On-Demand Paging (ODP). A local user with access to Remote Direct Memory Access (RDMA) devices can trigger this flaw to place the driver queue into an error state, resulting in a Denial of Service (DoS).
Statement
This vulnerability is rated as Moderate severity for Red Hat Enterprise Linux as exploitation requires local access and is restricted to systems utilizing Mellanox ConnectX network hardware configured with InfiniBand or RoCE RDMA capabilities. The flaw stems from a race condition during memory region deregistration and invalidation within the mlx5 driver, leading to a completion queue error that can cause a localized denial of service. Standard network operations using the core driver and systems without active On-Demand Paging (ODP) workloads are not exposed.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 5.5 | 4.7 | N/A |
| Attack Vector | Local | Local | N/A |
| Attack Complexity | Low | High | N/A |
| Privileges Required | Low | Low | N/A |
| User Interaction | None | None | N/A |
| Scope | Unchanged | Unchanged | N/A |
| Confidentiality | None | None | N/A |
| Integrity Impact | None | None | N/A |
| Availability Impact | High | High | N/A |
Vector
Red Hat: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Understanding the Weakness (CWE)
Integrity,Other
Technical Impact: Alter Execution Logic; Unexpected State
The main problem is that -- if a lock is overcome -- data could be altered in a bad state.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.