CVE-2025-40250: Linux kernel · net/mlx5: Clean up only new IRQ glue on request_irq() failure
Source GCVE Database
Not known to be exploited · CVSS 7.8 High.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 4% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 4 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
AI-suggested
A fix for this vulnerability has been implemented in the Linux kernel to correct the cleanup behavior in mlx5_irq_alloc(). Users should apply the official kernel updates that include this patch to resolve the issue. Patch status is not explicitly confirmed in the provided data; therefore, check the vendor or Linux kernel advisory for the current remediation guidance and apply the update accordingly.
Description
A vulnerability in the Linux kernel's mlx5 driver was resolved that caused improper cleanup on request_irq() failure. The mlx5_irq_alloc() function could free the entire IRQ mapping (rmap) instead of just the failed allocation, leading to crashes when other threads accessed freed mappings. This issue occurs when IRQ vectors are exhausted and affects configurations with both fwctl and rds enabled. The fix ensures only the newly added IRQ mapping is removed on failure, preventing unintended removal of valid mappings and system crashes.
References
- nvd.nist.gov/vuln/detail/CVE-2025-40250 (opens in a new tab)
- cert-portal.siemens.com/productcert/html/ssa-253495.html (opens in a new tab)
- git.kernel.org/stable/c/4d6b4bea8b80bfa13c903ba547538249e7c5e977 (opens in a new tab)
- git.kernel.org/stable/c/69e043bce09c9a77e5f55b9ac7505874a2a1a9f0 (opens in a new tab)
- git.kernel.org/stable/c/6ebd02cf2dde11b86f89ea4c9f55179eab30d4ee (opens in a new tab)
- git.kernel.org/stable/c/d47515af6cccd7484d8b0870376858c9848a18ec (opens in a new tab)