Thread (2 messages) 2 messages, 2 authors, 2024-02-20

Re: [PATCH v1 net] arp: Prevent overflow in arp_req_get().

From: patchwork-bot+netdevbpf@kernel.org
Date: 2024-02-20 10:00:26

Hello:

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

On Thu, 15 Feb 2024 15:05:16 -0800 you wrote:
syzkaller reported an overflown write in arp_req_get(). [0]

When ioctl(SIOCGARP) is issued, arp_req_get() looks up an neighbour
entry and copies neigh->ha to struct arpreq.arp_ha.sa_data.

The arp_ha here is struct sockaddr, not struct sockaddr_storage, so
the sa_data buffer is just 14 bytes.

[...]
Here is the summary with links:
  - [v1,net] arp: Prevent overflow in arp_req_get().
    https://git.kernel.org/netdev/net/c/a7d6027790ac

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