Thread (4 messages) 4 messages, 3 authors, 2026-03-27

Re: [PATCH] net: ti: icssg-prueth: fix missing data copy and wrong recycle in ZC RX dispatch

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-03-27 12:10:24
Also in: linux-arm-kernel, lkml

Hello:

This patch was applied to netdev/net.git (main)
by David S. Miller [off-list ref]:

On Wed, 25 Mar 2026 12:51:30 +0000 you wrote:
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().

[...]
Here is the summary with links:
  - net: ti: icssg-prueth: fix missing data copy and wrong recycle in ZC RX dispatch
    https://git.kernel.org/netdev/net/c/5597dd284ff8

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help