Re: [PATCH net v3 0/4] virtio_net: fix out-of-bounds accesses and a heap info leak via the device stats reply

From: patchwork-bot+netdevbpf

Date: Thu Nov 19 2026 - 20:50:14 EST


Hello:

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

On Mon, 16 Nov 2026 18:24:41 +0900 you wrote:
> With the statistics reply, a device can make the driver write past the
> ethtool -S output array (patch 1), leak stale heap or loop forever
> (patch 2), and read past the reply buffer (patch 3). Patch 4 returns an
> error when the statistics command fails.
>
> Claude Opus 5.5 was used to audit the driver and draft the patches.
>
> [...]

Here is the summary with links:
- [net,v3,1/4] virtio_net: reject stats replies for queues outside the request
https://git.kernel.org/netdev/net-next/c/8c99fb84b512
- [net,v3,2/4] virtio_net: zero the stats reply buffer
https://git.kernel.org/netdev/net-next/c/48147635243a
- [net,v3,3/4] virtio_net: keep reads of stats records within the reply buffer
https://git.kernel.org/netdev/net-next/c/96b229723bb5
- [net,v3,4/4] virtio_net: report a failed stats command as an error
https://git.kernel.org/netdev/net-next/c/942d862f65b9

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