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 HatNVDcve.org
Base Score5.54.7N/A
Attack VectorLocalLocalN/A
Attack ComplexityLowHighN/A
Privileges RequiredLowLowN/A
User InteractionNoneNoneN/A
ScopeUnchangedUnchangedN/A
ConfidentialityNoneNoneN/A
Integrity ImpactNoneNoneN/A
Availability ImpactHighHighN/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

Want to get errata notifications? Sign up here.