[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<176709180705.3210717.17273237853991917461.git-patchwork-notify@kernel.org>
Date: Tue, 30 Dec 2025 10:50:07 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Ritvik Tanksalkar <ritviktanksalkar@...il.com>
Cc: kuba@...nel.org, pabeni@...hat.com, davem@...emloft.net,
edumazet@...gle.com, horms@...nel.org, netdev@...r.kernel.org,
linux-hams@...r.kernel.org, stanksal@...due.edu, falwasmi@...due.edu
Subject: Re: [PATCH net] net: rose: fix invalid array index in
rose_kill_by_device()
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@...hat.com>:
On Mon, 22 Dec 2025 21:22:27 +0000 you wrote:
> From: Pwnverse <stanksal@...due.edu>
>
> rose_kill_by_device() collects sockets into a local array[] and then
> iterates over them to disconnect sockets bound to a device being brought
> down.
>
> The loop mistakenly indexes array[cnt] instead of array[i]. For cnt <
> ARRAY_SIZE(array), this reads an uninitialized entry; for cnt ==
> ARRAY_SIZE(array), it is an out-of-bounds read. Either case can lead to
> an invalid socket pointer dereference and also leaks references taken
> via sock_hold().
>
> [...]
Here is the summary with links:
- [net] net: rose: fix invalid array index in rose_kill_by_device()
https://git.kernel.org/netdev/net/c/6595beb40fb0
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists