[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<176605860680.2917136.4856127251413117124.git-patchwork-notify@kernel.org>
Date: Thu, 18 Dec 2025 11:50:06 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Gal Pressman <gal@...dia.com>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, andrew+netdev@...n.ch, netdev@...r.kernel.org,
andrew@...n.ch, horms@...nel.org, dtatulea@...dia.com, tariqt@...dia.com
Subject: Re: [PATCH net] ethtool: Avoid overflowing userspace buffer on stats
query
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@...hat.com>:
On Mon, 8 Dec 2025 14:19:01 +0200 you wrote:
> The ethtool -S command operates across three ioctl calls:
> ETHTOOL_GSSET_INFO for the size, ETHTOOL_GSTRINGS for the names, and
> ETHTOOL_GSTATS for the values.
>
> If the number of stats changes between these calls (e.g., due to device
> reconfiguration), userspace's buffer allocation will be incorrect,
> potentially leading to buffer overflow.
>
> [...]
Here is the summary with links:
- [net] ethtool: Avoid overflowing userspace buffer on stats query
https://git.kernel.org/netdev/net/c/7b07be1ff1cb
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