CVE-2025-21675: Linux kernel · net/mlx5: Clear port select structure when fail to create
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium · fixed in 6.8.0-1030.32~22.04.1 : update Linux kernel when convenient.
Data as of 24 Nov 2026, 19:55 UTC
- Patch
- Available – fixed in 6.8.0-1030.32~22.04.1, 6.8.0-1030.35~22.04.1, 6.8.0-1031.33~22.04.1 +31
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 31 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 23 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
- ubuntu.com/security/notices/USN-7445-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7448-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7595-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7596-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7595-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7596-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7595-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7595-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-7595-5 (opens in a new tab)
- ubuntu.com/security/notices/USN-7653-1 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-6.11pkg:deb/ubuntu/linux-azure-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-nvidiapkg:deb/ubuntu/linux-azure-nvidia?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available and has been released in Linux kernel versions 6.8.0 and later. Users should update their Linux kernel to a fixed version to remediate this vulnerability. After updating, a system reboot is required. Due to an ABI change, third-party kernel modules must be recompiled and reinstalled. Follow the vendor advisory instructions for updating and recompiling modules.
Description
CVE-2025-21675 is a vulnerability in the Linux kernel's Mellanox network driver (mlx5) where failure to clear the port select structure on error leads to double destruction of lag definers, causing a kernel crash due to a NULL pointer dereference. This flaw has been fixed in Linux kernel versions 6.8.0 and later. The vulnerability has a medium severity score and does not impact confidentiality or integrity but causes denial of service via kernel crash.
References
- ubuntu.com/security/CVE-2025-21675 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-21675 (opens in a new tab)
- git.kernel.org/linus/5641e82cb55b4ecbc6366a499300917d2f3e6790 (opens in a new tab)
- git.kernel.org/stable/c/1f6e619ef2a4def555b14ac2aeb4304bfccad59b (opens in a new tab)
- git.kernel.org/stable/c/473bc285378f49aa27e5b3e95a6d5ed12995d654 (opens in a new tab)
- git.kernel.org/stable/c/5641e82cb55b4ecbc6366a499300917d2f3e6790 (opens in a new tab)
- git.kernel.org/stable/c/efc92a260e23cf9fafb0b6f6c9beb6f8df93fab4 (opens in a new tab)
- ubuntu.com/security/notices/USN-7445-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7448-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7595-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7596-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7595-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7596-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7595-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7595-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-7595-5 (opens in a new tab)
- ubuntu.com/security/notices/USN-7653-1 (opens in a new tab)