Article View: linux.kernel.netdev
Article #17525Re: [PATCH net v6 0/2] gve: fix RX page refcount overflow with the pagecnt bias
From: patchwork-bot+netdevbpf
Date: Tue, 17 Nov 2026 00:10
Date: Tue, 17 Nov 2026 00:10
36 lines
9961 bytes
9961 bytes
Hello:
This series was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
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
Technical Details
Message-ID:
<179487420603.254275.3233065832052946037.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-364840-linux-kernel-netdev=dewy.ruReferences:
<20261112091451.22969-1-amaan.cheval@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-364840-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net v6 0/2] gve: fix RX page refcount overflow with the pagecnt bias Date: Tue, 17 Nov 2026 00:10:06 +0000 Organization: Usenet Network Message-ID: <179487420603.254275.3233065832052946037.git-patchwork-notify@kernel.org> References: <20261112091451.22969-1-amaan.cheval@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="2200542"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:LV7EdRVy9E4UF44ubz3MFUXsaOs= sha256:17dld5l4YItYz9TYF9M035PRfTmaN2R/rOcHTThhc8c= sha1:kFBs5jd/yMYkgnrIak8oZcOsN/s= sha256:7/cXhP9cMtOcrvsa5DkcX7aoKcAJMV3Sx6SWDXdC2YA= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id BF267114DCF; Tue, 17 Nov 2026 03:10:25 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1k0drw96DHWN; Tue, 17 Nov 2026 03:10:21 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-364840-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id 4ABDF114977; Tue, 17 Nov 2026 03:10:11 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by tor.lore.kernel.org (Postfix) with ESMTP id C20A027CB1; Tue, 17 Nov 2026 00:10:09 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1794874208; b=rp9Hr1dOwf7lx1BIdVlTZmYRUTSb8PbcbYcIWErimUPWZaP56NK5nNkXCMtfYKPVEOs5 IULKFCfmp3Ea2g8SbDZXLAz4UYkGQ/rZwXZW7qJthxLw2zM4V3GkMEhgkwicJnXFDtJtn +nKCBoHs7+GZ+knyFhrYNnYEJlVuuI+BgJotIlPWRu1WmqXU2JWLk1CGVyd9jXsrJeVIF 4ZOMIxbWQpqRrL6H+4EK2mvfkUx8VmUEjZUavmaVPSJkFIKt7G3xG020DU4PjbhBB3CJA qjGyoXyvPfXZtdr9Aq98CWasA2GWLLuoPMt2sjOoEtblFbTv5wdlmB+BDnGFtTq8brA== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794874208; h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=JAbzMK+eO7ufYjj/PpkxvxIL4v+GclD+c/34sZfG5bU=; b=g80T/5kK4qe1NENLvwcv2C+HcmNoUY98ZJPQXmoFBpY+dhYITP/rpxBmCQrPP0ANs8fL a5b7rSYayjbF5B0ekh3hi5MgppxCHoiAmpt8Smuv6FHHZuC4jOExlsvz/qUQGIrDKIQoI +gWqzpFtnTUOOBa5cHcgzp4R6lB74MfmY8XEpf5PbZELgOJak/cpnqAv+kPuU98k4PaGM Blo7OX8Tb1I9BoEbR/6J9AhNa18lvNwqNR/XNUehgy/Q/MYoFGxg1GNtOg6pyDmWwAwfx rCVVFp6keSq52CkUELh0ddxKmXduQV6Ry8cELD2jX2LRpgbWFYYgfng5jIXvJ5SxbXg== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Og5zuoAm; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 532FB606A33A; Tue, 17 Nov 2026 00:10:08 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Og5zuoAm X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794874207; b=2FCRjdPyn2zd3yPPan+oUvRQzh4xG3KkmiWifWQJTdKHeH7ITve55VuFJfZ9EXxsJpzD X0YlPB+wau8XiM1T3eUxEP98WE3wrwJkQKS7l0QpPJvl2SN9tiG8gc3j54tnj3jC3Ae/f dMk878/G2v4Go3nqnuBBwIYiw9beMpy8jSWgMvHIDO2rmDCWcaE49iF7OdRIOsAca6aF5 v6Mm1qI3JHFvzUhqBUCmwZQM4wJlYsmMmHfTVqcAzap1biqtKf6zwsv1iwW1NFiM4my22 eyotejY+dbh/jD2gw5Lvqcw0Wj4lOv34UZmgpXRoVYhBFCoTn91gUnbcqn2UPnk7H9A== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794874207; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=JAbzMK+eO7ufYjj/PpkxvxIL4v+GclD+c/34sZfG5bU=; b=GecIynjX5fcW3U5t1EVmz8liFMrd8rEHA6QiYZ9Dw7UO2+BSx/c8h4eXFT75lf8QE9dw pl4m1+OFs3/Fth0AMZbrXC9ESb/Ava4hs8GGZXInENRCckwAMBYJl4C3oUC0keEk26/c9 2GDGqsYy6+PA2iInQTIHbxl64Nhz6SDT6fvBo+XvY0r6ly6WTC9mI0tVNnX0btRZ24ZXZ KcHmFi8KOy2stvFQ6ddE9+JWMxqSFtk2HZ2FH2Z93ZbW+ot330GyWLDfUNC6HRoQd5UiP g/WdZlTKlOZmunN/sGtytMu/6m55ygzd6bDliFCF54Ountik5qTHIb9x4mMj9eoqKrQ== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Og5zuoAm; arc=none smtp.remote-ip=100.103.45.18 X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 72C0E606A32A; Tue, 17 Nov 2026 00:10:07 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 464421F000C4; Tue, 17 Nov 2026 00:10:07 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794874207; bh=JAbzMK+eO7ufYjj/PpkxvxIL4v+GclD+c/34sZfG5bU=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=Og5zuoAmgHtz5zcMfOBvqi+CWnqpRcie/3PbZNm5uYKD/106AwU6psi2tYrF0dJef ln8r9Y3hkOpvhWKo4Rjlv0wsLCiwEm1ITcoLUyBpZ16fGzZG2mJ0ODR7KHjgQb6GbE +U1PxInPpv9TMqMMw59fDj/KfgInvCi1VpL4xESQVAHUPMqp+f1oz/JaA48oRwCB3G 6g7uwDA2Yzl2UlK2xGOEAN3hodqVhc2pgMdG61i9AJzZN1gUO25wMtUb3YT1d4sTXa vf/LfD9Jbqmd+/gOomvfbSaoIR6cx4075HdEhB8hKxOw4jFtcxPGtqf/ivrAMOLCyu dFRSAaYZf9pww== X-Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 3A469391B06A; Tue, 17 Nov 2026 00:10:07 +0000 (UTC) X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-In-Reply-To: <20261112091451.22969-1-amaan.cheval@gmail.com> X-Cc: netdev@vger.kernel.org, joshwash@google.com, hramamurthy@google.com, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, bcf@google.com, jordanrhee@google.com, przemyslaw.kitszel@intel.com, maciej.fijalkowski@intel.com, pkaligineedi@google.com, maolson@google.com, csully@google.com, willemb@google.com, yangchun@google.com, npl@google.com, awogbemila@google.com, shailend@google.com, nktgrg@google.com, maxyuan@google.com, bpf@vger.kernel.org, john.fastabend@gmail.com, hawk@kernel.org, sdf@fomichev.me, daniel@iogearbox.net, ast@kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org