Article View: linux.kernel.netdev
Article #856Re: [PATCH net] xen/netfront: don't leak the skb when xennet_fill_frags() fails
From: patchwork-bot+netdevbpf
Date: Thu, 08 Oct 2026 18:40
Date: Thu, 08 Oct 2026 18:40
24 lines
6556 bytes
6556 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Wed, 07 Oct 2026 17:57:32 +0000 you wrote:
> When a response chain has more slots than fit in the skb's frags,
> xennet_fill_frags() returns an error and xennet_poll() jumps to its
> error path. That path moves what's left on tmpq to errq to be freed,
> but the skb being filled was already dequeued from tmpq, so it's never
> freed. Each chain that overflows leaks the skb and the pages attached
> to it as frags, and the backend decides how many slots it sends.
>
> [...]
Here is the summary with links:
- [net] xen/netfront: don't leak the skb when xennet_fill_frags() fails
https://git.kernel.org/netdev/net/c/93ccaf1c26e2
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179148480652.386807.10828311641077520646.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-343209-linux-kernel-netdev=dewy.ruReferences:
<20261007-b4-xen-netfront-fill-frags-leak-v1-1-a8a01ff9cd52@toxicpanda.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-343209-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] xen/netfront: don't leak the skb when xennet_fill_frags() fails Date: Thu, 08 Oct 2026 18:40:06 +0000 Organization: Usenet Network Message-ID: <179148480652.386807.10828311641077520646.git-patchwork-notify@kernel.org> References: <20261007-b4-xen-netfront-fill-frags-leak-v1-1-a8a01ff9cd52@toxicpanda.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="943970"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:ypWAVyOu0pQU1+OeV/yW5Yc102I= sha256:tRaiCa6Te/HyRTZWm4R/DBEpX8VzEID78CvlAmeAkZ8= sha1:NBbqbZQuBiFUazLRGb9O++WY6Fc= sha256:fSdztxvWLkwXruhmgj7ab42dkB7+v0Oiw3gQROMVLV4= 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 70E34110029; Thu, 8 Oct 2026 21:40:30 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -1.341 X-Spam-Status: No, score=-1.341 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.241, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, 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 DaOCnLkLRn_4; Thu, 8 Oct 2026 21:40:27 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-343209-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 A808AD2680; Thu, 8 Oct 2026 21:40:23 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by tor.lore.kernel.org (Postfix) with ESMTP id E68B42A15D; Thu, 8 Oct 2026 18:40:20 +0000 (UTC) X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 055F5391513; Thu, 8 Oct 2026 18:40:12 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ZFnYGdAP" X-Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E6B2E3B27D5; Thu, 8 Oct 2026 18:40:08 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791484811; cv=none; b=EJjewfadhDD8wMlwj5fe95R0CMdpuY6MoH348bWN40vYXBmqdTWT8TXKXGDjF210bNjoyqLpGOSUJg13cIo8Pj9tqjyg3u1jZ/DTQvHaz72Vh1Ngmm6Jfmp5RFjzEMFRSRUsUsRnFyKXdtbiKsxQjwO4jy5HVrgEeWioA3O4G7E= X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791484811; c=relaxed/simple; bh=lILhYBtXwhrrEHftfa4CZK3Rce3JTA7gFVoMEw+Ffss=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=MTkB5ck6bnsNjWxreCXkgb21K69W33GSMaqjFVoRiDXL21gwgpVHxasya2L1PvqEswdK1tuJf1Xyu011uGBheC7ss/ARmVbSg1HrJLQ8IrGPQy7EBsuIlUP8WFtPkmL4XpwTwiFZUK9t5L/nQfQwfhUccIevU3Z2OX4d+Pg7afE= X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ZFnYGdAP; arc=none smtp.client-ip=100.103.45.18 X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0A23C1F00893; Thu, 8 Oct 2026 18:40:08 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1791484808; bh=XOy9VCsw6wr5foJLfeAQGfzThCHf/MXSMumL1DRZnYw=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=ZFnYGdAPg+aN8Gw6kFG2XdkqJEbC76kf//c4JAVpB/2G6RScHAir/8V9QeXXk58K0 RjT0DWozxc7Q1AEIULPkH9EbZ6PLRB/JQmLsbtPbZdU8x5gr6vmvljpQNGav+VYmcj 0UCsFLleKbCc9sSVpBxEctTVuc/Z3UOS7nfTPGAjgzXtbPoxBG8m87bH7M0KBimKq3 4IK+V6jWTtj9AJEEJc6oC+B0AMhz/fmj6CiehZP/dta3THNsLQiT85lRVD5JI2dLeB QRSUU2FF2org9dRKGS/TCqmMphP0Ok8eIw3MzOqJCSgyG9SBL7CRZUW76SVhIPNvUI WIc/JYfKvQlYQ== 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 F1CFB380CEC8; Thu, 8 Oct 2026 18:40:07 +0000 (UTC) X-Precedence: bulk X-Mailing-List: netdev@vger.kernel.org X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-In-Reply-To: <20261007-b4-xen-netfront-fill-frags-leak-v1-1-a8a01ff9cd52@toxicpanda.com> X-Cc: jgross@suse.com, sstabellini@kernel.org, oleksandr_tyshchenko@epam.com, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, xen-devel@lists.xenproject.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org