CVE Database›Document archive›CVE-2025-40250

CVE-2025-40250

kernel: net/mlx5: Clean up only new IRQ glue on request_irq() failure

Loading…

Severity

Moderate

Red Hat Product Security

4.7

CVSS 3.1

Review impact separately from score.

Published · December 4, 2025

Updated · July 30, 2026

Description

Error handling in mlx5_irq_alloc() destroys the entire CPU affinity rmap instead of just the failed mapping when request_irq() returns an error. Concurrent threads accessing the rmap trigger a general protection fault as they dereference freed memory. The crash signature shows free_irq_cpu_rmap() accessing corrupted pointers during IRQ vector exhaustion scenarios.

Statement

Mellanox NICs configured with both fwctl and RDS are particularly susceptible. IRQ vector exhaustion creates the error condition; high-density virtualized environments with many network-intensive workloads have elevated risk.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 4.7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE-911 · Improper Update of Reference Count