CVE-2025-21788

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
27/02/2025
Last modified:
27/02/2025

Description

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

Impact