Re: [PATCH net v6 0/2] gve: fix RX page refcount overflow with the pagecnt bias
From: patchwork-bot+netdevbpf
Date: Mon Nov 16 2026 - 19:10:16 EST
Hello:
This series was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Thu, 12 Nov 2026 14:44:49 +0530 you wrote:
> gve's GQI and DQO-QPL RX paths bias every RX page's refcount to INT_MAX,
> so a single get_page() from the stack, e.g. splice() of received data,
> overflows it: splice/tee fail with EIO/EFAULT and GQI can reset the
> NIC. Patch 2 lowers the bias to USHRT_MAX, as other drivers do.
>
> With the smaller bias the driver gives up its last reference on a page
> once every USHRT_MAX handoffs instead of once every INT_MAX, which is
> only safe while every consumer holds its reference until the buffer is
> recycled. That is not the case for an XDP_REDIRECT from DQO-QPL to an
> AF_XDP socket in copy mode, a path the driver never meant to support:
> commit d8a8ca14c937 dropped the queue_format check that used to refuse
> it. Patch 1 refuses XDP on any queue format the driver advertises no
> XDP features for, today DQO-QPL and GQI-RDA, so patch 2 depends on it.
> On GQI-RDA it also stops XDP_TX from writing into a TX FIFO that raw
> addressing never allocates. Trees before 6.17 still have the old check,
> so there patch 2 stands alone.
>
> [...]
Here is the summary with links:
- [net,v6,1/2] gve: refuse XDP on queue formats without XDP support
https://git.kernel.org/netdev/net/c/92c569c28b63
- [net,v6,2/2] gve: fix RX page refcount overflow from INT_MAX pagecnt_bias
https://git.kernel.org/netdev/net/c/3946899dbeac
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html