Skip to main content
VulnerabilityPublished Updated

CVE-2025-21751: Linux kernel · net/mlx5: HWS, change error flow on matcher disconnect

Affects Linux kernelSource GCVE Database

0
Compare

Not known to be exploited · CVSS 7.8 High.

Data as of 24 Nov 2026, 19:47 UTC

CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 27 Feb 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSlinux-azure-6.11pkg:deb/ubuntu/linux-azure-6.11?arch=source&distro=nobleOther threatsAffected
  • 6.11.0-1008.8~24.04.1 – 6.11.0-1018.18~24.04.1
7 affected builds
Fixed in–
Ubuntu 24.04 LTSlinux-gcp-6.11pkg:deb/ubuntu/linux-gcp-6.11?arch=source&distro=nobleOther threatsAffected
  • 6.11.0-1006.6~24.04.2 – 6.11.0-1017.17~24.04.1
7 affected builds
Fixed in–
Ubuntu 24.04 LTSlinux-hwe-6.11pkg:deb/ubuntu/linux-hwe-6.11?arch=source&distro=nobleOther threatsAffected
  • 6.11.0-17.17~24.04.2 – 6.11.0-29.29~24.04.1
8 affected builds
Fixed in–
Ubuntu 24.04 LTSlinux-intelpkg:deb/ubuntu/linux-intel?arch=source&distro=nobleOther threatsAffected
  • =6.8.0-1005.12
  • =6.8.0-1006.13
  • =6.8.0-1007.14
Fixed in–
Ubuntu 24.04 LTSlinux-lowlatency-hwe-6.11pkg:deb/ubuntu/linux-lowlatency-hwe-6.11?arch=source&distro=nobleOther threatsAffected
  • 6.11.0-1009.10~24.04.1 – 6.11.0-1016.17~24.04.1
7 affected builds
Fixed in–
Ubuntu 24.04 LTSlinux-nvidia-6.11pkg:deb/ubuntu/linux-nvidia-6.11?arch=source&distro=nobleOther threatsAffected
  • 6.11.0-1002.2 – 6.11.0-1016.16
8 affected builds
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 patch has been applied to correct the error handling in the mlx5 driver to prevent use-after-free crashes. Users should update to a fixed Linux kernel version containing this patch. Since this is a kernel-level vulnerability, applying the vendor-provided kernel updates is the recommended remediation. No additional mitigations are indicated.

Description

CVE-2025-21751 is a high-severity vulnerability in the Linux kernel's mlx5 network driver. It involves improper error handling during the matcher disconnect flow when a firmware failure occurs. The flawed error flow attempts to reconnect a matcher that is being disconnected, leading to a use-after-free condition and potential system crash. The patch changes the error handling to avoid reconnecting on firmware command failure, preventing crashes but possibly causing resource leakage or incorrect steering states.

References

Community reviews

Loading reviews…