CVE & CISA-KEV Catalog

CVE-2025-21788

MEDIUM
5.5
CVSS v3
NVD

Description

In the Linux kernel, the following vulnerability has been resolved: net: ethernet: ti: am65-cpsw: fix memleak in certain XDP cases If the XDP program doesn't result in XDP_PASS then we leak the memory allocated by am65_cpsw_build_skb(). It is pointless to allocate SKB memory before running the XDP program as we would be wasting CPU cycles for cases other than XDP_PASS. Move the SKB allocation after evaluating the XDP program result. This fixes the memleak. A performance boost is seen for XDP_DROP test. XDP_DROP test: Before: 460256 rx/s 0 err/s After: 784130 rx/s 0 err/s

How to fix

Remediation Available
linuxDebian
Fixed in:6.12.16-1CVE-2025-21788
Fixed in:6.12.16-1CVE-2025-21788
linux-azure-6.11Ubuntu
Fixed in:6.11.0-1015.15~24.04.1USN-7521-1
linux-gcp-6.11Ubuntu
Fixed in:6.11.0-1015.15~24.04.1USN-7521-1
linux-hwe-6.11Ubuntu
Fixed in:6.11.0-26.26~24.04.1USN-7521-1
linux-image-6.11.0-1014-lowlatencyUbuntu
Fixed in:6.11.0-1014.15~24.04.1USN-7521-3
linux-image-6.11.0-1014-lowlatency-64kUbuntu
Fixed in:6.11.0-1014.15~24.04.1USN-7521-3
linux-image-6.11.0-1015-azureUbuntu
Fixed in:6.11.0-1015.15~24.04.1USN-7521-1
linux-image-6.11.0-1015-azure-fdeUbuntu
Fixed in:6.11.0-1015.15~24.04.1USN-7521-1
linux-image-6.11.0-1015-gcpUbuntu
Fixed in:6.11.0-1015.15~24.04.1USN-7521-1
linux-image-6.11.0-1015-gcp-64kUbuntu
Fixed in:6.11.0-1015.15~24.04.1USN-7521-1
linux-image-6.11.0-1022-oemUbuntu
Fixed in:6.11.0-1022.22USN-7521-1
linux-image-6.11.0-26-genericUbuntu
Fixed in:6.11.0-26.26~24.04.1USN-7521-1
linux-image-6.11.0-26-generic-64kUbuntu
Fixed in:6.11.0-26.26~24.04.1USN-7521-1
linux-image-azureUbuntu
Fixed in:6.11.0-1015.15~24.04.1USN-7521-1
linux-image-azure-fdeUbuntu
Fixed in:6.11.0-1015.15~24.04.1USN-7521-1
linux-image-gcpUbuntu
Fixed in:6.11.0-1015.15~24.04.1USN-7521-1
linux-image-gcp-64kUbuntu
Fixed in:6.11.0-1015.15~24.04.1USN-7521-1
linux-image-generic-64k-hwe-24.04Ubuntu
Fixed in:6.11.0-26.26~24.04.1USN-7521-1
linux-image-generic-hwe-24.04Ubuntu
Fixed in:6.11.0-26.26~24.04.1USN-7521-1
linux-image-lowlatency-64k-hwe-24.04Ubuntu
Fixed in:6.11.0-1014.15~24.04.1USN-7521-3
linux-image-lowlatency-hwe-24.04Ubuntu
Fixed in:6.11.0-1014.15~24.04.1USN-7521-3
linux-image-oem-24.04bUbuntu
Fixed in:6.11.0-1022.22USN-7521-1
linux-image-virtual-hwe-24.04Ubuntu
Fixed in:6.11.0-26.26~24.04.1USN-7521-1
linux-lowlatency-hwe-6.11Ubuntu
Fixed in:6.11.0-1014.15~24.04.1USN-7521-3
linux-oem-6.11Ubuntu
Fixed in:6.11.0-1022.22USN-7521-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

0.20%probability of exploitation in 30 days
10thpercentile

Low risk: more likely to be exploited than 10% of all known CVEs.

References

Related Vulnerabilities

Other CWE-401 (Missing Release of Memory (Memory Leak)) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2020-13934High7.564%-Fix
CVE-2016-6304High7.563%-Fix
CVE-2019-12265Medium5.355%-Fix
CVE-2001-0136Medium5.045%--
CVE-2016-4232High7.536%--
CVE-2001-0543Medium5.021%--
Embed a live status badge for CVE-2025-21788
CVE-2025-21788 severity badge

Markdown

[![CVE-2025-21788](https://tridentstack.com/cve/badge/CVE-2025-21788.svg)](https://tridentstack.com/cve/CVE-2025-21788)

HTML

<a href="https://tridentstack.com/cve/CVE-2025-21788"><img src="https://tridentstack.com/cve/badge/CVE-2025-21788.svg" alt="CVE-2025-21788"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-10-01.