Re: [PATCH net] appletalk: aarp: zero-initialize aarp_entry to prevent heap info leak

From: patchwork-bot+netdevbpf

Date: Wed Jun 03 2026 - 21:14:49 EST


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Fri, 29 May 2026 18:50:16 +0800 you wrote:
> aarp_alloc() allocates struct aarp_entry without zeroing it, but only
> initializes refcnt and packet_queue. When an unresolved AARP entry is
> created, hwaddr[ETH_ALEN] is left uninitialized.
>
> aarp_seq_show() later prints this field with %pM when users read
> /proc/net/atalk/arp. This can expose 6 bytes of stale heap data for
> each unresolved entry.
>
> [...]

Here is the summary with links:
- [net] appletalk: aarp: zero-initialize aarp_entry to prevent heap info leak
https://git.kernel.org/netdev/net/c/2cdeaba5a108

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