CVE-2025-21674: Linux kernel · net/mlx5e: Fix inversion dependency warning while enabling IPsec tunnel
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 patch is available and should be applied by updating to Linux kernel versions 6.8.0-1030.32~22.04.1 or later as provided by the vendor. After updating, a system reboot is required. Due to ABI changes, third-party kernel modules must be recompiled and reinstalled. No other mitigation is necessary as the issue is resolved by the official fix.
Description
CVE-2025-21674 is a vulnerability in the Linux kernel's Mellanox network driver (mlx5e) related to IPsec tunnel packet offload. It causes a kernel panic due to improper lock handling and dependency inversion when enabling IPsec tunnel mode, specifically involving incorrect use of locking variants and unnecessary workqueue flushes. This flaw can lead to deadlocks and system crashes. The issue affects multiple Linux kernel versions prior to 6.8.0-1030.32~22.04.1 and related builds. A fix has been released in Linux kernel versions 6.8.0-1030.32~22.04.1 and later. The vulnerability has a medium severity with a CVSS score of 5.5 and does not impact confidentiality or integrity but affects availability due to kernel panics.
References
- ubuntu.com/security/CVE-2025-21674 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-21674 (opens in a new tab)
- git.kernel.org/linus/2c3688090f8a1f085230aa839cc63e4a7b977df0 (opens in a new tab)
- git.kernel.org/stable/c/2c3688090f8a1f085230aa839cc63e4a7b977df0 (opens in a new tab)
- git.kernel.org/stable/c/6d3d69c070d920fbb146d73dd3899a50f25d0901 (opens in a new tab)
- git.kernel.org/stable/c/87c4417a902151cfe4363166245a3671a08c256c (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)