CVE-2025-21788: Linux kernel · net: ethernet: ti: am65-cpsw: fix memleak in certain XDP cases
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.5 High · fixed in 6.11.0-1015.15~24.04.1 : patch Linux kernel soon.
Data as of 24 Nov 2026, 19:45 UTC
- Patch
- Available – fixed in 6.11.0-1015.15~24.04.1, 6.11.0-26.26~24.04.1, 6.11.0-1014.15~24.04.1 +2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | 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-gcp-6.11pkg:deb/ubuntu/linux-gcp-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-hwe-6.11pkg:deb/ubuntu/linux-hwe-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-lowlatency-hwe-6.11pkg:deb/ubuntu/linux-lowlatency-hwe-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-nvidia-6.11pkg:deb/ubuntu/linux-nvidia-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-oem-6.11pkg:deb/ubuntu/linux-oem-6.11?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 upgrading to Linux kernel versions 6.11.0-1015.15~24.04.1 or later as listed in the fixedVersions. Applying the official kernel updates from the vendor (Ubuntu security notice USN-7521-1) resolves the issue. No additional mitigations are required beyond applying the update.
Description
A memory leak vulnerability in the Linux kernel's ti am65-cpsw Ethernet driver related to XDP program handling has been fixed. The issue occurs when the XDP program does not return XDP_PASS, causing allocated SKB memory to leak. The fix moves SKB allocation to after the XDP program result evaluation, preventing the leak and improving performance for XDP_DROP cases.
References
- ubuntu.com/security/CVE-2025-21788 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-21788 (opens in a new tab)
- git.kernel.org/linus/5db843258de1e4e6b1ef1cbd1797923c9e3de548 (opens in a new tab)
- git.kernel.org/stable/c/1bba1d042107167164a0ae3a843fdf650ab005d7 (opens in a new tab)
- git.kernel.org/stable/c/5db843258de1e4e6b1ef1cbd1797923c9e3de548 (opens in a new tab)
- git.kernel.org/stable/c/dc11f049612b9d926aca2e55f8dc9d82850d0da3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7521-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7521-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7521-3 (opens in a new tab)