All of lore.kernel.org
 help / color / mirror / Atom feed
From: patchwork-bot+netdevbpf@kernel.org
To: Gal Pressman <gal@nvidia.com>
Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
	pabeni@redhat.com, andrew+netdev@lunn.ch, netdev@vger.kernel.org,
	andrew@lunn.ch, horms@kernel.org, dtatulea@nvidia.com,
	tariqt@nvidia.com
Subject: Re: [PATCH net] ethtool: Avoid overflowing userspace buffer on stats query
Date: Thu, 18 Dec 2025 11:50:06 +0000	[thread overview]
Message-ID: <176605860680.2917136.4856127251413117124.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20251208121901.3203692-1-gal@nvidia.com>

Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.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



      reply	other threads:[~2025-12-18 11:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-08 12:19 [PATCH net] ethtool: Avoid overflowing userspace buffer on stats query Gal Pressman
2025-12-18 11:50 ` patchwork-bot+netdevbpf [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=176605860680.2917136.4856127251413117124.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+netdevbpf@kernel.org \
    --cc=andrew+netdev@lunn.ch \
    --cc=andrew@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=dtatulea@nvidia.com \
    --cc=edumazet@google.com \
    --cc=gal@nvidia.com \
    --cc=horms@kernel.org \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=tariqt@nvidia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.