Skip to contentSkip to conversation

CVE-2026-23453: net: ti: icssg-prueth: Fix memory leak in XDP_DROP for non-zero-copy mode

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Apr 3

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

net: ti: icssg-prueth: Fix memory leak in XDP_DROP for non-zero-copy mode

Page recycling was removed from the XDP_DROP path in emac_run_xdp() to avoid conflicts with AF_XDP zero-copy mode, which uses xsk_buff_free() instead.

However, this causes a memory leak when running XDP programs that drop packets in non-zero-copy mode (standard page pool mode). The pages are never returned to the page pool, leading to OOM conditions.

Fix this by handling cleanup in the caller, emac_rx_packet(). When emac_run_xdp() returns ICSSG_XDP_CONSUMED for XDP_DROP, the caller now recycles the page back to the page pool. The zero-copy path, emac_rx_packet_zc() already handles cleanup correctly with xsk_buff_free().

The Linux kernel CVE team has assigned CVE-2026-23453 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.19 with commit 7a64bb388df3cf091afdd047c701039a13acd3b4 and fixed in 6.19.10 with commit d16d57dedcb69c1a1257e0638f8698ce1f0ccbe5
	Issue introduced in 6.19 with commit 7a64bb388df3cf091afdd047c701039a13acd3b4 and fixed in 7.0-rc5 with commit 719d3e71691db7c4f1658ba5a6d1472928121594

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-23453

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/net/ethernet/ti/icssg/icssg_common.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/d16d57dedcb69c1a1257e0638f8698ce1f0ccbe5
	https://git.kernel.org/stable/c/719d3e71691db7c4f1658ba5a6d1472928121594