🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #13492

Re: [PATCH] net: skbuff: preserve fclone lifetime when freeing stolen heads

#13492
From: patchwork-bot+netdevbpf
Date: Mon, 09 Nov 2026 23:30
28 lines
8861 bytes
Hello:

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

On Thu, 29 Oct 2026 21:23:29 -0700 you wrote:
> skb_morph() can give an skb from skbuff_fclone_cache a page-fragment
> head without changing its fclone tag. IPv4 reassembly can produce such
> an skb, which can subsequently reach the GRO stolen-head path.
> 
> napi_skb_free_stolen_head() puts the shell into the ordinary NAPI skb
> cache without dropping its fclone_ref. If the embedded companion is
> still live, KASAN poisons it along with the original, and later cache
> reuse or eviction can overwrite or free the allocation underneath it.
> A mirrored batman-adv DAT packet retained in a plug qdisc reproduces a
> KASAN use-after-free in plug_dequeue().
> 
> [...]

Here is the summary with links:
  - net: skbuff: preserve fclone lifetime when freeing stolen heads
    https://git.kernel.org/netdev/net/c/86706ffa990e

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

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-359677-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH] net: skbuff: preserve fclone lifetime when freeing stolen
 heads
Date: Mon, 09 Nov 2026 23:30:20 +0000
Organization: Usenet Network
Message-ID: <179426702076.3543549.4583782076046363502.git-patchwork-notify@kernel.org>
References: <20261030042329.74461-1-kylebot@openai.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="474603"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:wrtQ4q+KuIJSiPlC3Q6xCzzowC4= sha256:ummktaczK0gVdr/G6/LxZk7qrajTNH2FdVpcIsASs4Q=
	sha1:GvexhNz6v0w0sxE6qfGL0xUBjGU= sha256:AraqIYZcDxFbv2sI7cPqkAheIUEoKW+zA8+eq4nlrmE=
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 6193A113987; Tue, 10 Nov 2026 02:34:22 +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 JHQqxqgaOgUi;
	Tue, 10 Nov 2026 02:34:15 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-359677-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 7D897113975; Tue, 10 Nov 2026 02:34:06 +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 5F60D85D12; Mon,  9 Nov 2026 23:30:32 +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=1794267028;
	b=Y8QCA7fpsujRt7wAlNA6EnMk75uennZOIYTje0vjvFSefG/C1LIdtHJxZRe6uKjf6Ptj
	 o6ORkYIXSStoWpTbTZszHuyDQUdF+4kCXUkqXxYhQtrlvIRmgF7lXWI+EpR86KeEnzKno
	 8WLSLkN7UZaae01jS6k2wP+E5E+sXgpbNWnO/ThSj7ihO+CAgVfZY49GKNFjQ2r/NyWYU
	 /7KbHai7rBTScWs6SfTvOQ/cc92qg9fcBOnu7tMgPbwKXChNqN1LLGrSjH6RLDjlfGIcr
	 Mv3NGzQMub7bidVbulaJpN4c3tPWLtkxZ9BEir9LpDqsWTA+41EL8e6um2RqmNIborA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794267028;
	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=d7flpOWW+EdDVpjqNDQCEwbgE1WjvjabhxU7S+bNa1k=;
	b=A9aovMgIpq8w5owE9OP5006+fvmwGtUOZNk04GeIKXjlHrQqCiTqRSrsXJy8KFvpt7Y0
	 UDH1ElRUsQT1JiiwenRSn6f2qqlT7cJPFfrNRD4uiSC+7qhryx2EfagEVsV1XItAuUjwE
	 V7w8cB6BaojOPHUMIApOuRBaynCMm21teYNO7O9BCqii2riCiMEma/o6820U+rxPedz/6
	 oCzGSTShU3q1cSGwrq3BT1wO4KhpkgV/kimYwvFg4jrSuFpi6FHDUzU6GRvXMVAV/sbes
	 IROOEK42ZPVOPPfQpRBrw6mGoDkcrfwNqXXYbQEH+hJh+kiaz50uz3I3ApHx7B/j8Mg==
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=nH0eA1sB;
	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 4E3B2606A33B;
	Mon,  9 Nov 2026 23:30:28 +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=nH0eA1sB
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=1794267022;
	b=e5CBkLhcpRs+t9boWK3ZstlsCSt/tfXki9wZBcnHGMNohaLdyzvrsSJdSbt5oF8oJUjM
	 /FR9Kw+FdJD4RA0qpwns6qZ3TxNyZGu6tFEO++nJiy5m2jaBeQOCBYl9b4LdNwoNMe63R
	 S/IzUxyZmx5eYv2p9a+OvRUYNgOBr0yVnRpG/7RIrgqr+g+w4c9l9FvoVzGECnGpMNg0L
	 NnYGWmGSaGnxZUA3q30iK+VraryZVZlivCICIkQw8F+5jr/gqAliaPtJGHDNyNtYS4qlf
	 mBxuPuNEFyA+Dk/YQtuDwjMXROfIE65jlaMg3DsWSBV2GEbeMbXtfmGwlPR5pGok85Q==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794267022;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=d7flpOWW+EdDVpjqNDQCEwbgE1WjvjabhxU7S+bNa1k=;
	b=Wt1U+1dWSBgKCciUbLsjD3/pyJ+ZX8xi/XnP6JSrSSIg5JVyW9NNBKDySBDMlAfjj4d3
	 ifmFzOxeCHNfnfi6NxLdE2gfOteedVI/SPe5q1RMO30u2c4epLvUYbbXNBysr9sO9bUDS
	 DOwQ1gjcmiLqaa5eIPZ3E2nYj144Roj/fg9UelMQyu1X2rXxd/IeJCvaVnI0yXRlcUS+o
	 wHo+zluQfyDcCP159o3WfQQFajp63YZMWTMAZqHYYQl2bxzwXj564ET1QOS+1ExWkKNmI
	 IJvP4/lQNCPXn3tCQGHOejU5ydvRR6SMKcja4dglX2xrCBmK2Glsx0hSax5yvVSUfoA==
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=nH0eA1sB;
	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 22FA7606A321;
	Mon,  9 Nov 2026 23:30:22 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id E2F5E1F0089F;
	Mon,  9 Nov 2026 23:30:21 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1794267021;
	bh=d7flpOWW+EdDVpjqNDQCEwbgE1WjvjabhxU7S+bNa1k=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=nH0eA1sBP1mmuUL/NiZB2U6tR8AqFqC1VUc4yEC0XgDbq+/OlqmO83hY2wwD4f0kE
	 SRVvBzFKjCpFaRrfAMyDAl1qwqChLR6ZfKotz77LNMbr8RgltPhUbok1hkuA6KVthr
	 Fdw9U27S3VN6VUSZ8RfvNcj1iAkaqXGyQLb1v2WRAWxTGI2WIrQb3u/FxU2wNO16D5
	 AlnyIipXX4i41jFRVFN0IgAXPp/GpfXuY0MifwXnneutL/ZqOQ42sRNocaZKjpzIdy
	 bQebz+JbMBAQDNF1/ydGDVCK68K7p9nj4S0hlIkRbMd5t7QlBfhcUvdT60BIM4Oe4s
	 N+ZL2Do0Qnvfg==
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 D8354391AFA5;
	Mon,  9 Nov 2026 23:30:21 +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: <20261030042329.74461-1-kylebot@openai.com>
X-Cc: netdev@vger.kernel.org, davem@davemloft.net, edumazet@kernel.org,
 kuba@kernel.org, pabeni@redhat.com, linux-kernel@vger.kernel.org,
 outbounddisclosures@openai.com