CVE-2026-43039: net: ti: icssg-prueth: fix missing data copy and wrong recycle in ZC RX dispatch
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
net: ti: icssg-prueth: fix missing data copy and wrong recycle in ZC RX dispatch
emac_dispatch_skb_zc() allocates a new skb via napi_alloc_skb() but never copies the packet data from the XDP buffer into it. The skb is passed up the stack containing uninitialized heap memory instead of the actual received packet, leaking kernel heap contents to userspace.
Copy the received packet data from the XDP buffer into the skb using skb_copy_to_linear_data().
Additionally, remove the skb_mark_for_recycle() call since the skb is backed by the NAPI page frag allocator, not page_pool. Marking a non-page_pool skb for recycle causes the free path to return pages to a page_pool that does not own them, corrupting page_pool state.
The non-ZC path (emac_rx_packet) does not have these issues because it uses napi_build_skb() to wrap the existing page_pool page directly, requiring no copy, and correctly marks for recycle since the page comes from page_pool_dev_alloc_pages().
The Linux kernel CVE team has assigned CVE-2026-43039 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.19 with commit 7a64bb388df3cf091afdd047c701039a13acd3b4 and fixed in 6.19.12 with commit a968438d4fc17ee1dcdc3cfa490dcb5e7709cf76 Issue introduced in 6.19 with commit 7a64bb388df3cf091afdd047c701039a13acd3b4 and fixed in 7.0 with commit 5597dd284ff8c556c0b00f6a34473677426e3f81
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-43039
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/a968438d4fc17ee1dcdc3cfa490dcb5e7709cf76 https://git.kernel.org/stable/c/5597dd284ff8c556c0b00f6a34473677426e3f81