CVE-2025-21717: Linux kernel · net/mlx5e: add missing cpu_to_node to kvzalloc_node in mlx5e_open_xdpredirect_sq
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.8 High.
Data as of 24 Nov 2026, 19:52 UTC
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 27 Feb 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
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinux-raspi-realtimepkg:deb/ubuntu/linux-raspi-realtime?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-allwinner-5.19pkg:deb/ubuntu/linux-allwinner-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-aws-5.19pkg:deb/ubuntu/linux-aws-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-aws-6.2pkg:deb/ubuntu/linux-aws-6.2?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-aws-6.5pkg:deb/ubuntu/linux-aws-6.5?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-azure-5.19pkg:deb/ubuntu/linux-azure-5.19?arch=source&distro=jammyOther 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 for this vulnerability. Users should update to patched versions of the linux-hwe-edge kernel as listed in the affectedVersions field. No additional mitigation steps are indicated beyond applying the official fix.
Description
A vulnerability in the Linux kernel's mlx5e driver was fixed by adding a missing cpu_to_node conversion in the kvzalloc_node call within mlx5e_open_xdpredirect_sq. Without this fix, operations that trigger mlx5e_open on CPUs with IDs larger than MAX_NUMNODES can cause out-of-bounds memory access and kernel panic. This affects certain versions of the linux-hwe-edge kernel.
References
- ubuntu.com/security/CVE-2025-21717 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-21717 (opens in a new tab)
- git.kernel.org/linus/979284535aaf12a287a2f43d9d5dfcbdc1dc4cac (opens in a new tab)
- git.kernel.org/stable/c/979284535aaf12a287a2f43d9d5dfcbdc1dc4cac (opens in a new tab)
- git.kernel.org/stable/c/a275db45b4161d01716559dd7557db9ea0450952 (opens in a new tab)