🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #6249

Re: [PATCH net] virtio-net: fix frag overflow in big packets receive

#6249
From: patchwork-bot+netdevbpf
Date: Thu, 22 Oct 2026 00:30
26 lines
8821 bytes
Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Mon, 19 Oct 2026 23:15:50 -0400 you wrote:
> From: Willem de Bruijn <willemb@google.com>
> 
> In big packets mode with guest GSO, add_recvbuf_big() posts a chain of
> MAX_SKB_FRAGS + 1 pages. page_to_skb() copies only ETH_HLEN of the
> first page into the linear area and adds the rest of that page as a
> frag, then one frag per remaining page. A device that fills the entire
> buffer therefore causes MAX_SKB_FRAGS + 1 frags, writing one
> skb_frag_t past the end of skb_shinfo(skb)->frags[].
> 
> [...]

Here is the summary with links:
  - [net] virtio-net: fix frag overflow in big packets receive
    https://git.kernel.org/netdev/net/c/b0e4ea3a0cd4

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179262901854.1378903.15801370235793249806.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-350324-linux-kernel-netdev=dewy.ru
References: <20261020032108.81879-1-willemdebruijn.kernel@gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-350324-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] virtio-net: fix frag overflow in big packets receive
Date: Thu, 22 Oct 2026 00:30:18 +0000
Organization: Usenet Network
Message-ID: <179262901854.1378903.15801370235793249806.git-patchwork-notify@kernel.org>
References: <20261020032108.81879-1-willemdebruijn.kernel@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="96210"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:tPquSTmEUxvs7Fg9TIw9ZtSQihg= sha256:C6kVEjcEr2u9LyXARbw5Zou1jA6zbwJdVmkPVwdS7WU=
	sha1:XABpj0+puCAEWjSiQGMehm2eWxw= sha256:fs93JbTq+ApoEbs6hDKCV3qjUGITzu+bzFR1Y+Dgwrw=
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 93DB411116B; Thu, 22 Oct 2026 03:34:31 +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 8wT7c0YLgqzl;
	Thu, 22 Oct 2026 03:34:28 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-350324-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 5DBAA111166; Thu, 22 Oct 2026 03:34:20 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 6454640495; Thu, 22 Oct 2026 00:30:23 +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=1792629021;
	b=gJt6Xifi68HEI6nwVy5xvTqjlW3+q96yReGdMaiA8gMyvmvK7vdmQGSFesxirBovsy6g
	 e+U3jHjAOlYjvbfz+UCj1lk1I2iQnt4StPxmTqB0Mvd/V/a2lBnovPbg7mzcQ04K7nfFG
	 8Y7XxU+dsBeVChk1xy6b2uRRYqzaoPiUBfkCQvFjL5sbgKZwBN1pmuniGmXDn9cQpFdTv
	 c1Vri6WZRZ18F7b3TKdmk0fHcC0eMfKJBf0MBOGePaXJ0GLlNuubw02KmjFtgGdbw1axk
	 zZJp0tW142LxiRTVAjytunRLa26VJjIEWBFm4p8nwroJMz2Bj4uRPpQ2ibg3X3SBBfw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792629021;
	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=8pNHSkapv5Hh6MFB+4Zfh9P0PKU9Hwu71Ww3kljWSoU=;
	b=InYnpyKdrD9tMp2okSbQ571aFIuHbqv3raCRBGTqhERY1IFkG4nv0wl3JeCvkfp6CxIv
	 cpBUei94HLdqKGV698PdnxOpgtRV/ecLGzo/lVLbPjgX90khHQvWOr/DGNH6e6fit4l6c
	 xdDmEClE1L0jFaT1PY1skH3d4v6xd8WFCvhqcyxlkzQlLQttToiDUfJ0nTkoSSZdTFMgT
	 NFyjvr05wexucPiAYQz20MJfsDf7/zknU6AYhq+rx/kEnREKK90GH1ktO27AcEcntFQEJ
	 dejRgROBSD1I5H3suUQraq8sQ1K4ng6mmqsFUHdk8XStlNBH3C5U/xTxq590TwdGSGg==
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=jWRsxr+z;
	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 7CCBF606A335;
	Thu, 22 Oct 2026 00:30:21 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=jWRsxr+z
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=1792629020;
	b=QrYnQPXp8IMX9U6QSQLFl1xyAJpE0Nt3l5YEdERkh6GDSSvE4IVkGeT02LVrSWYAHTKP
	 +gG/laHg6GP6A+XwA6xtMp4GDpGq05JBQsIT8mthGkac5oEQlxj+r2u96RqggucfZxCCM
	 sZKvKovCrlgfl610Y4Pia7PqDpYCwAVVcxF+AH8KOXrZU/bokXN6QgAL4r4VCHTeFz/yd
	 5lriHUWNejmVxKrsVsbZ6Ese8lhurVapdR2Tmr5TgHGtqR+D2BzlMp6OiuokV494rEZfI
	 AyAzi5DYMnSIrst0962W1zW3xvogcbgbTlwaNKeAokTB5Yms+AJ97Dj57oOOsVQzj+Q==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792629020;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=8pNHSkapv5Hh6MFB+4Zfh9P0PKU9Hwu71Ww3kljWSoU=;
	b=FO5moAbEh8mmolUha1pueaR32HSwrR9jLY4KZM41iOVPpDoKlkag0zXuiR6G34jk/bkn
	 JCXTPNPmbHquguqi0USZ8/fyD8Azw6BO0j7CVTGcy8ujC/jLKwy1yrfHVFbeIC/OZSqj2
	 41pbahL8siJKVUcOrNt/R+94WH+Pc3GvfYkkhr0aXFG36VZwns3bFZgI8DqZMJZA8jNv+
	 wWyEzp63gjdY+5B4GcR6zWNBBb8gXM4GTGlYHO7qODAJdleA97QRrHqLaLz+17HdMR3sa
	 v3TFmYgJA+CCIc3PG1SEyNkkCi57yId6v0oA0QxLULU+JlrpWsgelCg8tntA9lOVtyA==
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=jWRsxr+z;
	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 60B5D606A339
	for <netdev@vger.kernel.org>; Thu, 22 Oct 2026 00:30:20 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 092A21F000CA;
	Thu, 22 Oct 2026 00:30:20 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1792629020;
	bh=8pNHSkapv5Hh6MFB+4Zfh9P0PKU9Hwu71Ww3kljWSoU=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=jWRsxr+zLKzt7XBLSobKNzmkFtzJ5fORq2o/RidN5BH8Z6pPwjucJiPHMdiZQUNsQ
	 rAbL0YAuKamGhYZgpJwm5s+zMv93m4SVIjIgYlEfACyVo8XHSxLyss035VEhSFmEAs
	 uKgyZ3AZYHMGqp+xki/rxp8VSAzGT+0vHOKjiHPIioqIvbPETU6YJC4i6DuPZ9qb3/
	 7neD8dGZ/FNuPeKkriE1TuIATv46QS90IF6NUSzqpuNCZwg6ddyTOBTSf0LtH5kAaq
	 ///9UGOPjti2Bh4RZZJnNCbxz8NJV5Dx1yxAKhImlzkQFYK0pHRgM2XjqTR2z+w5ld
	 /tCQ9dq+5E5FQ==
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 F13EA380A963;
	Thu, 22 Oct 2026 00:30:19 +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: <20261020032108.81879-1-willemdebruijn.kernel@gmail.com>
X-Cc: netdev@vger.kernel.org, davem@davemloft.net, kuba@kernel.org,
 edumazet@google.com, pabeni@redhat.com, horms@kernel.org,
 andrew+netdev@lunn.ch, mst@redhat.com, jasowangio@gmail.com,
 eperezma@redhat.com, willemb@google.com