CVE-2025-21662: Linux kernel · net/mlx5: Fix variable not being completed when function returns
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 30 Oct 2026, 01:01 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 21 Jan 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: 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 29 Oct 2026.
What to do
AI-suggested
A fix has been implemented in the Linux kernel to ensure that ent->slotted is completed before returning early from cmd_work_handler() when cmd_alloc_index() fails. Users should update to a kernel version that includes this fix.
Description
CVE-2025-21662 is a vulnerability in the Linux kernel's mlx5 network driver where a variable is not properly completed when a function returns early due to a failure in cmd_alloc_index(). This can cause tasks issuing commands to hang indefinitely, leading to a denial of service condition. The issue manifests as a blocked task waiting for completion that never occurs.
References
- nvd.nist.gov/vuln/detail/CVE-2025-21662 (opens in a new tab)
- git.kernel.org/stable/c/0e2909c6bec9048f49d0c8e16887c63b50b14647 (opens in a new tab)
- git.kernel.org/stable/c/229cc10284373fbe754e623b7033dca7e7470ec8 (opens in a new tab)
- git.kernel.org/stable/c/36124081f6ffd9dfaad48830bdf106bb82a9457d (opens in a new tab)
- git.kernel.org/stable/c/f0a2808767ac39f64b1d9a0ff865c255073cf3d4 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00001.html (opens in a new tab)